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) | |
Generated from class MR::MarchingCubesParams.
Instances created here own their C++ objects, see CppObject.
| meshlib.MarchingCubesParams.MarchingCubesParams | ( | 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.
| meshlib.MarchingCubesParams.MarchingCubesParams | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_MarchingCubesParams_DefaultConstruct().
| meshlib.MarchingCubesParams.MarchingCubesParams | ( | meshlib.Vector3f | origin, |
| meshlib.std_function_bool_from_float | cb, | ||
| float | iso, | ||
| boolean | lessInside, | ||
| meshlib.Vector_MR_VoxelId_MR_FaceId | outVoxelPerFaceMap, | ||
| meshlib.AffineXf3f | outGridToMeshXf, | ||
| meshlib.std_function_MR_Vector3f_from_const_MR_Vector3f_ref_const_MR_Vector3f_ref_float_float_float | positioner, | ||
| int | maxVertices, | ||
| meshlib.MarchingCubesParams_CachingMode | cachingMode, | ||
| meshlib.std_function_void | freeVolume ) |
Constructs MR::MarchingCubesParams elementwise. The reference to the parameter origin might be preserved in the constructed object. The reference to the parameter cb might be preserved in the constructed object. The reference to the parameter outVoxelPerFaceMap might be preserved in the constructed object. The reference to the parameter outGridToMeshXf might be preserved in the constructed object. The reference to the parameter positioner might be preserved in the constructed object. The reference to the parameter cachingMode might be preserved in the constructed object. The reference to the parameter freeVolume might be preserved in the constructed object.
Calls MR_MarchingCubesParams_ConstructFrom().
| meshlib.MarchingCubesParams.MarchingCubesParams | ( | meshlib.MarchingCubesParams | _other | ) |
Generated from constructor MR::MarchingCubesParams::MarchingCubesParams. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_MarchingCubesParams_ConstructFromAnother().
| meshlib.MarchingCubesParams meshlib.MarchingCubesParams.assignFromAnother | ( | meshlib.MarchingCubesParams | _other | ) |
Generated from method MR::MarchingCubesParams::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_MarchingCubesParams_AssignFromAnother().
| meshlib.MarchingCubesParams_CachingMode meshlib.MarchingCubesParams.cachingMode | ( | ) |
Returns a pointer to a member variable of class MR::MarchingCubesParams named cachingMode. The reference to this object might be preserved as the return value.
Calls MR_MarchingCubesParams_Get_cachingMode().
| meshlib.std_function_bool_from_float meshlib.MarchingCubesParams.cb | ( | ) |
progress callback Returns a pointer to a member variable of class MR::MarchingCubesParams named cb. The reference to this object might be preserved as the return value.
Calls MR_MarchingCubesParams_Get_cb().
| meshlib.std_function_void meshlib.MarchingCubesParams.freeVolume | ( | ) |
this optional function is called when volume is no longer needed to deallocate it and reduce peak memory consumption Returns a pointer to a member variable of class MR::MarchingCubesParams named freeVolume. The reference to this object might be preserved as the return value.
Calls MR_MarchingCubesParams_Get_freeVolume().
| float meshlib.MarchingCubesParams.iso | ( | ) |
target iso-value of the surface to be extracted from volume Returns a pointer to a member variable of class MR::MarchingCubesParams named iso. The reference to this object might be preserved as the return value.
Calls MR_MarchingCubesParams_Get_iso().
| boolean meshlib.MarchingCubesParams.lessInside | ( | ) |
should be false for dense volumes, and true for distance volume Returns a pointer to a member variable of class MR::MarchingCubesParams named lessInside. The reference to this object might be preserved as the return value.
Calls MR_MarchingCubesParams_Get_lessInside().
| int meshlib.MarchingCubesParams.maxVertices | ( | ) |
if the mesh exceeds this number of vertices, an error returns Returns a pointer to a member variable of class MR::MarchingCubesParams named maxVertices. The reference to this object might be preserved as the return value.
Calls MR_MarchingCubesParams_Get_maxVertices().
| meshlib.Vector3f meshlib.MarchingCubesParams.origin | ( | ) |
origin point of voxels box in 3D space with output mesh Returns a pointer to a member variable of class MR::MarchingCubesParams named origin. The reference to this object might be preserved as the return value.
Calls MR_MarchingCubesParams_Get_origin().
| java.lang.foreign.MemorySegment meshlib.MarchingCubesParams.outGridToMeshXf | ( | ) |
optional output transform from integer grid locations to mesh reference frame: the node with integer coordinates (i,j,k) is located in (*outGridToMeshXf)( Vector3f( i, j, k ) ); every vertex of output mesh is located on a grid edge Returns a pointer to a member variable of class MR::MarchingCubesParams named outGridToMeshXf. The reference to this object might be preserved as the return value.
Calls MR_MarchingCubesParams_Get_outGridToMeshXf(). Some types are raw C types, see the C bindings for the details.
| java.lang.foreign.MemorySegment meshlib.MarchingCubesParams.outVoxelPerFaceMap | ( | ) |
optional output map FaceId->VoxelId Returns a pointer to a member variable of class MR::MarchingCubesParams named outVoxelPerFaceMap. The reference to this object might be preserved as the return value.
Calls MR_MarchingCubesParams_Get_outVoxelPerFaceMap(). Some types are raw C types, see the C bindings for the details.
| meshlib.std_function_MR_Vector3f_from_const_MR_Vector3f_ref_const_MR_Vector3f_ref_float_float_float meshlib.MarchingCubesParams.positioner | ( | ) |
function to calculate position of result mesh points if the function isn't set, a linear positioner will be used note: this function is called in parallel from different threads Returns a pointer to a member variable of class MR::MarchingCubesParams named positioner. The reference to this object might be preserved as the return value.
Calls MR_MarchingCubesParams_Get_positioner().
| void meshlib.MarchingCubesParams.setCachingMode | ( | meshlib.MarchingCubesParams_CachingMode | value | ) |
Modifies a member variable of class MR::MarchingCubesParams named cachingMode. The reference to the parameter value might be preserved in this object in element cachingMode.
Calls MR_MarchingCubesParams_Set_cachingMode().
| void meshlib.MarchingCubesParams.setCb | ( | meshlib.std_function_bool_from_float | value | ) |
progress callback Modifies a member variable of class MR::MarchingCubesParams named cb. The reference to the parameter value might be preserved in this object in element cb.
Calls MR_MarchingCubesParams_Set_cb().
| void meshlib.MarchingCubesParams.setFreeVolume | ( | meshlib.std_function_void | value | ) |
this optional function is called when volume is no longer needed to deallocate it and reduce peak memory consumption Modifies a member variable of class MR::MarchingCubesParams named freeVolume. The reference to the parameter value might be preserved in this object in element freeVolume.
Calls MR_MarchingCubesParams_Set_freeVolume().
| void meshlib.MarchingCubesParams.setIso | ( | float | value | ) |
target iso-value of the surface to be extracted from volume Modifies a member variable of class MR::MarchingCubesParams named iso.
Calls MR_MarchingCubesParams_Set_iso().
| void meshlib.MarchingCubesParams.setLessInside | ( | boolean | value | ) |
should be false for dense volumes, and true for distance volume Modifies a member variable of class MR::MarchingCubesParams named lessInside.
Calls MR_MarchingCubesParams_Set_lessInside().
| void meshlib.MarchingCubesParams.setMaxVertices | ( | int | value | ) |
if the mesh exceeds this number of vertices, an error returns Modifies a member variable of class MR::MarchingCubesParams named maxVertices.
Calls MR_MarchingCubesParams_Set_maxVertices().
| void meshlib.MarchingCubesParams.setOrigin | ( | meshlib.Vector3f | value | ) |
origin point of voxels box in 3D space with output mesh Modifies a member variable of class MR::MarchingCubesParams named origin. The reference to the parameter value might be preserved in this object in element origin.
Calls MR_MarchingCubesParams_Set_origin().
| void meshlib.MarchingCubesParams.setOutGridToMeshXf | ( | meshlib.AffineXf3f | value | ) |
optional output transform from integer grid locations to mesh reference frame: the node with integer coordinates (i,j,k) is located in (*outGridToMeshXf)( Vector3f( i, j, k ) ); every vertex of output mesh is located on a grid edge Modifies a member variable of class MR::MarchingCubesParams named outGridToMeshXf. The reference to the parameter value might be preserved in this object in element outGridToMeshXf.
Calls MR_MarchingCubesParams_Set_outGridToMeshXf().
| void meshlib.MarchingCubesParams.setOutVoxelPerFaceMap | ( | meshlib.Vector_MR_VoxelId_MR_FaceId | value | ) |
optional output map FaceId->VoxelId Modifies a member variable of class MR::MarchingCubesParams named outVoxelPerFaceMap. The reference to the parameter value might be preserved in this object in element outVoxelPerFaceMap.
Calls MR_MarchingCubesParams_Set_outVoxelPerFaceMap().
| void meshlib.MarchingCubesParams.setPositioner | ( | meshlib.std_function_MR_Vector3f_from_const_MR_Vector3f_ref_const_MR_Vector3f_ref_float_float_float | value | ) |
function to calculate position of result mesh points if the function isn't set, a linear positioner will be used note: this function is called in parallel from different threads Modifies a member variable of class MR::MarchingCubesParams named positioner. The reference to the parameter value might be preserved in this object in element positioner.
Calls MR_MarchingCubesParams_Set_positioner().