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

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ PointCloudApproxRelaxParams() [1/3]

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

◆ PointCloudApproxRelaxParams() [2/3]

meshlib.PointCloudApproxRelaxParams.PointCloudApproxRelaxParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_PointCloudApproxRelaxParams_DefaultConstruct().

◆ PointCloudApproxRelaxParams() [3/3]

meshlib.PointCloudApproxRelaxParams.PointCloudApproxRelaxParams ( meshlib.PointCloudApproxRelaxParams _other)

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

Calls MR_PointCloudApproxRelaxParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.PointCloudApproxRelaxParams meshlib.PointCloudApproxRelaxParams.assignFromAnother ( meshlib.PointCloudApproxRelaxParams _other)

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

Calls MR_PointCloudApproxRelaxParams_AssignFromAnother().

◆ force()

float meshlib.PointCloudApproxRelaxParams.force ( )

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

Calls MR_PointCloudApproxRelaxParams_Get_force().

◆ iterations()

int meshlib.PointCloudApproxRelaxParams.iterations ( )

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

Calls MR_PointCloudApproxRelaxParams_Get_iterations().

◆ limitNearInitial()

boolean meshlib.PointCloudApproxRelaxParams.limitNearInitial ( )

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

Calls MR_PointCloudApproxRelaxParams_Get_limitNearInitial().

◆ maxInitialDist()

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

Calls MR_PointCloudApproxRelaxParams_Get_maxInitialDist().

◆ neighborhoodRadius()

float meshlib.PointCloudApproxRelaxParams.neighborhoodRadius ( )

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

Calls MR_PointCloudApproxRelaxParams_Get_neighborhoodRadius().

◆ region()

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

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

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

◆ setForce()

void meshlib.PointCloudApproxRelaxParams.setForce ( float value)

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

Calls MR_PointCloudApproxRelaxParams_Set_force().

◆ setIterations()

void meshlib.PointCloudApproxRelaxParams.setIterations ( int value)

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

Calls MR_PointCloudApproxRelaxParams_Set_iterations().

◆ setLimitNearInitial()

void meshlib.PointCloudApproxRelaxParams.setLimitNearInitial ( boolean value)

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

Calls MR_PointCloudApproxRelaxParams_Set_limitNearInitial().

◆ setMaxInitialDist()

void meshlib.PointCloudApproxRelaxParams.setMaxInitialDist ( float value)

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

Calls MR_PointCloudApproxRelaxParams_Set_maxInitialDist().

◆ setNeighborhoodRadius()

void meshlib.PointCloudApproxRelaxParams.setNeighborhoodRadius ( float value)

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

Calls MR_PointCloudApproxRelaxParams_Set_neighborhoodRadius().

◆ setRegion()

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

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

Calls MR_PointCloudApproxRelaxParams_Set_region().

◆ setType()

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

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

Calls MR_PointCloudApproxRelaxParams_Set_type().

◆ setUpdateCaches()

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

Calls MR_PointCloudApproxRelaxParams_Set_updateCaches().

◆ staticDowncastFromPointCloudRelaxParams()

meshlib.PointCloudApproxRelaxParams meshlib.PointCloudApproxRelaxParams.staticDowncastFromPointCloudRelaxParams ( meshlib.PointCloudRelaxParams object)
static

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

Calls MR_PointCloudApproxRelaxParams_MutableStaticDowncastFrom_MR_PointCloudRelaxParams().

◆ staticDowncastFromRelaxParams()

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

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

Calls MR_PointCloudApproxRelaxParams_MutableStaticDowncastFrom_MR_RelaxParams().

◆ type()

meshlib.RelaxApproxType meshlib.PointCloudApproxRelaxParams.type ( )

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

Calls MR_PointCloudApproxRelaxParams_Get_type().

◆ upcastToPointCloudRelaxParams()

meshlib.PointCloudRelaxParams meshlib.PointCloudApproxRelaxParams.upcastToPointCloudRelaxParams ( )

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

Calls MR_PointCloudApproxRelaxParams_MutableUpcastTo_MR_PointCloudRelaxParams().

◆ upcastToRelaxParams()

meshlib.RelaxParams meshlib.PointCloudApproxRelaxParams.upcastToRelaxParams ( )

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

Calls MR_PointCloudApproxRelaxParams_MutableUpcastTo_MR_RelaxParams().

◆ updateCaches()

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

Calls MR_PointCloudApproxRelaxParams_Get_updateCaches().


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