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

Public Member Functions

 PointCloudRelaxParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 PointCloudRelaxParams ()
 PointCloudRelaxParams (meshlib.PointCloudRelaxParams _other)
meshlib.PointCloudRelaxParams assignFromAnother (meshlib.PointCloudRelaxParams _other)
float neighborhoodRadius ()
void setNeighborhoodRadius (float 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 ()
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.PointCloudRelaxParams staticDowncastFromRelaxParams (meshlib.RelaxParams 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::PointCloudRelaxParams. Base classes: Direct: (non-virtual) MR::RelaxParams Derived classes: Direct: (non-virtual) MR::PointCloudApproxRelaxParams

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

Constructor & Destructor Documentation

◆ PointCloudRelaxParams() [1/3]

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

◆ PointCloudRelaxParams() [2/3]

meshlib.PointCloudRelaxParams.PointCloudRelaxParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_PointCloudRelaxParams_DefaultConstruct().

◆ PointCloudRelaxParams() [3/3]

meshlib.PointCloudRelaxParams.PointCloudRelaxParams ( meshlib.PointCloudRelaxParams _other)

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

Calls MR_PointCloudRelaxParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.PointCloudRelaxParams meshlib.PointCloudRelaxParams.assignFromAnother ( meshlib.PointCloudRelaxParams _other)

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

Calls MR_PointCloudRelaxParams_AssignFromAnother().

◆ force()

float meshlib.PointCloudRelaxParams.force ( )

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

Calls MR_PointCloudRelaxParams_Get_force().

◆ iterations()

int meshlib.PointCloudRelaxParams.iterations ( )

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

Calls MR_PointCloudRelaxParams_Get_iterations().

◆ limitNearInitial()

boolean meshlib.PointCloudRelaxParams.limitNearInitial ( )

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

Calls MR_PointCloudRelaxParams_Get_limitNearInitial().

◆ maxInitialDist()

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

Calls MR_PointCloudRelaxParams_Get_maxInitialDist().

◆ neighborhoodRadius()

float meshlib.PointCloudRelaxParams.neighborhoodRadius ( )

radius to find neighbors in, 0.0 - default, 0.1*boundibg box diagonal Returns a pointer to a member variable of class MR::PointCloudRelaxParams named neighborhoodRadius. The reference to this object might be preserved as the return value.

Calls MR_PointCloudRelaxParams_Get_neighborhoodRadius().

◆ region()

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

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

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

◆ setForce()

void meshlib.PointCloudRelaxParams.setForce ( float value)

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

Calls MR_PointCloudRelaxParams_Set_force().

◆ setIterations()

void meshlib.PointCloudRelaxParams.setIterations ( int value)

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

Calls MR_PointCloudRelaxParams_Set_iterations().

◆ setLimitNearInitial()

void meshlib.PointCloudRelaxParams.setLimitNearInitial ( boolean value)

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

Calls MR_PointCloudRelaxParams_Set_limitNearInitial().

◆ setMaxInitialDist()

void meshlib.PointCloudRelaxParams.setMaxInitialDist ( float value)

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

Calls MR_PointCloudRelaxParams_Set_maxInitialDist().

◆ setNeighborhoodRadius()

void meshlib.PointCloudRelaxParams.setNeighborhoodRadius ( float value)

radius to find neighbors in, 0.0 - default, 0.1*boundibg box diagonal Modifies a member variable of class MR::PointCloudRelaxParams named neighborhoodRadius.

Calls MR_PointCloudRelaxParams_Set_neighborhoodRadius().

◆ setRegion()

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

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

Calls MR_PointCloudRelaxParams_Set_region().

◆ setUpdateCaches()

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

Calls MR_PointCloudRelaxParams_Set_updateCaches().

◆ staticDowncastFromRelaxParams()

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

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

Calls MR_PointCloudRelaxParams_MutableStaticDowncastFrom_MR_RelaxParams().

◆ upcastToRelaxParams()

meshlib.RelaxParams meshlib.PointCloudRelaxParams.upcastToRelaxParams ( )

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

Calls MR_PointCloudRelaxParams_MutableUpcastTo_MR_RelaxParams().

◆ updateCaches()

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

Calls MR_PointCloudRelaxParams_Get_updateCaches().


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