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

Public Member Functions

auto assign_from_another (_other:&meshlib::BaseShellParameters) -> &mut meshlib::BaseShellParameters
auto voxel_size () const -> &f32
auto voxel_size_mut () -> &mut f32
void set_voxel_size (value:f32)
auto call_back () const -> &meshlib::std_function_bool_from_float
auto call_back_mut () -> &mut meshlib::std_function_bool_from_float
void set_call_back (value:&meshlib::std_function_bool_from_float)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::BaseShellParameters >
static auto construct_from (voxelSize:f32, callBack:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::BaseShellParameters >
static auto construct_from_another (_other:&meshlib::BaseShellParameters) -> meshlib::Owned< meshlib::BaseShellParameters >
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::BaseShellParameters. Derived classes: Direct: (non-virtual) MR::OffsetParameters Indirect: (non-virtual) MR::GeneralOffsetParameters MR::SharpOffsetParameters

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::BaseShellParameters::assign_from_another ( _other:&meshlib::BaseShellParameters ) -> &mut meshlib::BaseShellParameters

Generated from method MR::BaseShellParameters::operator=.

Calls MR_BaseShellParameters_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ call_back()

auto meshlib::BaseShellParameters::call_back ( ) const -> &meshlib::std_function_bool_from_float

Progress callback Returns a pointer to a member variable of class MR::BaseShellParameters named callBack.

Calls MR_BaseShellParameters_Get_callBack(). The reference to this object might be preserved as the return value.

◆ call_back_mut()

auto meshlib::BaseShellParameters::call_back_mut ( ) -> &mut meshlib::std_function_bool_from_float

Progress callback Returns a mutable pointer to a member variable of class MR::BaseShellParameters named callBack.

Calls MR_BaseShellParameters_GetMutable_callBack(). The reference to this object might be preserved as the return value.

◆ construct_from()

auto meshlib::BaseShellParameters::construct_from ( voxelSize:f32 ,
callBack:&meshlib::std_function_bool_from_float  ) -> meshlib::Owned< meshlib::BaseShellParameters >
static

Constructs MR::BaseShellParameters elementwise.

Calls MR_BaseShellParameters_ConstructFrom(). The reference to the parameter callBack might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::BaseShellParameters::construct_from_another ( _other:&meshlib::BaseShellParameters ) -> meshlib::Owned< meshlib::BaseShellParameters >
static

Generated from constructor MR::BaseShellParameters::BaseShellParameters.

Calls MR_BaseShellParameters_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ new()

auto meshlib::BaseShellParameters::new ( ) -> meshlib::Owned< meshlib::BaseShellParameters >
static

Constructs an empty (default-constructed) instance.

Calls MR_BaseShellParameters_DefaultConstruct().

◆ set_call_back()

void meshlib::BaseShellParameters::set_call_back ( value:&meshlib::std_function_bool_from_float )

Progress callback Modifies a member variable of class MR::BaseShellParameters named callBack.

Calls MR_BaseShellParameters_Set_callBack(). The reference to the parameter value might be preserved in this object in element callBack.

◆ set_voxel_size()

void meshlib::BaseShellParameters::set_voxel_size ( value:f32 )

Size of voxel in grid conversions; The user is responsible for setting some positive value here Modifies a member variable of class MR::BaseShellParameters named voxelSize.

Calls MR_BaseShellParameters_Set_voxelSize().

◆ voxel_size()

auto meshlib::BaseShellParameters::voxel_size ( ) const -> &f32

Size of voxel in grid conversions; The user is responsible for setting some positive value here Returns a pointer to a member variable of class MR::BaseShellParameters named voxelSize.

Calls MR_BaseShellParameters_Get_voxelSize(). The reference to this object might be preserved as the return value.

◆ voxel_size_mut()

auto meshlib::BaseShellParameters::voxel_size_mut ( ) -> &mut f32

Size of voxel in grid conversions; The user is responsible for setting some positive value here Returns a mutable pointer to a member variable of class MR::BaseShellParameters named voxelSize.

Calls MR_BaseShellParameters_GetMutable_voxelSize(). The reference to this object might be preserved as the return value.


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