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

Public Member Functions

 MeshFromVoxelsPostProcessingParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 MeshFromVoxelsPostProcessingParams ()
 MeshFromVoxelsPostProcessingParams (float voxelSize, int reduceAngleNumIters, boolean decimate, float tinyEdgeLength, meshlib.UndirectedEdgeBitSet sharpEdges)
 MeshFromVoxelsPostProcessingParams (meshlib.MeshFromVoxelsPostProcessingParams _other)
meshlib.MeshFromVoxelsPostProcessingParams assignFromAnother (meshlib.MeshFromVoxelsPostProcessingParams _other)
float voxelSize ()
void setVoxelSize (float value)
int reduceAngleNumIters ()
void setReduceAngleNumIters (int value)
boolean decimate ()
void setDecimate (boolean value)
float tinyEdgeLength ()
void setTinyEdgeLength (float value)
java.lang.foreign.MemorySegment sharpEdges ()
void setSharpEdges (meshlib.UndirectedEdgeBitSet 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::MeshFromVoxelsPostProcessingParams.

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

Constructor & Destructor Documentation

◆ MeshFromVoxelsPostProcessingParams() [1/4]

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

◆ MeshFromVoxelsPostProcessingParams() [2/4]

meshlib.MeshFromVoxelsPostProcessingParams.MeshFromVoxelsPostProcessingParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_MeshFromVoxelsPostProcessingParams_DefaultConstruct().

◆ MeshFromVoxelsPostProcessingParams() [3/4]

meshlib.MeshFromVoxelsPostProcessingParams.MeshFromVoxelsPostProcessingParams ( float voxelSize,
int reduceAngleNumIters,
boolean decimate,
float tinyEdgeLength,
meshlib.UndirectedEdgeBitSet sharpEdges )

Constructs MR::MeshFromVoxelsPostProcessingParams elementwise. The reference to the parameter sharpEdges might be preserved in the constructed object.

Calls MR_MeshFromVoxelsPostProcessingParams_ConstructFrom().

◆ MeshFromVoxelsPostProcessingParams() [4/4]

meshlib.MeshFromVoxelsPostProcessingParams.MeshFromVoxelsPostProcessingParams ( meshlib.MeshFromVoxelsPostProcessingParams _other)

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

Calls MR_MeshFromVoxelsPostProcessingParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.MeshFromVoxelsPostProcessingParams meshlib.MeshFromVoxelsPostProcessingParams.assignFromAnother ( meshlib.MeshFromVoxelsPostProcessingParams _other)

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

Calls MR_MeshFromVoxelsPostProcessingParams_AssignFromAnother().

◆ decimate()

boolean meshlib.MeshFromVoxelsPostProcessingParams.decimate ( )

whether to decimate resulting mesh Returns a pointer to a member variable of class MR::MeshFromVoxelsPostProcessingParams named decimate. The reference to this object might be preserved as the return value.

Calls MR_MeshFromVoxelsPostProcessingParams_Get_decimate().

◆ reduceAngleNumIters()

int meshlib.MeshFromVoxelsPostProcessingParams.reduceAngleNumIters ( )

the number of iterations to minimize summed deviation of triangle-triangle angles from plane; this mode highlights sharp edges; if decimation is on, this mode is performed before and after decimation and further reduces the number of triangles Returns a pointer to a member variable of class MR::MeshFromVoxelsPostProcessingParams named reduceAngleNumIters. The reference to this object might be preserved as the return value.

Calls MR_MeshFromVoxelsPostProcessingParams_Get_reduceAngleNumIters().

◆ setDecimate()

void meshlib.MeshFromVoxelsPostProcessingParams.setDecimate ( boolean value)

whether to decimate resulting mesh Modifies a member variable of class MR::MeshFromVoxelsPostProcessingParams named decimate.

Calls MR_MeshFromVoxelsPostProcessingParams_Set_decimate().

◆ setReduceAngleNumIters()

void meshlib.MeshFromVoxelsPostProcessingParams.setReduceAngleNumIters ( int value)

the number of iterations to minimize summed deviation of triangle-triangle angles from plane; this mode highlights sharp edges; if decimation is on, this mode is performed before and after decimation and further reduces the number of triangles Modifies a member variable of class MR::MeshFromVoxelsPostProcessingParams named reduceAngleNumIters.

Calls MR_MeshFromVoxelsPostProcessingParams_Set_reduceAngleNumIters().

◆ setSharpEdges()

void meshlib.MeshFromVoxelsPostProcessingParams.setSharpEdges ( meshlib.UndirectedEdgeBitSet value)

sharp edges that are maintained during post-processing Modifies a member variable of class MR::MeshFromVoxelsPostProcessingParams named sharpEdges. The reference to the parameter value might be preserved in this object in element sharpEdges.

Calls MR_MeshFromVoxelsPostProcessingParams_Set_sharpEdges().

◆ setTinyEdgeLength()

void meshlib.MeshFromVoxelsPostProcessingParams.setTinyEdgeLength ( float value)

only if decimate = true: edges not longer than this value will be collapsed even if it results in appearance of a triangle with high aspect ratio Modifies a member variable of class MR::MeshFromVoxelsPostProcessingParams named tinyEdgeLength.

Calls MR_MeshFromVoxelsPostProcessingParams_Set_tinyEdgeLength().

◆ setVoxelSize()

void meshlib.MeshFromVoxelsPostProcessingParams.setVoxelSize ( float value)

The size of voxel that was used for mesh creation, must be set Modifies a member variable of class MR::MeshFromVoxelsPostProcessingParams named voxelSize.

Calls MR_MeshFromVoxelsPostProcessingParams_Set_voxelSize().

◆ sharpEdges()

java.lang.foreign.MemorySegment meshlib.MeshFromVoxelsPostProcessingParams.sharpEdges ( )

sharp edges that are maintained during post-processing Returns a pointer to a member variable of class MR::MeshFromVoxelsPostProcessingParams named sharpEdges. The reference to this object might be preserved as the return value.

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

◆ tinyEdgeLength()

float meshlib.MeshFromVoxelsPostProcessingParams.tinyEdgeLength ( )

only if decimate = true: edges not longer than this value will be collapsed even if it results in appearance of a triangle with high aspect ratio Returns a pointer to a member variable of class MR::MeshFromVoxelsPostProcessingParams named tinyEdgeLength. The reference to this object might be preserved as the return value.

Calls MR_MeshFromVoxelsPostProcessingParams_Get_tinyEdgeLength().

◆ voxelSize()

float meshlib.MeshFromVoxelsPostProcessingParams.voxelSize ( )

The size of voxel that was used for mesh creation, must be set Returns a pointer to a member variable of class MR::MeshFromVoxelsPostProcessingParams named voxelSize. The reference to this object might be preserved as the return value.

Calls MR_MeshFromVoxelsPostProcessingParams_Get_voxelSize().


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