MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.MeshEqualizeTriAreasParams Class Reference
Inheritance diagram for meshlib.MeshEqualizeTriAreasParams:

Public Member Functions

 MeshEqualizeTriAreasParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 MeshEqualizeTriAreasParams ()
 MeshEqualizeTriAreasParams (meshlib.MeshEqualizeTriAreasParams _other)
meshlib.MeshEqualizeTriAreasParams assignFromAnother (meshlib.MeshEqualizeTriAreasParams _other)
boolean noShrinkage ()
void setNoShrinkage (boolean value)
boolean hardSmoothTetrahedrons ()
void setHardSmoothTetrahedrons (boolean value)
java.lang.foreign.MemorySegment weights ()
void setWeights (meshlib.VertScalars value)
int iterations ()
void setIterations (int value)
java.lang.foreign.MemorySegment region ()
void setRegion (meshlib.VertBitSet value)
float force ()
void setForce (float value)
boolean updateCaches ()
void setUpdateCaches (boolean value)
boolean limitNearInitial ()
void setLimitNearInitial (boolean value)
float maxInitialDist ()
void setMaxInitialDist (float value)
meshlib.RelaxParams upcastToRelaxParams ()
meshlib.MeshRelaxParams upcastToMeshRelaxParams ()
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Static Public Member Functions

static meshlib.MeshEqualizeTriAreasParams staticDowncastFromRelaxParams (meshlib.RelaxParams object)
static meshlib.MeshEqualizeTriAreasParams staticDowncastFromMeshRelaxParams (meshlib.MeshRelaxParams object)

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

Generated from class MR::MeshEqualizeTriAreasParams. Base classes: Direct: (non-virtual) MR::MeshRelaxParams Indirect: (non-virtual) MR::RelaxParams

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ MeshEqualizeTriAreasParams() [1/3]

meshlib.MeshEqualizeTriAreasParams.MeshEqualizeTriAreasParams ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ MeshEqualizeTriAreasParams() [2/3]

meshlib.MeshEqualizeTriAreasParams.MeshEqualizeTriAreasParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_MeshEqualizeTriAreasParams_DefaultConstruct().

◆ MeshEqualizeTriAreasParams() [3/3]

meshlib.MeshEqualizeTriAreasParams.MeshEqualizeTriAreasParams ( meshlib.MeshEqualizeTriAreasParams _other)

Generated from constructor MR::MeshEqualizeTriAreasParams::MeshEqualizeTriAreasParams. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_MeshEqualizeTriAreasParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.MeshEqualizeTriAreasParams meshlib.MeshEqualizeTriAreasParams.assignFromAnother ( meshlib.MeshEqualizeTriAreasParams _other)

Generated from method MR::MeshEqualizeTriAreasParams::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_MeshEqualizeTriAreasParams_AssignFromAnother().

◆ force()

float meshlib.MeshEqualizeTriAreasParams.force ( )

speed of relaxing, typical values (0.0, 0.5] Returns a pointer to a member variable of class MR::MeshEqualizeTriAreasParams named force. The reference to this object might be preserved as the return value.

Calls MR_MeshEqualizeTriAreasParams_Get_force().

◆ hardSmoothTetrahedrons()

boolean meshlib.MeshEqualizeTriAreasParams.hardSmoothTetrahedrons ( )

move all region vertices with exactly three neighbor vertices in the center of the neighbors Returns a pointer to a member variable of class MR::MeshEqualizeTriAreasParams named hardSmoothTetrahedrons. The reference to this object might be preserved as the return value.

Calls MR_MeshEqualizeTriAreasParams_Get_hardSmoothTetrahedrons().

◆ iterations()

int meshlib.MeshEqualizeTriAreasParams.iterations ( )

number of iterations Returns a pointer to a member variable of class MR::MeshEqualizeTriAreasParams named iterations. The reference to this object might be preserved as the return value.

Calls MR_MeshEqualizeTriAreasParams_Get_iterations().

◆ limitNearInitial()

boolean meshlib.MeshEqualizeTriAreasParams.limitNearInitial ( )

if true then maximal displacement of each point during denoising will be limited Returns a pointer to a member variable of class MR::MeshEqualizeTriAreasParams named limitNearInitial. The reference to this object might be preserved as the return value.

Calls MR_MeshEqualizeTriAreasParams_Get_limitNearInitial().

◆ maxInitialDist()

float meshlib.MeshEqualizeTriAreasParams.maxInitialDist ( )

maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false Returns a pointer to a member variable of class MR::MeshEqualizeTriAreasParams named maxInitialDist. The reference to this object might be preserved as the return value.

Calls MR_MeshEqualizeTriAreasParams_Get_maxInitialDist().

◆ noShrinkage()

boolean meshlib.MeshEqualizeTriAreasParams.noShrinkage ( )

if true prevents the surface from shrinkage after many iterations; technically it is done by solving the same task in the plane orthogonal to normal direction Returns a pointer to a member variable of class MR::MeshEqualizeTriAreasParams named noShrinkage. The reference to this object might be preserved as the return value.

Calls MR_MeshEqualizeTriAreasParams_Get_noShrinkage().

◆ region()

java.lang.foreign.MemorySegment meshlib.MeshEqualizeTriAreasParams.region ( )

region to relax Returns a pointer to a member variable of class MR::MeshEqualizeTriAreasParams named region. The reference to this object might be preserved as the return value.

Calls MR_MeshEqualizeTriAreasParams_Get_region(). Some types are raw C types, see the C bindings for the details.

◆ setForce()

void meshlib.MeshEqualizeTriAreasParams.setForce ( float value)

speed of relaxing, typical values (0.0, 0.5] Modifies a member variable of class MR::MeshEqualizeTriAreasParams named force.

