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

Public Member Functions

auto assign_from_another (_other:&meshlib::DistanceMapLoadSettings) -> &mut meshlib::DistanceMapLoadSettings
auto distance_map_to_world () const -> *const *mut meshlib::ffi::MR_DistanceMapToWorld
auto distance_map_to_world_mut () -> *mut *mut meshlib::ffi::MR_DistanceMapToWorld
void set_distance_map_to_world (value:Option<&mut meshlib::DistanceMapToWorld >)
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::DistanceMapLoadSettings >
static auto construct_from (distanceMapToWorld:Option<&mut meshlib::DistanceMapToWorld >, progress:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::DistanceMapLoadSettings >
static auto construct_from_another (_other:&meshlib::DistanceMapLoadSettings) -> meshlib::Owned< meshlib::DistanceMapLoadSettings >
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

settings for loading distance maps from external formats Generated from class MR::DistanceMapLoadSettings.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::DistanceMapLoadSettings::construct_from ( distanceMapToWorld:Option<&mut meshlib::DistanceMapToWorld > ,
progress:&meshlib::std_function_bool_from_float  ) -> meshlib::Owned< meshlib::DistanceMapLoadSettings >
static

Constructs MR::DistanceMapLoadSettings elementwise.

Calls MR_DistanceMapLoadSettings_ConstructFrom(). The reference to the parameter distanceMapToWorld 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::DistanceMapLoadSettings::construct_from_another ( _other:&meshlib::DistanceMapLoadSettings ) -> meshlib::Owned< meshlib::DistanceMapLoadSettings >
static

Generated from constructor MR::DistanceMapLoadSettings::DistanceMapLoadSettings.

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

◆ distance_map_to_world()

auto meshlib::DistanceMapLoadSettings::distance_map_to_world ( ) const -> *const *mut meshlib::ffi::MR_DistanceMapToWorld

optional output: distance map to world transform Returns a pointer to a member variable of class MR::DistanceMapLoadSettings named distanceMapToWorld.

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

◆ distance_map_to_world_mut()

auto meshlib::DistanceMapLoadSettings::distance_map_to_world_mut ( ) -> *mut *mut meshlib::ffi::MR_DistanceMapToWorld

optional output: distance map to world transform Returns a mutable pointer to a member variable of class MR::DistanceMapLoadSettings named distanceMapToWorld.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_DistanceMapLoadSettings_DefaultConstruct().

◆ progress()

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

to report load progress and cancel loading if user desires Returns a pointer to a member variable of class MR::DistanceMapLoadSettings named progress.

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

◆ progress_mut()

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

to report load progress and cancel loading if user desires Returns a mutable pointer to a member variable of class MR::DistanceMapLoadSettings named progress.

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

◆ set_distance_map_to_world()

void meshlib::DistanceMapLoadSettings::set_distance_map_to_world ( value:Option<&mut meshlib::DistanceMapToWorld > )

optional output: distance map to world transform Modifies a member variable of class MR::DistanceMapLoadSettings named distanceMapToWorld.

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

◆ set_progress()

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

to report load progress and cancel loading if user desires Modifies a member variable of class MR::DistanceMapLoadSettings named progress.

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


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