Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::MarchingCubesParams > |
| static auto | construct_from (origin:meshlib::Vector3f, cb:&meshlib::std_function_bool_from_float, iso:f32, lessInside:bool, outVoxelPerFaceMap:Option<&mut meshlib::Vector_MR_VoxelId_MR_FaceId >, outGridToMeshXf:Option<&mut meshlib::AffineXf3f >, positioner:&meshlib::std_function_MR_Vector3f_from_const_MR_Vector3f_ref_const_MR_Vector3f_ref_float_float_float, maxVertices:core::ffi::c_int, cachingMode:meshlib::MarchingCubesParams_CachingMode, freeVolume:&meshlib::std_function_void) -> meshlib::Owned< meshlib::MarchingCubesParams > |
| static auto | construct_from_another (_other:&meshlib::MarchingCubesParams) -> meshlib::Owned< meshlib::MarchingCubesParams > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
Generated from class MR::MarchingCubesParams.
Generated from class MR::MarchingCubesParams. Heap-allocated instances are held in Owned<MarchingCubesParams>.
| auto meshlib::MarchingCubesParams::assign_from_another | ( | _other:&meshlib::MarchingCubesParams | ) | -> &mut meshlib::MarchingCubesParams |
Generated from method MR::MarchingCubesParams::operator=.
Calls MR_MarchingCubesParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::MarchingCubesParams::caching_mode | ( | ) | const -> &meshlib::MarchingCubesParams_CachingMode |
Returns a pointer to a member variable of class MR::MarchingCubesParams named cachingMode.
Calls MR_MarchingCubesParams_Get_cachingMode(). The reference to this object might be preserved as the return value.
| auto meshlib::MarchingCubesParams::caching_mode_mut | ( | ) | -> &mut meshlib::MarchingCubesParams_CachingMode |
Returns a mutable pointer to a member variable of class MR::MarchingCubesParams named cachingMode.
Calls MR_MarchingCubesParams_GetMutable_cachingMode(). The reference to this object might be preserved as the return value.
| auto meshlib::MarchingCubesParams::cb | ( | ) | const -> &meshlib::std_function_bool_from_float |
progress callback Returns a pointer to a member variable of class MR::MarchingCubesParams named cb.
Calls MR_MarchingCubesParams_Get_cb(). The reference to this object might be preserved as the return value.
| auto meshlib::MarchingCubesParams::cb_mut | ( | ) | -> &mut meshlib::std_function_bool_from_float |
progress callback Returns a mutable pointer to a member variable of class MR::MarchingCubesParams named cb.
Calls MR_MarchingCubesParams_GetMutable_cb(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::MarchingCubesParams elementwise.
Calls MR_MarchingCubesParams_ConstructFrom(). 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.
|
static |
Generated from constructor MR::MarchingCubesParams::MarchingCubesParams.
Calls MR_MarchingCubesParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::MarchingCubesParams::free_volume | ( | ) | const -> &meshlib::std_function_void |
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.
Calls MR_MarchingCubesParams_Get_freeVolume(). The reference to this object might be preserved as the return value.
| auto meshlib::MarchingCubesParams::free_volume_mut | ( | ) | -> &mut meshlib::std_function_void |
this optional function is called when volume is no longer needed to deallocate it and reduce peak memory consumption Returns a mutable pointer to a member variable of class MR::MarchingCubesParams named freeVolume.
Calls MR_MarchingCubesParams_GetMutable_freeVolume(). The reference to this object might be preserved as the return value.
| auto meshlib::MarchingCubesParams::iso | ( | ) | const -> &f32 |
target iso-value of the surface to be extracted from volume Returns a pointer to a member variable of class MR::MarchingCubesParams named iso.
Calls MR_MarchingCubesParams_Get_iso(). The reference to this object might be preserved as the return value.
| auto meshlib::MarchingCubesParams::iso_mut | ( | ) | -> &mut f32 |
target iso-value of the surface to be extracted from volume Returns a mutable pointer to a member variable of class MR::MarchingCubesParams named iso.
Calls MR_MarchingCubesParams_GetMutable_iso(). The reference to this object might be preserved as the return value.
| auto meshlib::MarchingCubesParams::less_inside | ( | ) | const -> &bool |
should be false for dense volumes, and true for distance volume Returns a pointer to a member variable of class MR::MarchingCubesParams named lessInside.
Calls MR_MarchingCubesParams_Get_lessInside(). The reference to this object might be preserved as the return value.
| auto meshlib::MarchingCubesParams::less_inside_mut | ( | ) | -> &mut bool |
should be false for dense volumes, and true for distance volume Returns a mutable pointer to a member variable of class MR::MarchingCubesParams named lessInside.
Calls MR_MarchingCubesParams_GetMutable_lessInside(). The reference to this object might be preserved as the return value.
| auto meshlib::MarchingCubesParams::max_vertices | ( | ) | const -> &core::ffi::c_int |
if the mesh exceeds this number of vertices, an error returns Returns a pointer to a member variable of class MR::MarchingCubesParams named maxVertices.
Calls MR_MarchingCubesParams_Get_maxVertices(). The reference to this object might be preserved as the return value.
| auto meshlib::MarchingCubesParams::max_vertices_mut | ( | ) | -> &mut core::ffi::c_int |
if the mesh exceeds this number of vertices, an error returns Returns a mutable pointer to a member variable of class MR::MarchingCubesParams named maxVertices.
Calls MR_MarchingCubesParams_GetMutable_maxVertices(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_MarchingCubesParams_DefaultConstruct().
| auto meshlib::MarchingCubesParams::origin | ( | ) | const -> &meshlib::Vector3f |
origin point of voxels box in 3D space with output mesh Returns a pointer to a member variable of class MR::MarchingCubesParams named origin.
Calls MR_MarchingCubesParams_Get_origin(). The reference to this object might be preserved as the return value.
| auto meshlib::MarchingCubesParams::origin_mut | ( | ) | -> &mut meshlib::Vector3f |
origin point of voxels box in 3D space with output mesh Returns a mutable pointer to a member variable of class MR::MarchingCubesParams named origin.
Calls MR_MarchingCubesParams_GetMutable_origin(). The reference to this object might be preserved as the return value.
| auto meshlib::MarchingCubesParams::out_grid_to_mesh_xf | ( | ) | const -> *const *mut meshlib::AffineXf3f |
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.
Calls MR_MarchingCubesParams_Get_outGridToMeshXf(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| auto meshlib::MarchingCubesParams::out_grid_to_mesh_xf_mut | ( | ) | -> *mut *mut meshlib::AffineXf3f |
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 mutable pointer to a member variable of class MR::MarchingCubesParams named outGridToMeshXf.
Calls MR_MarchingCubesParams_GetMutable_outGridToMeshXf(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| auto meshlib::MarchingCubesParams::out_voxel_per_face_map | ( | ) | const -> *const *mut meshlib::ffi::MR_Vector_MR_VoxelId_MR_FaceId |
optional output map FaceId->VoxelId Returns a pointer to a member variable of class MR::MarchingCubesParams named outVoxelPerFaceMap.
Calls MR_MarchingCubesParams_Get_outVoxelPerFaceMap(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| auto meshlib::MarchingCubesParams::out_voxel_per_face_map_mut | ( | ) | -> *mut *mut meshlib::ffi::MR_Vector_MR_VoxelId_MR_FaceId |
optional output map FaceId->VoxelId Returns a mutable pointer to a member variable of class MR::MarchingCubesParams named outVoxelPerFaceMap.
Calls MR_MarchingCubesParams_GetMutable_outVoxelPerFaceMap(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| auto meshlib::MarchingCubesParams::positioner | ( | ) | const -> &meshlib::std_function_MR_Vector3f_from_const_MR_Vector3f_ref_const_MR_Vector3f_ref_float_float_float |
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.
Calls MR_MarchingCubesParams_Get_positioner(). The reference to this object might be preserved as the return value.
| auto meshlib::MarchingCubesParams::positioner_mut | ( | ) | -> &mut meshlib::std_function_MR_Vector3f_from_const_MR_Vector3f_ref_const_MR_Vector3f_ref_float_float_float |
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 mutable pointer to a member variable of class MR::MarchingCubesParams named positioner.
Calls MR_MarchingCubesParams_GetMutable_positioner(). The reference to this object might be preserved as the return value.
| void meshlib::MarchingCubesParams::set_caching_mode | ( | value:meshlib::MarchingCubesParams_CachingMode | ) |
Modifies a member variable of class MR::MarchingCubesParams named cachingMode.
Calls MR_MarchingCubesParams_Set_cachingMode(). The reference to the parameter value might be preserved in this object in element cachingMode.
| void meshlib::MarchingCubesParams::set_cb | ( | value:&meshlib::std_function_bool_from_float | ) |
progress callback Modifies a member variable of class MR::MarchingCubesParams named cb.
Calls MR_MarchingCubesParams_Set_cb(). The reference to the parameter value might be preserved in this object in element cb.
| void meshlib::MarchingCubesParams::set_free_volume | ( | value:&meshlib::std_function_void | ) |
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.
Calls MR_MarchingCubesParams_Set_freeVolume(). The reference to the parameter value might be preserved in this object in element freeVolume.
| void meshlib::MarchingCubesParams::set_iso | ( | value:f32 | ) |
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::set_less_inside | ( | value:bool | ) |
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::set_max_vertices | ( | value:core::ffi::c_int | ) |
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::set_origin | ( | value:meshlib::Vector3f | ) |
origin point of voxels box in 3D space with output mesh Modifies a member variable of class MR::MarchingCubesParams named origin.
Calls MR_MarchingCubesParams_Set_origin(). The reference to the parameter value might be preserved in this object in element origin.
| void meshlib::MarchingCubesParams::set_out_grid_to_mesh_xf | ( | value:Option<&mut meshlib::AffineXf3f > | ) |
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.
Calls MR_MarchingCubesParams_Set_outGridToMeshXf(). The reference to the parameter value might be preserved in this object in element outGridToMeshXf.
| void meshlib::MarchingCubesParams::set_out_voxel_per_face_map | ( | value:Option<&mut meshlib::Vector_MR_VoxelId_MR_FaceId > | ) |
optional output map FaceId->VoxelId Modifies a member variable of class MR::MarchingCubesParams named outVoxelPerFaceMap.
Calls MR_MarchingCubesParams_Set_outVoxelPerFaceMap(). The reference to the parameter value might be preserved in this object in element outVoxelPerFaceMap.
| void meshlib::MarchingCubesParams::set_positioner | ( | value:&meshlib::std_function_MR_Vector3f_from_const_MR_Vector3f_ref_const_MR_Vector3f_ref_float_float_float | ) |
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.
Calls MR_MarchingCubesParams_Set_positioner(). The reference to the parameter value might be preserved in this object in element positioner.