Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::PolylineSubdivideSettings > |
| static auto | construct_from (maxEdgeLen:f32, maxEdgeSplits:core::ffi::c_int, region:Option<&mut meshlib::VertBitSet >, newVerts:Option<&mut meshlib::VertBitSet >, useCurvature:bool, onVertCreated:&meshlib::std_function_void_from_MR_VertId, onEdgeSplit:&meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId, progressCallback:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::PolylineSubdivideSettings > |
| static auto | construct_from_another (_other:&meshlib::PolylineSubdivideSettings) -> meshlib::Owned< meshlib::PolylineSubdivideSettings > |
| 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::PolylineSubdivideSettings.
Generated from class MR::PolylineSubdivideSettings. Heap-allocated instances are held in Owned<PolylineSubdivideSettings>.
| auto meshlib::PolylineSubdivideSettings::assign_from_another | ( | _other:&meshlib::PolylineSubdivideSettings | ) | -> &mut meshlib::PolylineSubdivideSettings |
Generated from method MR::PolylineSubdivideSettings::operator=.
Calls MR_PolylineSubdivideSettings_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::PolylineSubdivideSettings elementwise.
Calls MR_PolylineSubdivideSettings_ConstructFrom(). The reference to the parameter region might be preserved in the constructed object. The reference to the parameter newVerts might be preserved in the constructed object. The reference to the parameter onVertCreated might be preserved in the constructed object. The reference to the parameter onEdgeSplit might be preserved in the constructed object. The reference to the parameter progressCallback might be preserved in the constructed object.
|
static |
Generated from constructor MR::PolylineSubdivideSettings::PolylineSubdivideSettings.
Calls MR_PolylineSubdivideSettings_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::PolylineSubdivideSettings::max_edge_len | ( | ) | const -> &f32 |
Subdivision is stopped when all edges are not longer than this value Returns a pointer to a member variable of class MR::PolylineSubdivideSettings named maxEdgeLen.
Calls MR_PolylineSubdivideSettings_Get_maxEdgeLen(). The reference to this object might be preserved as the return value.
| auto meshlib::PolylineSubdivideSettings::max_edge_len_mut | ( | ) | -> &mut f32 |
Subdivision is stopped when all edges are not longer than this value Returns a mutable pointer to a member variable of class MR::PolylineSubdivideSettings named maxEdgeLen.
Calls MR_PolylineSubdivideSettings_GetMutable_maxEdgeLen(). The reference to this object might be preserved as the return value.
| auto meshlib::PolylineSubdivideSettings::max_edge_splits | ( | ) | const -> &core::ffi::c_int |
Maximum number of edge splits allowed Returns a pointer to a member variable of class MR::PolylineSubdivideSettings named maxEdgeSplits.
Calls MR_PolylineSubdivideSettings_Get_maxEdgeSplits(). The reference to this object might be preserved as the return value.
| auto meshlib::PolylineSubdivideSettings::max_edge_splits_mut | ( | ) | -> &mut core::ffi::c_int |
Maximum number of edge splits allowed Returns a mutable pointer to a member variable of class MR::PolylineSubdivideSettings named maxEdgeSplits.
Calls MR_PolylineSubdivideSettings_GetMutable_maxEdgeSplits(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_PolylineSubdivideSettings_DefaultConstruct().
| auto meshlib::PolylineSubdivideSettings::new_verts | ( | ) | const -> *const *mut meshlib::ffi::MR_VertBitSet |
New vertices appeared during subdivision will be added here Returns a pointer to a member variable of class MR::PolylineSubdivideSettings named newVerts.
Calls MR_PolylineSubdivideSettings_Get_newVerts(). 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::PolylineSubdivideSettings::new_verts_mut | ( | ) | -> *mut *mut meshlib::ffi::MR_VertBitSet |
New vertices appeared during subdivision will be added here Returns a mutable pointer to a member variable of class MR::PolylineSubdivideSettings named newVerts.
Calls MR_PolylineSubdivideSettings_GetMutable_newVerts(). 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::PolylineSubdivideSettings::on_edge_split | ( | ) | const -> &meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId |
this function is called each time edge (e) is split into (e1->e) Returns a pointer to a member variable of class MR::PolylineSubdivideSettings named onEdgeSplit.
Calls MR_PolylineSubdivideSettings_Get_onEdgeSplit(). The reference to this object might be preserved as the return value.
| auto meshlib::PolylineSubdivideSettings::on_edge_split_mut | ( | ) | -> &mut meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId |
this function is called each time edge (e) is split into (e1->e) Returns a mutable pointer to a member variable of class MR::PolylineSubdivideSettings named onEdgeSplit.
Calls MR_PolylineSubdivideSettings_GetMutable_onEdgeSplit(). The reference to this object might be preserved as the return value.
| auto meshlib::PolylineSubdivideSettings::on_vert_created | ( | ) | const -> &meshlib::std_function_void_from_MR_VertId |
this function is called each time a new vertex has been created Returns a pointer to a member variable of class MR::PolylineSubdivideSettings named onVertCreated.
Calls MR_PolylineSubdivideSettings_Get_onVertCreated(). The reference to this object might be preserved as the return value.
| auto meshlib::PolylineSubdivideSettings::on_vert_created_mut | ( | ) | -> &mut meshlib::std_function_void_from_MR_VertId |
this function is called each time a new vertex has been created Returns a mutable pointer to a member variable of class MR::PolylineSubdivideSettings named onVertCreated.
Calls MR_PolylineSubdivideSettings_GetMutable_onVertCreated(). The reference to this object might be preserved as the return value.
| auto meshlib::PolylineSubdivideSettings::progress_callback | ( | ) | const -> &meshlib::std_function_bool_from_float |
callback to report algorithm progress and cancel it by user request Returns a pointer to a member variable of class MR::PolylineSubdivideSettings named progressCallback.
Calls MR_PolylineSubdivideSettings_Get_progressCallback(). The reference to this object might be preserved as the return value.
| auto meshlib::PolylineSubdivideSettings::progress_callback_mut | ( | ) | -> &mut meshlib::std_function_bool_from_float |
callback to report algorithm progress and cancel it by user request Returns a mutable pointer to a member variable of class MR::PolylineSubdivideSettings named progressCallback.
Calls MR_PolylineSubdivideSettings_GetMutable_progressCallback(). The reference to this object might be preserved as the return value.
| auto meshlib::PolylineSubdivideSettings::region | ( | ) | const -> *const *mut meshlib::ffi::MR_VertBitSet |
Region on polyline to be subdivided: both edge vertices must be there to allow spitting, it is updated during the operation Returns a pointer to a member variable of class MR::PolylineSubdivideSettings named region.
Calls MR_PolylineSubdivideSettings_Get_region(). 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::PolylineSubdivideSettings::region_mut | ( | ) | -> *mut *mut meshlib::ffi::MR_VertBitSet |
Region on polyline to be subdivided: both edge vertices must be there to allow spitting, it is updated during the operation Returns a mutable pointer to a member variable of class MR::PolylineSubdivideSettings named region.
Calls MR_PolylineSubdivideSettings_GetMutable_region(). 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.
| void meshlib::PolylineSubdivideSettings::set_max_edge_len | ( | value:f32 | ) |
Subdivision is stopped when all edges are not longer than this value Modifies a member variable of class MR::PolylineSubdivideSettings named maxEdgeLen.
Calls MR_PolylineSubdivideSettings_Set_maxEdgeLen().
| void meshlib::PolylineSubdivideSettings::set_max_edge_splits | ( | value:core::ffi::c_int | ) |
Maximum number of edge splits allowed Modifies a member variable of class MR::PolylineSubdivideSettings named maxEdgeSplits.
Calls MR_PolylineSubdivideSettings_Set_maxEdgeSplits().
| void meshlib::PolylineSubdivideSettings::set_new_verts | ( | value:Option<&mut meshlib::VertBitSet > | ) |
New vertices appeared during subdivision will be added here Modifies a member variable of class MR::PolylineSubdivideSettings named newVerts.
Calls MR_PolylineSubdivideSettings_Set_newVerts(). The reference to the parameter value might be preserved in this object in element newVerts.
| void meshlib::PolylineSubdivideSettings::set_on_edge_split | ( | value:&meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId | ) |
this function is called each time edge (e) is split into (e1->e) Modifies a member variable of class MR::PolylineSubdivideSettings named onEdgeSplit.
Calls MR_PolylineSubdivideSettings_Set_onEdgeSplit(). The reference to the parameter value might be preserved in this object in element onEdgeSplit.
| void meshlib::PolylineSubdivideSettings::set_on_vert_created | ( | value:&meshlib::std_function_void_from_MR_VertId | ) |
this function is called each time a new vertex has been created Modifies a member variable of class MR::PolylineSubdivideSettings named onVertCreated.
Calls MR_PolylineSubdivideSettings_Set_onVertCreated(). The reference to the parameter value might be preserved in this object in element onVertCreated.
| void meshlib::PolylineSubdivideSettings::set_progress_callback | ( | value:&meshlib::std_function_bool_from_float | ) |
callback to report algorithm progress and cancel it by user request Modifies a member variable of class MR::PolylineSubdivideSettings named progressCallback.
Calls MR_PolylineSubdivideSettings_Set_progressCallback(). The reference to the parameter value might be preserved in this object in element progressCallback.
| void meshlib::PolylineSubdivideSettings::set_region | ( | value:Option<&mut meshlib::VertBitSet > | ) |
Region on polyline to be subdivided: both edge vertices must be there to allow spitting, it is updated during the operation Modifies a member variable of class MR::PolylineSubdivideSettings named region.
Calls MR_PolylineSubdivideSettings_Set_region(). The reference to the parameter value might be preserved in this object in element region.
| void meshlib::PolylineSubdivideSettings::set_use_curvature | ( | value:bool | ) |
This option works best for natural lines, where all segments have similar size, and no sharp angles in between Modifies a member variable of class MR::PolylineSubdivideSettings named useCurvature.
Calls MR_PolylineSubdivideSettings_Set_useCurvature().
| auto meshlib::PolylineSubdivideSettings::use_curvature | ( | ) | const -> &bool |
This option works best for natural lines, where all segments have similar size, and no sharp angles in between Returns a pointer to a member variable of class MR::PolylineSubdivideSettings named useCurvature.
Calls MR_PolylineSubdivideSettings_Get_useCurvature(). The reference to this object might be preserved as the return value.
| auto meshlib::PolylineSubdivideSettings::use_curvature_mut | ( | ) | -> &mut bool |
This option works best for natural lines, where all segments have similar size, and no sharp angles in between Returns a mutable pointer to a member variable of class MR::PolylineSubdivideSettings named useCurvature.
Calls MR_PolylineSubdivideSettings_GetMutable_useCurvature(). The reference to this object might be preserved as the return value.