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

Public Member Functions

 MeshApproxRelaxParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 MeshApproxRelaxParams ()
 MeshApproxRelaxParams (meshlib.MeshApproxRelaxParams _other)
meshlib.MeshApproxRelaxParams assignFromAnother (meshlib.MeshApproxRelaxParams _other)
float surfaceDilateRadius ()
void setSurfaceDilateRadius (float value)
meshlib.RelaxApproxType type ()
void setType (meshlib.RelaxApproxType 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.MeshApproxRelaxParams staticDowncastFromRelaxParams (meshlib.RelaxParams object)
static meshlib.MeshApproxRelaxParams 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::MeshApproxRelaxParams. Base classes: Direct: (non-virtual) MR::MeshRelaxParams Indirect: (non-virtual) MR::RelaxParams

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

Constructor & Destructor Documentation

◆ MeshApproxRelaxParams() [1/3]

meshlib.MeshApproxRelaxParams.MeshApproxRelaxParams ( 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.

◆ MeshApproxRelaxParams() [2/3]

meshlib.MeshApproxRelaxParams.MeshApproxRelaxParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_MeshApproxRelaxParams_DefaultConstruct().

◆ MeshApproxRelaxParams() [3/3]

meshlib.MeshApproxRelaxParams.MeshApproxRelaxParams ( meshlib.MeshApproxRelaxParams _other)

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

Calls MR_MeshApproxRelaxParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.MeshApproxRelaxParams meshlib.MeshApproxRelaxParams.assignFromAnother ( meshlib.MeshApproxRelaxParams _other)

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

Calls MR_MeshApproxRelaxParams_AssignFromAnother().

◆ force()

float meshlib.MeshApproxRelaxParams.force ( )

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

Calls MR_MeshApproxRelaxParams_Get_force().

◆ hardSmoothTetrahedrons()

boolean meshlib.MeshApproxRelaxParams.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::MeshApproxRelaxParams named hardSmoothTetrahedrons. The reference to this object might be preserved as the return value.

Calls MR_MeshApproxRelaxParams_Get_hardSmoothTetrahedrons().

◆ iterations()

int meshlib.MeshApproxRelaxParams.iterations ( )

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

Calls MR_MeshApproxRelaxParams_Get_iterations().

◆ limitNearInitial()

boolean meshlib.MeshApproxRelaxParams.limitNearInitial ( )

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

Calls MR_MeshApproxRelaxParams_Get_limitNearInitial().

◆ maxInitialDist()

float meshlib.MeshApproxRelaxParams.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::MeshApproxRelaxParams named maxInitialDist. The reference to this object might be preserved as the return value.

Calls MR_MeshApproxRelaxParams_Get_maxInitialDist().

◆ region()

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

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

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

◆ setForce()

void meshlib.MeshApproxRelaxParams.setForce ( float value)

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

Calls MR_MeshApproxRelaxParams_Set_force().

◆ setHardSmoothTetrahedrons()

void meshlib.MeshApproxRelaxParams.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::MeshApproxRelaxParams named hardSmoothTetrahedrons.

Calls MR_MeshApproxRelaxParams_Set_hardSmoothTetrahedrons().

◆ setIterations()

void meshlib.MeshApproxRelaxParams.setIterations ( int value)

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

Calls MR_MeshApproxRelaxParams_Set_iterations().

◆ setLimitNearInitial()

void meshlib.MeshApproxRelaxParams.setLimitNearInitial ( boolean value)

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

Calls MR_MeshApproxRelaxParams_Set_limitNearInitial().

◆ setMaxInitialDist()

void meshlib.MeshApproxRelaxParams.setMaxInitialDist ( float value)

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

Calls MR_MeshApproxRelaxParams_Set_maxInitialDist().

◆ setRegion()

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

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

Calls MR_MeshApproxRelaxParams_Set_region().

◆ setSurfaceDilateRadius()

void meshlib.MeshApproxRelaxParams.setSurfaceDilateRadius ( float value)

radius to find neighbors by surface 0.0f - default = 1e-3 * sqrt(surface area) Modifies a member variable of class MR::MeshApproxRelaxParams named surfaceDilateRadius.

Calls MR_MeshApproxRelaxParams_Set_surfaceDilateRadius().

◆ setType()

void meshlib.MeshApproxRelaxParams.setType ( meshlib.RelaxApproxType value)

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

Calls MR_MeshApproxRelaxParams_Set_type().

◆ setUpdateCaches()

void meshlib.MeshApproxRelaxParams.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::MeshApproxRelaxParams named updateCaches.

Calls MR_MeshApproxRelaxParams_Set_updateCaches().

◆ setWeights()

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

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

Calls MR_MeshApproxRelaxParams_Set_weights().

◆ staticDowncastFromMeshRelaxParams()

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

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

Calls MR_MeshApproxRelaxParams_MutableStaticDowncastFrom_MR_MeshRelaxParams().

◆ staticDowncastFromRelaxParams()

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

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

Calls MR_MeshApproxRelaxParams_MutableStaticDowncastFrom_MR_RelaxParams().

◆ surfaceDilateRadius()

float meshlib.MeshApproxRelaxParams.surfaceDilateRadius ( )

radius to find neighbors by surface 0.0f - default = 1e-3 * sqrt(surface area) Returns a pointer to a member variable of class MR::MeshApproxRelaxParams named surfaceDilateRadius. The reference to this object might be preserved as the return value.

Calls MR_MeshApproxRelaxParams_Get_surfaceDilateRadius().

◆ type()

meshlib.RelaxApproxType meshlib.MeshApproxRelaxParams.type ( )

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

Calls MR_MeshApproxRelaxParams_Get_type().

◆ upcastToMeshRelaxParams()

meshlib.MeshRelaxParams meshlib.MeshApproxRelaxParams.upcastToMeshRelaxParams ( )

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

Calls MR_MeshApproxRelaxParams_MutableUpcastTo_MR_MeshRelaxParams().

◆ upcastToRelaxParams()

meshlib.RelaxParams meshlib.MeshApproxRelaxParams.upcastToRelaxParams ( )

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

Calls MR_MeshApproxRelaxParams_MutableUpcastTo_MR_RelaxParams().

◆ updateCaches()

boolean meshlib.MeshApproxRelaxParams.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::MeshApproxRelaxParams named updateCaches. The reference to this object might be preserved as the return value.

Calls MR_MeshApproxRelaxParams_Get_updateCaches().

◆ weights()

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

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

Calls MR_MeshApproxRelaxParams_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: