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

Public Member Functions

 MoveMeshToVoxelMaxDerivSettings (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 MoveMeshToVoxelMaxDerivSettings ()
 MoveMeshToVoxelMaxDerivSettings (int iters, int samplePoints, int degree, float outlierThreshold, float intermediateSmoothForce, float preparationSmoothForce)
 MoveMeshToVoxelMaxDerivSettings (meshlib.MoveMeshToVoxelMaxDerivSettings _other)
meshlib.MoveMeshToVoxelMaxDerivSettings assignFromAnother (meshlib.MoveMeshToVoxelMaxDerivSettings _other)
int iters ()
void setIters (int value)
int samplePoints ()
void setSamplePoints (int value)
int degree ()
void setDegree (int value)
float outlierThreshold ()
void setOutlierThreshold (float value)
float intermediateSmoothForce ()
void setIntermediateSmoothForce (float value)
float preparationSmoothForce ()
void setPreparationSmoothForce (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::MoveMeshToVoxelMaxDerivSettings.

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

Constructor & Destructor Documentation

◆ MoveMeshToVoxelMaxDerivSettings() [1/4]

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

◆ MoveMeshToVoxelMaxDerivSettings() [2/4]

meshlib.MoveMeshToVoxelMaxDerivSettings.MoveMeshToVoxelMaxDerivSettings ( )

Constructs an empty (default-constructed) instance.

Calls MR_MoveMeshToVoxelMaxDerivSettings_DefaultConstruct().

◆ MoveMeshToVoxelMaxDerivSettings() [3/4]

meshlib.MoveMeshToVoxelMaxDerivSettings.MoveMeshToVoxelMaxDerivSettings ( int iters,
int samplePoints,
int degree,
float outlierThreshold,
float intermediateSmoothForce,
float preparationSmoothForce )

Constructs MR::MoveMeshToVoxelMaxDerivSettings elementwise.

Calls MR_MoveMeshToVoxelMaxDerivSettings_ConstructFrom().

◆ MoveMeshToVoxelMaxDerivSettings() [4/4]

meshlib.MoveMeshToVoxelMaxDerivSettings.MoveMeshToVoxelMaxDerivSettings ( meshlib.MoveMeshToVoxelMaxDerivSettings _other)

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

Calls MR_MoveMeshToVoxelMaxDerivSettings_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.MoveMeshToVoxelMaxDerivSettings meshlib.MoveMeshToVoxelMaxDerivSettings.assignFromAnother ( meshlib.MoveMeshToVoxelMaxDerivSettings _other)

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

Calls MR_MoveMeshToVoxelMaxDerivSettings_AssignFromAnother().

◆ degree()

int meshlib.MoveMeshToVoxelMaxDerivSettings.degree ( )

degree of the polynomial used to fit sampled points. Must be in range [3; 6] Returns a pointer to a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named degree. The reference to this object might be preserved as the return value.

Calls MR_MoveMeshToVoxelMaxDerivSettings_Get_degree().

◆ intermediateSmoothForce()

float meshlib.MoveMeshToVoxelMaxDerivSettings.intermediateSmoothForce ( )

force of the smoothing (relaxation) of vector field of shifts on each iteration Returns a pointer to a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named intermediateSmoothForce. The reference to this object might be preserved as the return value.

Calls MR_MoveMeshToVoxelMaxDerivSettings_Get_intermediateSmoothForce().

◆ iters()

int meshlib.MoveMeshToVoxelMaxDerivSettings.iters ( )

number of iterations. Each iteration moves vertex only slightly and smooths the vector field of shifts. Returns a pointer to a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named iters. The reference to this object might be preserved as the return value.

Calls MR_MoveMeshToVoxelMaxDerivSettings_Get_iters().

◆ outlierThreshold()

float meshlib.MoveMeshToVoxelMaxDerivSettings.outlierThreshold ( )

for each iteration, if target position of the vertex is greater than this threshold, it is disregarded. For small degrees, this value should be small, for large degrees it may be larger. Measured in number of voxels. Returns a pointer to a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named outlierThreshold. The reference to this object might be preserved as the return value.

Calls MR_MoveMeshToVoxelMaxDerivSettings_Get_outlierThreshold().

◆ preparationSmoothForce()

float meshlib.MoveMeshToVoxelMaxDerivSettings.preparationSmoothForce ( )

force of initial smoothing of vertices, before applying the algorithm Returns a pointer to a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named preparationSmoothForce. The reference to this object might be preserved as the return value.

Calls MR_MoveMeshToVoxelMaxDerivSettings_Get_preparationSmoothForce().

◆ samplePoints()

int meshlib.MoveMeshToVoxelMaxDerivSettings.samplePoints ( )

number of points to sample for each vertex. Samples are used to get the picewice-linear function of density and estimate the derivative based on it Returns a pointer to a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named samplePoints. The reference to this object might be preserved as the return value.

Calls MR_MoveMeshToVoxelMaxDerivSettings_Get_samplePoints().

◆ setDegree()

void meshlib.MoveMeshToVoxelMaxDerivSettings.setDegree ( int value)

degree of the polynomial used to fit sampled points. Must be in range [3; 6] Modifies a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named degree.

Calls MR_MoveMeshToVoxelMaxDerivSettings_Set_degree().

◆ setIntermediateSmoothForce()

void meshlib.MoveMeshToVoxelMaxDerivSettings.setIntermediateSmoothForce ( float value)

force of the smoothing (relaxation) of vector field of shifts on each iteration Modifies a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named intermediateSmoothForce.

Calls MR_MoveMeshToVoxelMaxDerivSettings_Set_intermediateSmoothForce().

◆ setIters()

void meshlib.MoveMeshToVoxelMaxDerivSettings.setIters ( int value)

number of iterations. Each iteration moves vertex only slightly and smooths the vector field of shifts. Modifies a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named iters.

Calls MR_MoveMeshToVoxelMaxDerivSettings_Set_iters().

◆ setOutlierThreshold()

void meshlib.MoveMeshToVoxelMaxDerivSettings.setOutlierThreshold ( float value)

for each iteration, if target position of the vertex is greater than this threshold, it is disregarded. For small degrees, this value should be small, for large degrees it may be larger. Measured in number of voxels. Modifies a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named outlierThreshold.

Calls MR_MoveMeshToVoxelMaxDerivSettings_Set_outlierThreshold().

◆ setPreparationSmoothForce()

void meshlib.MoveMeshToVoxelMaxDerivSettings.setPreparationSmoothForce ( float value)

force of initial smoothing of vertices, before applying the algorithm Modifies a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named preparationSmoothForce.

Calls MR_MoveMeshToVoxelMaxDerivSettings_Set_preparationSmoothForce().

◆ setSamplePoints()

void meshlib.MoveMeshToVoxelMaxDerivSettings.setSamplePoints ( int value)

number of points to sample for each vertex. Samples are used to get the picewice-linear function of density and estimate the derivative based on it Modifies a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named samplePoints.

Calls MR_MoveMeshToVoxelMaxDerivSettings_Set_samplePoints().


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