Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::MeshFromVoxelsPostProcessingParams) -> &mut meshlib::MeshFromVoxelsPostProcessingParams |
| auto | voxel_size () const -> &f32 |
| auto | voxel_size_mut () -> &mut f32 |
| void | set_voxel_size (value:f32) |
| auto | reduce_angle_num_iters () const -> &core::ffi::c_int |
| auto | reduce_angle_num_iters_mut () -> &mut core::ffi::c_int |
| void | set_reduce_angle_num_iters (value:core::ffi::c_int) |
| auto | decimate () const -> &bool |
| auto | decimate_mut () -> &mut bool |
| void | set_decimate (value:bool) |
| auto | tiny_edge_length () const -> &f32 |
| auto | tiny_edge_length_mut () -> &mut f32 |
| void | set_tiny_edge_length (value:f32) |
| auto | sharp_edges () const -> *const *mut meshlib::ffi::MR_UndirectedEdgeBitSet |
| auto | sharp_edges_mut () -> *mut *mut meshlib::ffi::MR_UndirectedEdgeBitSet |
| void | set_sharp_edges (value:Option<&mut meshlib::UndirectedEdgeBitSet >) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::MeshFromVoxelsPostProcessingParams > |
| static auto | construct_from (voxelSize:f32, reduceAngleNumIters:core::ffi::c_int, decimate:bool, tinyEdgeLength:f32, sharpEdges:Option<&mut meshlib::UndirectedEdgeBitSet >) -> meshlib::Owned< meshlib::MeshFromVoxelsPostProcessingParams > |
| static auto | construct_from_another (_other:&meshlib::MeshFromVoxelsPostProcessingParams) -> meshlib::Owned< meshlib::MeshFromVoxelsPostProcessingParams > |
| 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::MeshFromVoxelsPostProcessingParams.
Generated from class MR::MeshFromVoxelsPostProcessingParams. Heap-allocated instances are held in Owned<MeshFromVoxelsPostProcessingParams>.
| auto meshlib::MeshFromVoxelsPostProcessingParams::assign_from_another | ( | _other:&meshlib::MeshFromVoxelsPostProcessingParams | ) | -> &mut meshlib::MeshFromVoxelsPostProcessingParams |
Generated from method MR::MeshFromVoxelsPostProcessingParams::operator=.
Calls MR_MeshFromVoxelsPostProcessingParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::MeshFromVoxelsPostProcessingParams elementwise.
Calls MR_MeshFromVoxelsPostProcessingParams_ConstructFrom(). The reference to the parameter sharpEdges might be preserved in the constructed object.
|
static |
Generated from constructor MR::MeshFromVoxelsPostProcessingParams::MeshFromVoxelsPostProcessingParams.
Calls MR_MeshFromVoxelsPostProcessingParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::MeshFromVoxelsPostProcessingParams::decimate | ( | ) | const -> &bool |
whether to decimate resulting mesh Returns a pointer to a member variable of class MR::MeshFromVoxelsPostProcessingParams named decimate.
Calls MR_MeshFromVoxelsPostProcessingParams_Get_decimate(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshFromVoxelsPostProcessingParams::decimate_mut | ( | ) | -> &mut bool |
whether to decimate resulting mesh Returns a mutable pointer to a member variable of class MR::MeshFromVoxelsPostProcessingParams named decimate.
Calls MR_MeshFromVoxelsPostProcessingParams_GetMutable_decimate(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_MeshFromVoxelsPostProcessingParams_DefaultConstruct().
| auto meshlib::MeshFromVoxelsPostProcessingParams::reduce_angle_num_iters | ( | ) | const -> &core::ffi::c_int |
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.
Calls MR_MeshFromVoxelsPostProcessingParams_Get_reduceAngleNumIters(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshFromVoxelsPostProcessingParams::reduce_angle_num_iters_mut | ( | ) | -> &mut core::ffi::c_int |
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 mutable pointer to a member variable of class MR::MeshFromVoxelsPostProcessingParams named reduceAngleNumIters.
Calls MR_MeshFromVoxelsPostProcessingParams_GetMutable_reduceAngleNumIters(). The reference to this object might be preserved as the return value.
| void meshlib::MeshFromVoxelsPostProcessingParams::set_decimate | ( | value:bool | ) |
whether to decimate resulting mesh Modifies a member variable of class MR::MeshFromVoxelsPostProcessingParams named decimate.
Calls MR_MeshFromVoxelsPostProcessingParams_Set_decimate().
| void meshlib::MeshFromVoxelsPostProcessingParams::set_reduce_angle_num_iters | ( | value:core::ffi::c_int | ) |
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().
| void meshlib::MeshFromVoxelsPostProcessingParams::set_sharp_edges | ( | value:Option<&mut meshlib::UndirectedEdgeBitSet > | ) |
sharp edges that are maintained during post-processing Modifies a member variable of class MR::MeshFromVoxelsPostProcessingParams named sharpEdges.
Calls MR_MeshFromVoxelsPostProcessingParams_Set_sharpEdges(). The reference to the parameter value might be preserved in this object in element sharpEdges.
| void meshlib::MeshFromVoxelsPostProcessingParams::set_tiny_edge_length | ( | value:f32 | ) |
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().
| void meshlib::MeshFromVoxelsPostProcessingParams::set_voxel_size | ( | value:f32 | ) |
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().
| auto meshlib::MeshFromVoxelsPostProcessingParams::sharp_edges | ( | ) | const -> *const *mut meshlib::ffi::MR_UndirectedEdgeBitSet |
sharp edges that are maintained during post-processing Returns a pointer to a member variable of class MR::MeshFromVoxelsPostProcessingParams named sharpEdges.
Calls MR_MeshFromVoxelsPostProcessingParams_Get_sharpEdges(). 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::MeshFromVoxelsPostProcessingParams::sharp_edges_mut | ( | ) | -> *mut *mut meshlib::ffi::MR_UndirectedEdgeBitSet |
sharp edges that are maintained during post-processing Returns a mutable pointer to a member variable of class MR::MeshFromVoxelsPostProcessingParams named sharpEdges.
Calls MR_MeshFromVoxelsPostProcessingParams_GetMutable_sharpEdges(). 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::MeshFromVoxelsPostProcessingParams::tiny_edge_length | ( | ) | const -> &f32 |
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.
Calls MR_MeshFromVoxelsPostProcessingParams_Get_tinyEdgeLength(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshFromVoxelsPostProcessingParams::tiny_edge_length_mut | ( | ) | -> &mut f32 |
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 mutable pointer to a member variable of class MR::MeshFromVoxelsPostProcessingParams named tinyEdgeLength.
Calls MR_MeshFromVoxelsPostProcessingParams_GetMutable_tinyEdgeLength(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshFromVoxelsPostProcessingParams::voxel_size | ( | ) | const -> &f32 |
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.
Calls MR_MeshFromVoxelsPostProcessingParams_Get_voxelSize(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshFromVoxelsPostProcessingParams::voxel_size_mut | ( | ) | -> &mut f32 |
The size of voxel that was used for mesh creation, must be set Returns a mutable pointer to a member variable of class MR::MeshFromVoxelsPostProcessingParams named voxelSize.
Calls MR_MeshFromVoxelsPostProcessingParams_GetMutable_voxelSize(). The reference to this object might be preserved as the return value.