Calls MR_MeshEqualizeTriAreasParams_Set_force().

◆ setHardSmoothTetrahedrons()

void meshlib.MeshEqualizeTriAreasParams.setHardSmoothTetrahedrons ( boolean value)

move all region vertices with exactly three neighbor vertices in the center of the neighbors Modifies a member variable of class MR::MeshEqualizeTriAreasParams named hardSmoothTetrahedrons.

Calls MR_MeshEqualizeTriAreasParams_Set_hardSmoothTetrahedrons().

◆ setIterations()

void meshlib.MeshEqualizeTriAreasParams.setIterations ( int value)

number of iterations Modifies a member variable of class MR::MeshEqualizeTriAreasParams named iterations.

Calls MR_MeshEqualizeTriAreasParams_Set_iterations().

◆ setLimitNearInitial()

void meshlib.MeshEqualizeTriAreasParams.setLimitNearInitial ( boolean value)

if true then maximal displacement of each point during denoising will be limited Modifies a member variable of class MR::MeshEqualizeTriAreasParams named limitNearInitial.

Calls MR_MeshEqualizeTriAreasParams_Set_limitNearInitial().

◆ setMaxInitialDist()

void meshlib.MeshEqualizeTriAreasParams.setMaxInitialDist ( float value)

maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false Modifies a member variable of class MR::MeshEqualizeTriAreasParams named maxInitialDist.

Calls MR_MeshEqualizeTriAreasParams_Set_maxInitialDist().

◆ setNoShrinkage()

void meshlib.MeshEqualizeTriAreasParams.setNoShrinkage ( boolean value)

if true prevents the surface from shrinkage after many iterations; technically it is done by solving the same task in the plane orthogonal to normal direction Modifies a member variable of class MR::MeshEqualizeTriAreasParams named noShrinkage.

Calls MR_MeshEqualizeTriAreasParams_Set_noShrinkage().

◆ setRegion()

void meshlib.MeshEqualizeTriAreasParams.setRegion ( meshlib.VertBitSet value)

region to relax Modifies a member variable of class MR::MeshEqualizeTriAreasParams named region. The reference to the parameter value might be preserved in this object in element region.

Calls MR_MeshEqualizeTriAreasParams_Set_region().

◆ setUpdateCaches()

void meshlib.MeshEqualizeTriAreasParams.setUpdateCaches ( boolean value)

in functions taking Mesh or PointCloud: if false then all mesh caches (AABB trees) are invalidated after relaxation, if true then they are updated only in the region (faster, but the trees might become less efficient) Modifies a member variable of class MR::MeshEqualizeTriAreasParams named updateCaches.

Calls MR_MeshEqualizeTriAreasParams_Set_updateCaches().

◆ setWeights()

void meshlib.MeshEqualizeTriAreasParams.setWeights ( meshlib.VertScalars value)

weight for each vertex. By default, all the vertices have equal weights. Modifies a member variable of class MR::MeshEqualizeTriAreasParams named weights. The reference to the parameter value might be preserved in this object in element weights.

Calls MR_MeshEqualizeTriAreasParams_Set_weights().

◆ staticDowncastFromMeshRelaxParams()

meshlib.MeshEqualizeTriAreasParams meshlib.MeshEqualizeTriAreasParams.staticDowncastFromMeshRelaxParams ( meshlib.MeshRelaxParams object)
static

Static downcast from the base class MR::MeshRelaxParams. Undefined behavior if the object isn't actually a MeshEqualizeTriAreasParams. The result refers to object.

Calls MR_MeshEqualizeTriAreasParams_MutableStaticDowncastFrom_MR_MeshRelaxParams().

◆ staticDowncastFromRelaxParams()

meshlib.MeshEqualizeTriAreasParams meshlib.MeshEqualizeTriAreasParams.staticDowncastFromRelaxParams ( meshlib.RelaxParams object)
static

Static downcast from the base class MR::RelaxParams. Undefined behavior if the object isn't actually a MeshEqualizeTriAreasParams. The result refers to object.

Calls MR_MeshEqualizeTriAreasParams_MutableStaticDowncastFrom_MR_RelaxParams().

◆ upcastToMeshRelaxParams()

meshlib.MeshRelaxParams meshlib.MeshEqualizeTriAreasParams.upcastToMeshRelaxParams ( )

Upcasts to the base class MR::MeshRelaxParams. The result refers to this object.

Calls MR_MeshEqualizeTriAreasParams_MutableUpcastTo_MR_MeshRelaxParams().

◆ upcastToRelaxParams()

meshlib.RelaxParams meshlib.MeshEqualizeTriAreasParams.upcastToRelaxParams ( )

Upcasts to the base class MR::RelaxParams. The result refers to this object.

Calls MR_MeshEqualizeTriAreasParams_MutableUpcastTo_MR_RelaxParams().

◆ updateCaches()

boolean meshlib.MeshEqualizeTriAreasParams.updateCaches ( )

in functions taking Mesh or PointCloud: if false then all mesh caches (AABB trees) are invalidated after relaxation, if true then they are updated only in the region (faster, but the trees might become less efficient) Returns a pointer to a member variable of class MR::MeshEqualizeTriAreasParams named updateCaches. The reference to this object might be preserved as the return value.

Calls MR_MeshEqualizeTriAreasParams_Get_updateCaches().

◆ weights()

java.lang.foreign.MemorySegment meshlib.MeshEqualizeTriAreasParams.weights ( )

weight for each vertex. By default, all the vertices have equal weights. Returns a pointer to a member variable of class MR::MeshEqualizeTriAreasParams named weights. The reference to this object might be preserved as the return value.

Calls MR_MeshEqualizeTriAreasParams_Get_weights(). Some types are raw C types, see the C bindings for the details.


The documentation for this class was generated from the following file: