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

Public Member Functions

auto assign_from_another (_other:&meshlib::FindOverhangsSettings) -> &mut meshlib::FindOverhangsSettings
auto axis () const -> &meshlib::Vector3f
auto axis_mut () -> &mut meshlib::Vector3f
void set_axis (value:meshlib::Vector3f)
auto layer_height () const -> &f32
auto layer_height_mut () -> &mut f32
void set_layer_height (value:f32)
auto max_overhang_distance () const -> &f32
auto max_overhang_distance_mut () -> &mut f32
void set_max_overhang_distance (value:f32)
auto hops () const -> &core::ffi::c_int
auto hops_mut () -> &mut core::ffi::c_int
void set_hops (value:core::ffi::c_int)
auto xf () const -> *const *const meshlib::AffineXf3f
auto xf_mut () -> *mut *const meshlib::AffineXf3f
void set_xf (value:Option<&meshlib::AffineXf3f >)
auto progress_cb () const -> &meshlib::std_function_bool_from_float
auto progress_cb_mut () -> &mut meshlib::std_function_bool_from_float
void set_progress_cb (value:&meshlib::std_function_bool_from_float)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::FindOverhangsSettings >
static auto construct_from (axis:meshlib::Vector3f, layerHeight:f32, maxOverhangDistance:f32, hops:core::ffi::c_int, xf:Option<&meshlib::AffineXf3f >, progressCb:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::FindOverhangsSettings >
static auto construct_from_another (_other:&meshlib::FindOverhangsSettings) -> meshlib::Owned< meshlib::FindOverhangsSettings >
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

parameters for MR::findOverhangs Generated from class MR::FindOverhangsSettings.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ axis()

auto meshlib::FindOverhangsSettings::axis ( ) const -> &meshlib::Vector3f

base axis marking the up direction Returns a pointer to a member variable of class MR::FindOverhangsSettings named axis.

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

◆ axis_mut()

auto meshlib::FindOverhangsSettings::axis_mut ( ) -> &mut meshlib::Vector3f

base axis marking the up direction Returns a mutable pointer to a member variable of class MR::FindOverhangsSettings named axis.

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

◆ construct_from()

auto meshlib::FindOverhangsSettings::construct_from ( axis:meshlib::Vector3f ,
layerHeight:f32 ,
maxOverhangDistance:f32 ,
hops:core::ffi::c_int ,
xf:Option<&meshlib::AffineXf3f > ,
progressCb:&meshlib::std_function_bool_from_float  ) -> meshlib::Owned< meshlib::FindOverhangsSettings >
static

Constructs MR::FindOverhangsSettings elementwise.

Calls MR_FindOverhangsSettings_ConstructFrom(). The reference to the parameter axis might be preserved in the constructed object. The reference to the parameter xf might be preserved in the constructed object. The reference to the parameter progressCb might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::FindOverhangsSettings::FindOverhangsSettings.

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

◆ hops()

auto meshlib::FindOverhangsSettings::hops ( ) const -> &core::ffi::c_int

number of hops used to smooth out the overhang regions (0 - disable smoothing) Returns a pointer to a member variable of class MR::FindOverhangsSettings named hops.

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

◆ hops_mut()

auto meshlib::FindOverhangsSettings::hops_mut ( ) -> &mut core::ffi::c_int

number of hops used to smooth out the overhang regions (0 - disable smoothing) Returns a mutable pointer to a member variable of class MR::FindOverhangsSettings named hops.

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

◆ layer_height()

auto meshlib::FindOverhangsSettings::layer_height ( ) const -> &f32

height of a layer Returns a pointer to a member variable of class MR::FindOverhangsSettings named layerHeight.

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

◆ layer_height_mut()

auto meshlib::FindOverhangsSettings::layer_height_mut ( ) -> &mut f32

height of a layer Returns a mutable pointer to a member variable of class MR::FindOverhangsSettings named layerHeight.

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

◆ max_overhang_distance()

auto meshlib::FindOverhangsSettings::max_overhang_distance ( ) const -> &f32

maximum allowed overhang distance within a layer Returns a pointer to a member variable of class MR::FindOverhangsSettings named maxOverhangDistance.

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

◆ max_overhang_distance_mut()

auto meshlib::FindOverhangsSettings::max_overhang_distance_mut ( ) -> &mut f32

maximum allowed overhang distance within a layer Returns a mutable pointer to a member variable of class MR::FindOverhangsSettings named maxOverhangDistance.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_FindOverhangsSettings_DefaultConstruct().

◆ progress_cb()

auto meshlib::FindOverhangsSettings::progress_cb ( ) const -> &meshlib::std_function_bool_from_float

Returns a pointer to a member variable of class MR::FindOverhangsSettings named progressCb.

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

◆ progress_cb_mut()

auto meshlib::FindOverhangsSettings::progress_cb_mut ( ) -> &mut meshlib::std_function_bool_from_float

Returns a mutable pointer to a member variable of class MR::FindOverhangsSettings named progressCb.

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

◆ set_axis()

void meshlib::FindOverhangsSettings::set_axis ( value:meshlib::Vector3f )

base axis marking the up direction Modifies a member variable of class MR::FindOverhangsSettings named axis.

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

◆ set_hops()

void meshlib::FindOverhangsSettings::set_hops ( value:core::ffi::c_int )

number of hops used to smooth out the overhang regions (0 - disable smoothing) Modifies a member variable of class MR::FindOverhangsSettings named hops.

Calls MR_FindOverhangsSettings_Set_hops().

◆ set_layer_height()

void meshlib::FindOverhangsSettings::set_layer_height ( value:f32 )

height of a layer Modifies a member variable of class MR::FindOverhangsSettings named layerHeight.

Calls MR_FindOverhangsSettings_Set_layerHeight().

◆ set_max_overhang_distance()

void meshlib::FindOverhangsSettings::set_max_overhang_distance ( value:f32 )

maximum allowed overhang distance within a layer Modifies a member variable of class MR::FindOverhangsSettings named maxOverhangDistance.

Calls MR_FindOverhangsSettings_Set_maxOverhangDistance().

◆ set_progress_cb()

void meshlib::FindOverhangsSettings::set_progress_cb ( value:&meshlib::std_function_bool_from_float )

Modifies a member variable of class MR::FindOverhangsSettings named progressCb.

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

◆ set_xf()

void meshlib::FindOverhangsSettings::set_xf ( value:Option<&meshlib::AffineXf3f > )

mesh transform Modifies a member variable of class MR::FindOverhangsSettings named xf.

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

◆ xf()

auto meshlib::FindOverhangsSettings::xf ( ) const -> *const *const meshlib::AffineXf3f

mesh transform Returns a pointer to a member variable of class MR::FindOverhangsSettings named xf.

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

◆ xf_mut()

auto meshlib::FindOverhangsSettings::xf_mut ( ) -> *mut *const meshlib::AffineXf3f

mesh transform Returns a mutable pointer to a member variable of class MR::FindOverhangsSettings named xf.

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


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