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

Public Member Functions

 RelaxParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 RelaxParams ()
 RelaxParams (meshlib.RelaxParams _other)
meshlib.RelaxParams assignFromAnother (meshlib.RelaxParams _other)
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)
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 ()

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::RelaxParams. Derived classes: Direct: (non-virtual) MR::MeshRelaxParams MR::PointCloudRelaxParams Indirect: (non-virtual) MR::MeshApproxRelaxParams MR::MeshEqualizeTriAreasParams MR::PointCloudApproxRelaxParams

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

Constructor & Destructor Documentation

◆ RelaxParams() [1/3]

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

◆ RelaxParams() [2/3]

meshlib.RelaxParams.RelaxParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_RelaxParams_DefaultConstruct().

◆ RelaxParams() [3/3]

meshlib.RelaxParams.RelaxParams ( meshlib.RelaxParams _other)

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

Calls MR_RelaxParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.RelaxParams meshlib.RelaxParams.assignFromAnother ( meshlib.RelaxParams _other)

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

Calls MR_RelaxParams_AssignFromAnother().

◆ force()

float meshlib.RelaxParams.force ( )

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

Calls MR_RelaxParams_Get_force().

◆ iterations()

int meshlib.RelaxParams.iterations ( )

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

Calls MR_RelaxParams_Get_iterations().

◆ limitNearInitial()

boolean meshlib.RelaxParams.limitNearInitial ( )

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

Calls MR_RelaxParams_Get_limitNearInitial().

◆ maxInitialDist()

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

Calls MR_RelaxParams_Get_maxInitialDist().

◆ region()

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

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

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

◆ setForce()

void meshlib.RelaxParams.setForce ( float value)

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

Calls MR_RelaxParams_Set_force().

◆ setIterations()

void meshlib.RelaxParams.setIterations ( int value)

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

Calls MR_RelaxParams_Set_iterations().

◆ setLimitNearInitial()

void meshlib.RelaxParams.setLimitNearInitial ( boolean value)

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

Calls MR_RelaxParams_Set_limitNearInitial().

◆ setMaxInitialDist()

void meshlib.RelaxParams.setMaxInitialDist ( float value)

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

Calls MR_RelaxParams_Set_maxInitialDist().

◆ setRegion()

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

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

Calls MR_RelaxParams_Set_region().

◆ setUpdateCaches()

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

Calls MR_RelaxParams_Set_updateCaches().

◆ updateCaches()

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

Calls MR_RelaxParams_Get_updateCaches().


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