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

Public Member Functions

auto assign_from_another (_other:&meshlib::DistanceMapSaveSettings) -> &mut meshlib::DistanceMapSaveSettings
auto xf () const -> *const *const meshlib::AffineXf3f
auto xf_mut () -> *mut *const meshlib::AffineXf3f
void set_xf (value:Option<&meshlib::AffineXf3f >)
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::DistanceMapSaveSettings >
static auto construct_from (xf:Option<&meshlib::AffineXf3f >, progress:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::DistanceMapSaveSettings >
static auto construct_from_another (_other:&meshlib::DistanceMapSaveSettings) -> meshlib::Owned< meshlib::DistanceMapSaveSettings >
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

determines how to save distance maps Generated from class MR::DistanceMapSaveSettings.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::DistanceMapSaveSettings::construct_from ( xf:Option<&meshlib::AffineXf3f > ,
progress:&meshlib::std_function_bool_from_float  ) -> meshlib::Owned< meshlib::DistanceMapSaveSettings >
static

Constructs MR::DistanceMapSaveSettings elementwise.

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

◆ construct_from_another()

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

Generated from constructor MR::DistanceMapSaveSettings::DistanceMapSaveSettings.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_DistanceMapSaveSettings_DefaultConstruct().

◆ progress()

auto meshlib::DistanceMapSaveSettings::progress ( ) const -> &meshlib::std_function_bool_from_float

to report save progress and cancel saving if user desires Returns a pointer to a member variable of class MR::DistanceMapSaveSettings named progress.

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

◆ progress_mut()

auto meshlib::DistanceMapSaveSettings::progress_mut ( ) -> &mut meshlib::std_function_bool_from_float

to report save progress and cancel saving if user desires Returns a mutable pointer to a member variable of class MR::DistanceMapSaveSettings named progress.

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

◆ set_progress()

void meshlib::DistanceMapSaveSettings::set_progress ( value:&meshlib::std_function_bool_from_float )

to report save progress and cancel saving if user desires Modifies a member variable of class MR::DistanceMapSaveSettings named progress.

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

◆ set_xf()

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

optional distance map to world transform Modifies a member variable of class MR::DistanceMapSaveSettings named xf.

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

◆ xf()

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

optional distance map to world transform Returns a pointer to a member variable of class MR::DistanceMapSaveSettings named xf.

Calls MR_DistanceMapSaveSettings_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::DistanceMapSaveSettings::xf_mut ( ) -> *mut *const meshlib::AffineXf3f

optional distance map to world transform Returns a mutable pointer to a member variable of class MR::DistanceMapSaveSettings named xf.

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