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

Public Member Functions

 GridToMeshSettings (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 GridToMeshSettings ()
 GridToMeshSettings (meshlib.Vector3f voxelSize, float isoValue, float adaptivity, int maxFaces, int maxVertices, boolean relaxDisorientedTriangles, meshlib.std_function_bool_from_float cb)
 GridToMeshSettings (meshlib.GridToMeshSettings _other)
meshlib.GridToMeshSettings assignFromAnother (meshlib.GridToMeshSettings _other)
meshlib.Vector3f voxelSize ()
void setVoxelSize (meshlib.Vector3f value)
float isoValue ()
void setIsoValue (float value)
float adaptivity ()
void setAdaptivity (float value)
int maxFaces ()
void setMaxFaces (int value)
int maxVertices ()
void setMaxVertices (int value)
boolean relaxDisorientedTriangles ()
void setRelaxDisorientedTriangles (boolean value)
meshlib.std_function_bool_from_float cb ()
void setCb (meshlib.std_function_bool_from_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

parameters of OpenVDB Grid to Mesh conversion using Dual Marching Cubes algorithm Generated from class MR::GridToMeshSettings.

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

Constructor & Destructor Documentation

◆ GridToMeshSettings() [1/4]

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

◆ GridToMeshSettings() [2/4]

meshlib.GridToMeshSettings.GridToMeshSettings ( )

Constructs an empty (default-constructed) instance.

Calls MR_GridToMeshSettings_DefaultConstruct().

◆ GridToMeshSettings() [3/4]

meshlib.GridToMeshSettings.GridToMeshSettings ( meshlib.Vector3f voxelSize,
float isoValue,
float adaptivity,
int maxFaces,
int maxVertices,
boolean relaxDisorientedTriangles,
meshlib.std_function_bool_from_float cb )

Constructs MR::GridToMeshSettings elementwise. The reference to the parameter voxelSize might be preserved in the constructed object. The reference to the parameter cb might be preserved in the constructed object.

Calls MR_GridToMeshSettings_ConstructFrom().

◆ GridToMeshSettings() [4/4]

meshlib.GridToMeshSettings.GridToMeshSettings ( meshlib.GridToMeshSettings _other)

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

Calls MR_GridToMeshSettings_ConstructFromAnother().

Member Function Documentation

◆ adaptivity()

float meshlib.GridToMeshSettings.adaptivity ( )

adaptivity - [0.0;1.0] ratio of combining small triangles into bigger ones (curvature can be lost on high values) Returns a pointer to a member variable of class MR::GridToMeshSettings named adaptivity. The reference to this object might be preserved as the return value.

Calls MR_GridToMeshSettings_Get_adaptivity().

◆ assignFromAnother()

meshlib.GridToMeshSettings meshlib.GridToMeshSettings.assignFromAnother ( meshlib.GridToMeshSettings _other)

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

Calls MR_GridToMeshSettings_AssignFromAnother().

◆ cb()

meshlib.std_function_bool_from_float meshlib.GridToMeshSettings.cb ( )

to receive progress and request cancellation Returns a pointer to a member variable of class MR::GridToMeshSettings named cb. The reference to this object might be preserved as the return value.

Calls MR_GridToMeshSettings_Get_cb().

◆ isoValue()

float meshlib.GridToMeshSettings.isoValue ( )

layer of grid with this value would be converted in mesh; isoValue can be negative only in level set grids Returns a pointer to a member variable of class MR::GridToMeshSettings named isoValue. The reference to this object might be preserved as the return value.

Calls MR_GridToMeshSettings_Get_isoValue().

◆ maxFaces()

int meshlib.GridToMeshSettings.maxFaces ( )

if the mesh exceeds this number of faces, an error returns Returns a pointer to a member variable of class MR::GridToMeshSettings named maxFaces. The reference to this object might be preserved as the return value.

Calls MR_GridToMeshSettings_Get_maxFaces().

◆ maxVertices()

int meshlib.GridToMeshSettings.maxVertices ( )

if the mesh exceeds this number of vertices, an error returns Returns a pointer to a member variable of class MR::GridToMeshSettings named maxVertices. The reference to this object might be preserved as the return value.

Calls MR_GridToMeshSettings_Get_maxVertices().

◆ relaxDisorientedTriangles()

boolean meshlib.GridToMeshSettings.relaxDisorientedTriangles ( )

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

Calls MR_GridToMeshSettings_Get_relaxDisorientedTriangles().

◆ setAdaptivity()

void meshlib.GridToMeshSettings.setAdaptivity ( float value)

adaptivity - [0.0;1.0] ratio of combining small triangles into bigger ones (curvature can be lost on high values) Modifies a member variable of class MR::GridToMeshSettings named adaptivity.

Calls MR_GridToMeshSettings_Set_adaptivity().

◆ setCb()

void meshlib.GridToMeshSettings.setCb ( meshlib.std_function_bool_from_float value)

to receive progress and request cancellation Modifies a member variable of class MR::GridToMeshSettings named cb. The reference to the parameter value might be preserved in this object in element cb.

Calls MR_GridToMeshSettings_Set_cb().

◆ setIsoValue()

void meshlib.GridToMeshSettings.setIsoValue ( float value)

layer of grid with this value would be converted in mesh; isoValue can be negative only in level set grids Modifies a member variable of class MR::GridToMeshSettings named isoValue.

Calls MR_GridToMeshSettings_Set_isoValue().

◆ setMaxFaces()

void meshlib.GridToMeshSettings.setMaxFaces ( int value)

if the mesh exceeds this number of faces, an error returns Modifies a member variable of class MR::GridToMeshSettings named maxFaces.

Calls MR_GridToMeshSettings_Set_maxFaces().

◆ setMaxVertices()

void meshlib.GridToMeshSettings.setMaxVertices ( int value)

if the mesh exceeds this number of vertices, an error returns Modifies a member variable of class MR::GridToMeshSettings named maxVertices.

Calls MR_GridToMeshSettings_Set_maxVertices().

◆ setRelaxDisorientedTriangles()

void meshlib.GridToMeshSettings.setRelaxDisorientedTriangles ( boolean value)

Modifies a member variable of class MR::GridToMeshSettings named relaxDisorientedTriangles.

Calls MR_GridToMeshSettings_Set_relaxDisorientedTriangles().

◆ setVoxelSize()

void meshlib.GridToMeshSettings.setVoxelSize ( meshlib.Vector3f value)

the size of each voxel in the grid Modifies a member variable of class MR::GridToMeshSettings named voxelSize. The reference to the parameter value might be preserved in this object in element voxelSize.

Calls MR_GridToMeshSettings_Set_voxelSize().

◆ voxelSize()

meshlib.Vector3f meshlib.GridToMeshSettings.voxelSize ( )

the size of each voxel in the grid Returns a pointer to a member variable of class MR::GridToMeshSettings named voxelSize. The reference to this object might be preserved as the return value.

Calls MR_GridToMeshSettings_Get_voxelSize().


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