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

Public Member Functions

auto assign_from_another (_other:&meshlib::weighted_shell::ParametersBase) -> &mut meshlib::weighted_shell::ParametersBase
auto offset () const -> &f32
auto offset_mut () -> &mut f32
void set_offset (value:f32)
auto voxel_size () const -> &f32
auto voxel_size_mut () -> &mut f32
void set_voxel_size (value:f32)
auto num_layers () const -> &f32
auto num_layers_mut () -> &mut f32
void set_num_layers (value:f32)
auto progress () const -> &meshlib::std_function_bool_from_float
auto progress_mut () -> &mut meshlib::std_function_bool_from_float
void set_progress (value:&meshlib::std_function_bool_from_float)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::weighted_shell::ParametersBase >
static auto construct_from (offset:f32, voxelSize:f32, numLayers:f32, progress:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::weighted_shell::ParametersBase >
static auto construct_from_another (_other:&meshlib::weighted_shell::ParametersBase) -> meshlib::Owned< meshlib::weighted_shell::ParametersBase >
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::WeightedShell::ParametersBase. Derived classes: Direct: (non-virtual) MR::WeightedShell::ParametersMetric MR::WeightedShell::ParametersRegions

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::weighted_shell::ParametersBase::assign_from_another ( _other:&meshlib::weighted_shell::ParametersBase ) -> &mut meshlib::weighted_shell::ParametersBase

Generated from method MR::WeightedShell::ParametersBase::operator=.

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

◆ construct_from()

auto meshlib::weighted_shell::ParametersBase::construct_from ( offset:f32 ,
voxelSize:f32 ,
numLayers:f32 ,
progress:&meshlib::std_function_bool_from_float  ) -> meshlib::Owned< meshlib::weighted_shell::ParametersBase >
static

Constructs MR::WeightedShell::ParametersBase elementwise.

Calls MR_WeightedShell_ParametersBase_ConstructFrom(). The reference to the parameter progress might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::WeightedShell::ParametersBase::ParametersBase.

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

◆ new()

auto meshlib::weighted_shell::ParametersBase::new ( ) -> meshlib::Owned< meshlib::weighted_shell::ParametersBase >
static

Constructs an empty (default-constructed) instance.

Calls MR_WeightedShell_ParametersBase_DefaultConstruct().

◆ num_layers()

auto meshlib::weighted_shell::ParametersBase::num_layers ( ) const -> &f32

number of voxels to compute near the offset (should be left default unless used for debugging) Returns a pointer to a member variable of class MR::WeightedShell::ParametersBase named numLayers.

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

◆ num_layers_mut()

auto meshlib::weighted_shell::ParametersBase::num_layers_mut ( ) -> &mut f32

number of voxels to compute near the offset (should be left default unless used for debugging) Returns a mutable pointer to a member variable of class MR::WeightedShell::ParametersBase named numLayers.

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

◆ offset()

auto meshlib::weighted_shell::ParametersBase::offset ( ) const -> &f32

build iso-surface of minimal distance to points corresponding to this value Returns a pointer to a member variable of class MR::WeightedShell::ParametersBase named offset.

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

◆ offset_mut()

auto meshlib::weighted_shell::ParametersBase::offset_mut ( ) -> &mut f32

build iso-surface of minimal distance to points corresponding to this value Returns a mutable pointer to a member variable of class MR::WeightedShell::ParametersBase named offset.

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

◆ progress()

auto meshlib::weighted_shell::ParametersBase::progress ( ) const -> &meshlib::std_function_bool_from_float

Progress callback Returns a pointer to a member variable of class MR::WeightedShell::ParametersBase named progress.

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

◆ progress_mut()

auto meshlib::weighted_shell::ParametersBase::progress_mut ( ) -> &mut meshlib::std_function_bool_from_float

Progress callback Returns a mutable pointer to a member variable of class MR::WeightedShell::ParametersBase named progress.

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

◆ set_num_layers()

void meshlib::weighted_shell::ParametersBase::set_num_layers ( value:f32 )

number of voxels to compute near the offset (should be left default unless used for debugging) Modifies a member variable of class MR::WeightedShell::ParametersBase named numLayers.

Calls MR_WeightedShell_ParametersBase_Set_numLayers().

◆ set_offset()

void meshlib::weighted_shell::ParametersBase::set_offset ( value:f32 )

build iso-surface of minimal distance to points corresponding to this value Modifies a member variable of class MR::WeightedShell::ParametersBase named offset.

Calls MR_WeightedShell_ParametersBase_Set_offset().

◆ set_progress()

void meshlib::weighted_shell::ParametersBase::set_progress ( value:&meshlib::std_function_bool_from_float )

Progress callback Modifies a member variable of class MR::WeightedShell::ParametersBase named progress.

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

◆ set_voxel_size()

void meshlib::weighted_shell::ParametersBase::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::WeightedShell::ParametersBase named voxelSize.

Calls MR_WeightedShell_ParametersBase_Set_voxelSize().

◆ voxel_size()

auto meshlib::weighted_shell::ParametersBase::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::WeightedShell::ParametersBase named voxelSize.

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

◆ voxel_size_mut()

auto meshlib::weighted_shell::ParametersBase::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::WeightedShell::ParametersBase named voxelSize.

Calls MR_WeightedShell_ParametersBase_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: