Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::mesh_components::ExpandToComponentsParams) -> &mut meshlib::mesh_components::ExpandToComponentsParams |
| auto | cover_ratio () const -> &f32 |
| auto | cover_ratio_mut () -> &mut f32 |
| void | set_cover_ratio (value:f32) |
| auto | incidence () const -> &meshlib::mesh_components::FaceIncidence |
| auto | incidence_mut () -> &mut meshlib::mesh_components::FaceIncidence |
| void | set_incidence (value:meshlib::mesh_components::FaceIncidence) |
| auto | is_comp_bd () const -> *const *const meshlib::ffi::MR_UndirectedEdgeBitSet |
| auto | is_comp_bd_mut () -> *mut *const meshlib::ffi::MR_UndirectedEdgeBitSet |
| void | set_is_comp_bd (value:Option<&meshlib::UndirectedEdgeBitSet >) |
| auto | opt_out_num_components () const -> *const *mut core::ffi::c_int |
| auto | opt_out_num_components_mut () -> *mut *mut core::ffi::c_int |
| void | set_opt_out_num_components (value:Option<&mut core::ffi::c_int >) |
| auto | cb () const -> &meshlib::std_function_bool_from_float |
| auto | cb_mut () -> &mut meshlib::std_function_bool_from_float |
| void | set_cb (value:&meshlib::std_function_bool_from_float) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::mesh_components::ExpandToComponentsParams > |
| static auto | construct_from (coverRatio:f32, incidence:meshlib::mesh_components::FaceIncidence, isCompBd:Option<&meshlib::UndirectedEdgeBitSet >, optOutNumComponents:Option<&mut core::ffi::c_int >, cb:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::mesh_components::ExpandToComponentsParams > |
| static auto | construct_from_another (_other:&meshlib::mesh_components::ExpandToComponentsParams) -> meshlib::Owned< meshlib::mesh_components::ExpandToComponentsParams > |
| 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::MeshComponents::ExpandToComponentsParams.
Generated from class MR::MeshComponents::ExpandToComponentsParams. Heap-allocated instances are held in Owned<ExpandToComponentsParams>.
| auto meshlib::mesh_components::ExpandToComponentsParams::assign_from_another | ( | _other:&meshlib::mesh_components::ExpandToComponentsParams | ) | -> &mut meshlib::mesh_components::ExpandToComponentsParams |
Generated from method MR::MeshComponents::ExpandToComponentsParams::operator=.
Calls MR_MeshComponents_ExpandToComponentsParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::mesh_components::ExpandToComponentsParams::cb | ( | ) | const -> &meshlib::std_function_bool_from_float |
Returns a pointer to a member variable of class MR::MeshComponents::ExpandToComponentsParams named cb.
Calls MR_MeshComponents_ExpandToComponentsParams_Get_cb(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_components::ExpandToComponentsParams::cb_mut | ( | ) | -> &mut meshlib::std_function_bool_from_float |
Returns a mutable pointer to a member variable of class MR::MeshComponents::ExpandToComponentsParams named cb.
Calls MR_MeshComponents_ExpandToComponentsParams_GetMutable_cb(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::MeshComponents::ExpandToComponentsParams elementwise.
Calls MR_MeshComponents_ExpandToComponentsParams_ConstructFrom(). The reference to the parameter incidence might be preserved in the constructed object. The reference to the parameter isCompBd might be preserved in the constructed object. The reference to the parameter optOutNumComponents might be preserved in the constructed object. The reference to the parameter cb might be preserved in the constructed object.
|
static |
Generated from constructor MR::MeshComponents::ExpandToComponentsParams::ExpandToComponentsParams.
Calls MR_MeshComponents_ExpandToComponentsParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::mesh_components::ExpandToComponentsParams::cover_ratio | ( | ) | const -> &f32 |
expands only if seeds cover at least this ratio of the component area <=0 - expands all seeds
1 - none Returns a pointer to a member variable of class MR::MeshComponents::ExpandToComponentsParams named coverRatio.
Calls MR_MeshComponents_ExpandToComponentsParams_Get_coverRatio(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_components::ExpandToComponentsParams::cover_ratio_mut | ( | ) | -> &mut f32 |
expands only if seeds cover at least this ratio of the component area <=0 - expands all seeds
1 - none Returns a mutable pointer to a member variable of class MR::MeshComponents::ExpandToComponentsParams named coverRatio.
Calls MR_MeshComponents_ExpandToComponentsParams_GetMutable_coverRatio(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_components::ExpandToComponentsParams::incidence | ( | ) | const -> &meshlib::mesh_components::FaceIncidence |
Returns a pointer to a member variable of class MR::MeshComponents::ExpandToComponentsParams named incidence.
Calls MR_MeshComponents_ExpandToComponentsParams_Get_incidence(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_components::ExpandToComponentsParams::incidence_mut | ( | ) | -> &mut meshlib::mesh_components::FaceIncidence |
Returns a mutable pointer to a member variable of class MR::MeshComponents::ExpandToComponentsParams named incidence.
Calls MR_MeshComponents_ExpandToComponentsParams_GetMutable_incidence(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_components::ExpandToComponentsParams::is_comp_bd | ( | ) | const -> *const *const meshlib::ffi::MR_UndirectedEdgeBitSet |
optional predicate of boundaries between components Returns a pointer to a member variable of class MR::MeshComponents::ExpandToComponentsParams named isCompBd.
Calls MR_MeshComponents_ExpandToComponentsParams_Get_isCompBd(). 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::mesh_components::ExpandToComponentsParams::is_comp_bd_mut | ( | ) | -> *mut *const meshlib::ffi::MR_UndirectedEdgeBitSet |
optional predicate of boundaries between components Returns a mutable pointer to a member variable of class MR::MeshComponents::ExpandToComponentsParams named isCompBd.
Calls MR_MeshComponents_ExpandToComponentsParams_GetMutable_isCompBd(). 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.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_MeshComponents_ExpandToComponentsParams_DefaultConstruct().
| auto meshlib::mesh_components::ExpandToComponentsParams::opt_out_num_components | ( | ) | const -> *const *mut core::ffi::c_int |
optional output number of components Returns a pointer to a member variable of class MR::MeshComponents::ExpandToComponentsParams named optOutNumComponents.
Calls MR_MeshComponents_ExpandToComponentsParams_Get_optOutNumComponents(). 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::mesh_components::ExpandToComponentsParams::opt_out_num_components_mut | ( | ) | -> *mut *mut core::ffi::c_int |
optional output number of components Returns a mutable pointer to a member variable of class MR::MeshComponents::ExpandToComponentsParams named optOutNumComponents.
Calls MR_MeshComponents_ExpandToComponentsParams_GetMutable_optOutNumComponents(). 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::mesh_components::ExpandToComponentsParams::set_cb | ( | value:&meshlib::std_function_bool_from_float | ) |
Modifies a member variable of class MR::MeshComponents::ExpandToComponentsParams named cb.
Calls MR_MeshComponents_ExpandToComponentsParams_Set_cb(). The reference to the parameter value might be preserved in this object in element cb.
| void meshlib::mesh_components::ExpandToComponentsParams::set_cover_ratio | ( | value:f32 | ) |
expands only if seeds cover at least this ratio of the component area <=0 - expands all seeds
1 - none Modifies a member variable of class MR::MeshComponents::ExpandToComponentsParams named coverRatio.
Calls MR_MeshComponents_ExpandToComponentsParams_Set_coverRatio().
| void meshlib::mesh_components::ExpandToComponentsParams::set_incidence | ( | value:meshlib::mesh_components::FaceIncidence | ) |
Modifies a member variable of class MR::MeshComponents::ExpandToComponentsParams named incidence.
Calls MR_MeshComponents_ExpandToComponentsParams_Set_incidence(). The reference to the parameter value might be preserved in this object in element incidence.
| void meshlib::mesh_components::ExpandToComponentsParams::set_is_comp_bd | ( | value:Option<&meshlib::UndirectedEdgeBitSet > | ) |
optional predicate of boundaries between components Modifies a member variable of class MR::MeshComponents::ExpandToComponentsParams named isCompBd.
Calls MR_MeshComponents_ExpandToComponentsParams_Set_isCompBd(). The reference to the parameter value might be preserved in this object in element isCompBd.
| void meshlib::mesh_components::ExpandToComponentsParams::set_opt_out_num_components | ( | value:Option<&mut core::ffi::c_int > | ) |
optional output number of components Modifies a member variable of class MR::MeshComponents::ExpandToComponentsParams named optOutNumComponents.
Calls MR_MeshComponents_ExpandToComponentsParams_Set_optOutNumComponents(). The reference to the parameter value might be preserved in this object in element optOutNumComponents.