MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::mesh_components::ExpandToComponentsParams Struct Reference
Inheritance diagram for meshlib::mesh_components::ExpandToComponentsParams:

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

Detailed Description

Generated from class MR::MeshComponents::ExpandToComponentsParams.

Generated from class MR::MeshComponents::ExpandToComponentsParams. Heap-allocated instances are held in Owned<ExpandToComponentsParams>.

Member Function Documentation

◆ assign_from_another()

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.

◆ cb()

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.

◆ cb_mut()

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.

◆ construct_from()

auto meshlib::mesh_components::ExpandToComponentsParams::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

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.

◆ construct_from_another()

auto meshlib::mesh_components::ExpandToComponentsParams::construct_from_another ( _other:&meshlib::mesh_components::ExpandToComponentsParams ) -> meshlib::Owned< meshlib::mesh_components::ExpandToComponentsParams >
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.

◆ cover_ratio()

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.

◆ cover_ratio_mut()

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.

◆ incidence()

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.

◆ incidence_mut()

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.

◆ is_comp_bd()

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.

◆ is_comp_bd_mut()

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.

◆ new()

auto meshlib::mesh_components::ExpandToComponentsParams::new ( ) -> meshlib::Owned< meshlib::mesh_components::ExpandToComponentsParams >
static

Constructs an empty (default-constructed) instance.

Calls MR_MeshComponents_ExpandToComponentsParams_DefaultConstruct().

◆ opt_out_num_components()

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.

◆ opt_out_num_components_mut()

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.

◆ set_cb()

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.

◆ set_cover_ratio()

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().

◆ set_incidence()

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.

◆ set_is_comp_bd()

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.

◆ set_opt_out_num_components()

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.


The documentation for this struct was generated from the following file: