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

Public Member Functions

auto assign_from_another (_other:&meshlib::weighted_shell::ParametersRegions) -> &mut meshlib::weighted_shell::ParametersRegions
auto regions () const -> &meshlib::std_vector_MR_WeightedShell_ParametersRegions_Region
auto regions_mut () -> &mut meshlib::std_vector_MR_WeightedShell_ParametersRegions_Region
void set_regions (value:&meshlib::std_vector_MR_WeightedShell_ParametersRegions_Region)
auto interpolation_dist () const -> &f32
auto interpolation_dist_mut () -> &mut f32
void set_interpolation_dist (value:f32)
auto bidirectional_mode () const -> &bool
auto bidirectional_mode_mut () -> &mut bool
void set_bidirectional_mode (value:bool)
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::ParametersRegions >
static auto construct_from_another (_other:&meshlib::weighted_shell::ParametersRegions) -> meshlib::Owned< meshlib::weighted_shell::ParametersRegions >
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::ParametersRegions. Base classes: Direct: (non-virtual) MR::WeightedShell::ParametersBase

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ bidirectional_mode()

auto meshlib::weighted_shell::ParametersRegions::bidirectional_mode ( ) const -> &bool

if true the distances grow in both directions from each triangle, reaching minimum in the triangle; if false the distances grow to infinity in the direction of triangle's normals, and decrease to minus infinity in the opposite direction Returns a pointer to a member variable of class MR::WeightedShell::ParametersRegions named bidirectionalMode.

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

◆ bidirectional_mode_mut()

auto meshlib::weighted_shell::ParametersRegions::bidirectional_mode_mut ( ) -> &mut bool

if true the distances grow in both directions from each triangle, reaching minimum in the triangle; if false the distances grow to infinity in the direction of triangle's normals, and decrease to minus infinity in the opposite direction Returns a mutable pointer to a member variable of class MR::WeightedShell::ParametersRegions named bidirectionalMode.

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

◆ construct_from_another()

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

Generated from constructor MR::WeightedShell::ParametersRegions::ParametersRegions.

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

◆ interpolation_dist()

auto meshlib::weighted_shell::ParametersRegions::interpolation_dist ( ) const -> &f32

interpolation distance between the weights of the regions determines the sharpness of transitions between different regions Returns a pointer to a member variable of class MR::WeightedShell::ParametersRegions named interpolationDist.

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

◆ interpolation_dist_mut()

auto meshlib::weighted_shell::ParametersRegions::interpolation_dist_mut ( ) -> &mut f32

interpolation distance between the weights of the regions determines the sharpness of transitions between different regions Returns a mutable pointer to a member variable of class MR::WeightedShell::ParametersRegions named interpolationDist.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_WeightedShell_ParametersRegions_DefaultConstruct().

◆ num_layers()

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

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

◆ num_layers_mut()

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

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

◆ offset()

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

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

◆ offset_mut()

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

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

◆ progress()

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

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

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

◆ progress_mut()

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

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

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

◆ regions()

auto meshlib::weighted_shell::ParametersRegions::regions ( ) const -> &meshlib::std_vector_MR_WeightedShell_ParametersRegions_Region

list of regions (overlappings are allowed) with corresponding offsets the additional offset in overlaps is set to the average of the regions Returns a pointer to a member variable of class MR::WeightedShell::ParametersRegions named regions.

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

◆ regions_mut()

auto meshlib::weighted_shell::ParametersRegions::regions_mut ( ) -> &mut meshlib::std_vector_MR_WeightedShell_ParametersRegions_Region

list of regions (overlappings are allowed) with corresponding offsets the additional offset in overlaps is set to the average of the regions Returns a mutable pointer to a member variable of class MR::WeightedShell::ParametersRegions named regions.

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

◆ set_bidirectional_mode()

void meshlib::weighted_shell::ParametersRegions::set_bidirectional_mode ( value:bool )

if true the distances grow in both directions from each triangle, reaching minimum in the triangle; if false the distances grow to infinity in the direction of triangle's normals, and decrease to minus infinity in the opposite direction Modifies a member variable of class MR::WeightedShell::ParametersRegions named bidirectionalMode.

Calls MR_WeightedShell_ParametersRegions_Set_bidirectionalMode().

◆ set_interpolation_dist()

void meshlib::weighted_shell::ParametersRegions::set_interpolation_dist ( value:f32 )

interpolation distance between the weights of the regions determines the sharpness of transitions between different regions Modifies a member variable of class MR::WeightedShell::ParametersRegions named interpolationDist.

Calls MR_WeightedShell_ParametersRegions_Set_interpolationDist().

◆ set_num_layers()

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

Calls MR_WeightedShell_ParametersRegions_Set_numLayers().

◆ set_offset()

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

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

Calls MR_WeightedShell_ParametersRegions_Set_offset().

◆ set_progress()

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

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

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

◆ set_regions()

void meshlib::weighted_shell::ParametersRegions::set_regions ( value:&meshlib::std_vector_MR_WeightedShell_ParametersRegions_Region )

list of regions (overlappings are allowed) with corresponding offsets the additional offset in overlaps is set to the average of the regions Modifies a member variable of class MR::WeightedShell::ParametersRegions named regions.

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

◆ set_voxel_size()

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

Calls MR_WeightedShell_ParametersRegions_Set_voxelSize().

◆ static_downcast_from_parameters_base()

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

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

Calls MR_WeightedShell_ParametersRegions_StaticDowncastFrom_MR_WeightedShell_ParametersBase(). Undefined behavior if the object isn't actually a ParametersRegions.

Note
This function is unsafe.

◆ static_downcast_from_parameters_base_mut()

auto meshlib::weighted_shell::ParametersRegions::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_ParametersRegions_MutableStaticDowncastFrom_MR_WeightedShell_ParametersBase(). Undefined behavior if the object isn't actually a ParametersRegions.

Note
This function is unsafe.

◆ upcast_to_parameters_base()

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

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

Calls MR_WeightedShell_ParametersRegions_UpcastTo_MR_WeightedShell_ParametersBase().

◆ upcast_to_parameters_base_mut()

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

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

Calls MR_WeightedShell_ParametersRegions_MutableUpcastTo_MR_WeightedShell_ParametersBase().

◆ voxel_size()

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

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

◆ voxel_size_mut()

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

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