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

Public Member Functions

auto assign_from_another (_other:&meshlib::fix_undercuts::FixParams) -> &mut meshlib::fix_undercuts::FixParams
auto find_parameters () const -> &meshlib::fix_undercuts::FindParams
auto find_parameters_mut () -> &mut meshlib::fix_undercuts::FindParams
void set_find_parameters (value:&meshlib::fix_undercuts::FindParams)
auto voxel_size () const -> &f32
auto voxel_size_mut () -> &mut f32
void set_voxel_size (value:f32)
auto bottom_extension () const -> &f32
auto bottom_extension_mut () -> &mut f32
void set_bottom_extension (value:f32)
auto region () const -> *const *const meshlib::ffi::MR_FaceBitSet
auto region_mut () -> *mut *const meshlib::ffi::MR_FaceBitSet
void set_region (value:Option<&meshlib::FaceBitSet >)
auto smooth () const -> &bool
auto smooth_mut () -> &mut bool
void set_smooth (value:bool)
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::fix_undercuts::FixParams >
static auto construct_from (findParameters:&meshlib::fix_undercuts::FindParams, voxelSize:f32, bottomExtension:f32, region:Option<&meshlib::FaceBitSet >, smooth:bool, cb:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::fix_undercuts::FixParams >
static auto construct_from_another (_other:&meshlib::fix_undercuts::FixParams) -> meshlib::Owned< meshlib::fix_undercuts::FixParams >
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

Fix undercuts function parameters Generated from class MR::FixUndercuts::FixParams.

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::fix_undercuts::FixParams::assign_from_another ( _other:&meshlib::fix_undercuts::FixParams ) -> &mut meshlib::fix_undercuts::FixParams

Generated from method MR::FixUndercuts::FixParams::operator=.

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

◆ bottom_extension()

auto meshlib::fix_undercuts::FixParams::bottom_extension ( ) const -> &f32

minimum extension of bottom part of the mesh Returns a pointer to a member variable of class MR::FixUndercuts::FixParams named bottomExtension.

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

◆ bottom_extension_mut()

auto meshlib::fix_undercuts::FixParams::bottom_extension_mut ( ) -> &mut f32

minimum extension of bottom part of the mesh Returns a mutable pointer to a member variable of class MR::FixUndercuts::FixParams named bottomExtension.

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

◆ cb()

auto meshlib::fix_undercuts::FixParams::cb ( ) const -> &meshlib::std_function_bool_from_float

Returns a pointer to a member variable of class MR::FixUndercuts::FixParams named cb.

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

◆ cb_mut()

auto meshlib::fix_undercuts::FixParams::cb_mut ( ) -> &mut meshlib::std_function_bool_from_float

Returns a mutable pointer to a member variable of class MR::FixUndercuts::FixParams named cb.

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

◆ construct_from()

auto meshlib::fix_undercuts::FixParams::construct_from ( findParameters:&meshlib::fix_undercuts::FindParams ,
voxelSize:f32 ,
bottomExtension:f32 ,
region:Option<&meshlib::FaceBitSet > ,
smooth:bool ,
cb:&meshlib::std_function_bool_from_float  ) -> meshlib::Owned< meshlib::fix_undercuts::FixParams >
static

Constructs MR::FixUndercuts::FixParams elementwise.

Calls MR_FixUndercuts_FixParams_ConstructFrom(). The reference to the parameter findParameters might be preserved in the constructed object. The reference to the parameter region 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::fix_undercuts::FixParams::construct_from_another ( _other:&meshlib::fix_undercuts::FixParams ) -> meshlib::Owned< meshlib::fix_undercuts::FixParams >
static

Generated from constructor MR::FixUndercuts::FixParams::FixParams.

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

◆ find_parameters()

auto meshlib::fix_undercuts::FixParams::find_parameters ( ) const -> &meshlib::fix_undercuts::FindParams

parameters of what is considered as undercut Returns a pointer to a member variable of class MR::FixUndercuts::FixParams named findParameters.

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

◆ find_parameters_mut()

auto meshlib::fix_undercuts::FixParams::find_parameters_mut ( ) -> &mut meshlib::fix_undercuts::FindParams

parameters of what is considered as undercut Returns a mutable pointer to a member variable of class MR::FixUndercuts::FixParams named findParameters.

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

◆ new()

auto meshlib::fix_undercuts::FixParams::new ( ) -> meshlib::Owned< meshlib::fix_undercuts::FixParams >
static

Constructs an empty (default-constructed) instance.

Calls MR_FixUndercuts_FixParams_DefaultConstruct().

◆ region()

auto meshlib::fix_undercuts::FixParams::region ( ) const -> *const *const meshlib::ffi::MR_FaceBitSet

if set - only this region will be fixed (but still all mesh will be rebuild) Returns a pointer to a member variable of class MR::FixUndercuts::FixParams named region.

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

◆ region_mut()

auto meshlib::fix_undercuts::FixParams::region_mut ( ) -> *mut *const meshlib::ffi::MR_FaceBitSet

if set - only this region will be fixed (but still all mesh will be rebuild) Returns a mutable pointer to a member variable of class MR::FixUndercuts::FixParams named region.

Calls MR_FixUndercuts_FixParams_GetMutable_region(). 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_bottom_extension()

void meshlib::fix_undercuts::FixParams::set_bottom_extension ( value:f32 )

minimum extension of bottom part of the mesh Modifies a member variable of class MR::FixUndercuts::FixParams named bottomExtension.

Calls MR_FixUndercuts_FixParams_Set_bottomExtension().

◆ set_cb()

void meshlib::fix_undercuts::FixParams::set_cb ( value:&meshlib::std_function_bool_from_float )

Modifies a member variable of class MR::FixUndercuts::FixParams named cb.

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

◆ set_find_parameters()

void meshlib::fix_undercuts::FixParams::set_find_parameters ( value:&meshlib::fix_undercuts::FindParams )

parameters of what is considered as undercut Modifies a member variable of class MR::FixUndercuts::FixParams named findParameters.

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

◆ set_region()

void meshlib::fix_undercuts::FixParams::set_region ( value:Option<&meshlib::FaceBitSet > )

if set - only this region will be fixed (but still all mesh will be rebuild) Modifies a member variable of class MR::FixUndercuts::FixParams named region.

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

◆ set_smooth()

void meshlib::fix_undercuts::FixParams::set_smooth ( value:bool )

if true applies one iterations of gaussian filtering for voxels, useful if thin walls expected Modifies a member variable of class MR::FixUndercuts::FixParams named smooth.

Calls MR_FixUndercuts_FixParams_Set_smooth().

◆ set_voxel_size()

void meshlib::fix_undercuts::FixParams::set_voxel_size ( value:f32 )

voxel size for internal computations: lower size - better precision but more system resources required Modifies a member variable of class MR::FixUndercuts::FixParams named voxelSize.

Calls MR_FixUndercuts_FixParams_Set_voxelSize().

◆ smooth()

auto meshlib::fix_undercuts::FixParams::smooth ( ) const -> &bool

if true applies one iterations of gaussian filtering for voxels, useful if thin walls expected Returns a pointer to a member variable of class MR::FixUndercuts::FixParams named smooth.

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

◆ smooth_mut()

auto meshlib::fix_undercuts::FixParams::smooth_mut ( ) -> &mut bool

if true applies one iterations of gaussian filtering for voxels, useful if thin walls expected Returns a mutable pointer to a member variable of class MR::FixUndercuts::FixParams named smooth.

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

◆ voxel_size()

auto meshlib::fix_undercuts::FixParams::voxel_size ( ) const -> &f32

voxel size for internal computations: lower size - better precision but more system resources required Returns a pointer to a member variable of class MR::FixUndercuts::FixParams named voxelSize.

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

◆ voxel_size_mut()

auto meshlib::fix_undercuts::FixParams::voxel_size_mut ( ) -> &mut f32

voxel size for internal computations: lower size - better precision but more system resources required Returns a mutable pointer to a member variable of class MR::FixUndercuts::FixParams named voxelSize.

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