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

Public Member Functions

auto assign_from_another (_other:&meshlib::weighted_shell::ParametersMetric) -> &mut meshlib::weighted_shell::ParametersMetric
auto dist () const -> &meshlib::DistanceFromWeightedPointsParams
auto dist_mut () -> &mut meshlib::DistanceFromWeightedPointsParams
void set_dist (value:&meshlib::DistanceFromWeightedPointsParams)
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)
auto upcast_to_parameters_base () const -> &meshlib::weighted_shell::ParametersBase
auto upcast_to_parameters_base_mut () -> &mut meshlib::weighted_shell::ParametersBase

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::weighted_shell::ParametersMetric >
static auto construct_from_another (_other:&meshlib::weighted_shell::ParametersMetric) -> meshlib::Owned< meshlib::weighted_shell::ParametersMetric >
static auto static_downcast_from_parameters_base (object:&meshlib::weighted_shell::ParametersBase) -> &Self
static auto static_downcast_from_parameters_base_mut (object:&mut meshlib::weighted_shell::ParametersBase) -> &mut Self
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::ParametersMetric. Base classes: Direct: (non-virtual) MR::WeightedShell::ParametersBase

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from_another()

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

Generated from constructor MR::WeightedShell::ParametersMetric::ParametersMetric.

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

◆ dist()

auto meshlib::weighted_shell::ParametersMetric::dist ( ) const -> &meshlib::DistanceFromWeightedPointsParams

parameters of distance finding Returns a pointer to a member variable of class MR::WeightedShell::ParametersMetric named dist.

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

◆ dist_mut()

auto meshlib::weighted_shell::ParametersMetric::dist_mut ( ) -> &mut meshlib::DistanceFromWeightedPointsParams

parameters of distance finding Returns a mutable pointer to a member variable of class MR::WeightedShell::ParametersMetric named dist.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_WeightedShell_ParametersMetric_DefaultConstruct().

◆ num_layers()

auto meshlib::weighted_shell::ParametersMetric::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::ParametersMetric named numLayers.

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

◆ num_layers_mut()

auto meshlib::weighted_shell::ParametersMetric::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::ParametersMetric named numLayers.

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

◆ offset()

auto meshlib::weighted_shell::ParametersMetric::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::ParametersMetric named offset.

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

◆ offset_mut()

auto meshlib::weighted_shell::ParametersMetric::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::ParametersMetric named offset.

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

◆ progress()

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

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

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

◆ progress_mut()

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

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

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

◆ set_dist()

void meshlib::weighted_shell::ParametersMetric::set_dist ( value:&meshlib::DistanceFromWeightedPointsParams )

parameters of distance finding Modifies a member variable of class MR::WeightedShell::ParametersMetric named dist.

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

◆ set_num_layers()

void meshlib::weighted_shell::ParametersMetric::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::ParametersMetric named numLayers.

Calls MR_WeightedShell_ParametersMetric_Set_numLayers().

◆ set_offset()

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

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

Calls MR_WeightedShell_ParametersMetric_Set_offset().

◆ set_progress()

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

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

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

◆ set_voxel_size()

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

Calls MR_WeightedShell_ParametersMetric_Set_voxelSize().

◆ static_downcast_from_parameters_base()

auto meshlib::weighted_shell::ParametersMetric::static_downcast_from_parameters_base ( object:&meshlib::weighted_shell::ParametersBase ) -> &Self
static

Static downcast from the base class MR::WeightedShell::ParametersBase.

Calls MR_WeightedShell_ParametersMetric_StaticDowncastFrom_MR_WeightedShell_ParametersBase(). Undefined behavior if the object isn't actually a ParametersMetric.

Note
This function is unsafe.

◆ static_downcast_from_parameters_base_mut()

auto meshlib::weighted_shell::ParametersMetric::static_downcast_from_parameters_base_mut ( object:&mut meshlib::weighted_shell::ParametersBase ) -> &mut Self
static

Static downcast from the base class MR::WeightedShell::ParametersBase.

Calls MR_WeightedShell_ParametersMetric_MutableStaticDowncastFrom_MR_WeightedShell_ParametersBase(). Undefined behavior if the object isn't actually a ParametersMetric.

Note
This function is unsafe.

◆ upcast_to_parameters_base()

auto meshlib::weighted_shell::ParametersMetric::upcast_to_parameters_base ( ) const -> &meshlib::weighted_shell::ParametersBase

Upcasts to the base class MR::WeightedShell::ParametersBase.

Calls MR_WeightedShell_ParametersMetric_UpcastTo_MR_WeightedShell_ParametersBase().

◆ upcast_to_parameters_base_mut()

auto meshlib::weighted_shell::ParametersMetric::upcast_to_parameters_base_mut ( ) -> &mut meshlib::weighted_shell::ParametersBase

Upcasts to the base class MR::WeightedShell::ParametersBase.

Calls MR_WeightedShell_ParametersMetric_MutableUpcastTo_MR_WeightedShell_ParametersBase().

◆ voxel_size()

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

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

◆ voxel_size_mut()

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

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