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

Public Member Functions

auto assign_from_another (_other:&meshlib::mesh_load::ObjLoadSettings) -> &mut meshlib::mesh_load::ObjLoadSettings
auto custom_xf () const -> &bool
auto custom_xf_mut () -> &mut bool
void set_custom_xf (value:bool)
auto count_skipped_faces () const -> &bool
auto count_skipped_faces_mut () -> &mut bool
void set_count_skipped_faces (value:bool)
auto callback () const -> &meshlib::std_function_bool_from_float
auto callback_mut () -> &mut meshlib::std_function_bool_from_float
void set_callback (value:&meshlib::std_function_bool_from_float)
auto telemetry_signal () const -> &bool
auto telemetry_signal_mut () -> &mut bool
void set_telemetry_signal (value:bool)
auto mtl_errors () const -> *const *mut meshlib::ffi::MR_phmap_flat_hash_map_std_filesystem_path_std_string_phmap_Hash_std_filesystem_path_phmap_EqualTo_std_filesystem_path_MR_Allocator_std_pair_const_std_filesystem_path_std_string
auto mtl_errors_mut () -> *mut *mut meshlib::ffi::MR_phmap_flat_hash_map_std_filesystem_path_std_string_phmap_Hash_std_filesystem_path_phmap_EqualTo_std_filesystem_path_MR_Allocator_std_pair_const_std_filesystem_path_std_string
void set_mtl_errors (value:Option<&mut meshlib::phmap::phmap_flat_hash_map_std_filesystem_path_std_string_phmap_Hash_std_filesystem_path_phmap_EqualTo_std_filesystem_path_MR_Allocator_std_pair_const_std_filesystem_path_std_string >)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::mesh_load::ObjLoadSettings >
static auto construct_from (customXf:bool, countSkippedFaces:bool, callback:&meshlib::std_function_bool_from_float, telemetrySignal:bool, mtlErrors:Option<&mut meshlib::phmap::phmap_flat_hash_map_std_filesystem_path_std_string_phmap_Hash_std_filesystem_path_phmap_EqualTo_std_filesystem_path_MR_Allocator_std_pair_const_std_filesystem_path_std_string >) -> meshlib::Owned< meshlib::mesh_load::ObjLoadSettings >
static auto construct_from_another (_other:&meshlib::mesh_load::ObjLoadSettings) -> meshlib::Owned< meshlib::mesh_load::ObjLoadSettings >
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::MeshLoad::ObjLoadSettings.

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::mesh_load::ObjLoadSettings::assign_from_another ( _other:&meshlib::mesh_load::ObjLoadSettings ) -> &mut meshlib::mesh_load::ObjLoadSettings

Generated from method MR::MeshLoad::ObjLoadSettings::operator=.

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

◆ callback()

auto meshlib::mesh_load::ObjLoadSettings::callback ( ) const -> &meshlib::std_function_bool_from_float

callback for set progress and stop process Returns a pointer to a member variable of class MR::MeshLoad::ObjLoadSettings named callback.

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

◆ callback_mut()

auto meshlib::mesh_load::ObjLoadSettings::callback_mut ( ) -> &mut meshlib::std_function_bool_from_float

callback for set progress and stop process Returns a mutable pointer to a member variable of class MR::MeshLoad::ObjLoadSettings named callback.

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

◆ construct_from()

Constructs MR::MeshLoad::ObjLoadSettings elementwise.

Calls MR_MeshLoad_ObjLoadSettings_ConstructFrom(). The reference to the parameter callback might be preserved in the constructed object. The reference to the parameter mtlErrors might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::MeshLoad::ObjLoadSettings::ObjLoadSettings.

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

◆ count_skipped_faces()

auto meshlib::mesh_load::ObjLoadSettings::count_skipped_faces ( ) const -> &bool

if true, the number of skipped faces (faces than can't be created) will be counted Returns a pointer to a member variable of class MR::MeshLoad::ObjLoadSettings named countSkippedFaces.

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

◆ count_skipped_faces_mut()

auto meshlib::mesh_load::ObjLoadSettings::count_skipped_faces_mut ( ) -> &mut bool

if true, the number of skipped faces (faces than can't be created) will be counted Returns a mutable pointer to a member variable of class MR::MeshLoad::ObjLoadSettings named countSkippedFaces.

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

◆ custom_xf()

auto meshlib::mesh_load::ObjLoadSettings::custom_xf ( ) const -> &bool

if true then vertices will be returned relative to some transformation to avoid precision loss Returns a pointer to a member variable of class MR::MeshLoad::ObjLoadSettings named customXf.

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

◆ custom_xf_mut()

auto meshlib::mesh_load::ObjLoadSettings::custom_xf_mut ( ) -> &mut bool

if true then vertices will be returned relative to some transformation to avoid precision loss Returns a mutable pointer to a member variable of class MR::MeshLoad::ObjLoadSettings named customXf.

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

◆ mtl_errors()

auto meshlib::mesh_load::ObjLoadSettings::mtl_errors ( ) const -> *const *mut meshlib::ffi::MR_phmap_flat_hash_map_std_filesystem_path_std_string_phmap_Hash_std_filesystem_path_phmap_EqualTo_std_filesystem_path_MR_Allocator_std_pair_const_std_filesystem_path_std_string

optional output: errors of the material libraries (.mtl files) that could not be loaded, e.g. not found; filled only if some faces use a material that was not found Returns a pointer to a member variable of class MR::MeshLoad::ObjLoadSettings named mtlErrors.

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

◆ mtl_errors_mut()

auto meshlib::mesh_load::ObjLoadSettings::mtl_errors_mut ( ) -> *mut *mut meshlib::ffi::MR_phmap_flat_hash_map_std_filesystem_path_std_string_phmap_Hash_std_filesystem_path_phmap_EqualTo_std_filesystem_path_MR_Allocator_std_pair_const_std_filesystem_path_std_string

optional output: errors of the material libraries (.mtl files) that could not be loaded, e.g. not found; filled only if some faces use a material that was not found Returns a mutable pointer to a member variable of class MR::MeshLoad::ObjLoadSettings named mtlErrors.

Calls MR_MeshLoad_ObjLoadSettings_GetMutable_mtlErrors(). 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::mesh_load::ObjLoadSettings::new ( ) -> meshlib::Owned< meshlib::mesh_load::ObjLoadSettings >
static

Constructs an empty (default-constructed) instance.

Calls MR_MeshLoad_ObjLoadSettings_DefaultConstruct().

◆ set_callback()

void meshlib::mesh_load::ObjLoadSettings::set_callback ( value:&meshlib::std_function_bool_from_float )

callback for set progress and stop process Modifies a member variable of class MR::MeshLoad::ObjLoadSettings named callback.

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

◆ set_count_skipped_faces()

void meshlib::mesh_load::ObjLoadSettings::set_count_skipped_faces ( value:bool )

if true, the number of skipped faces (faces than can't be created) will be counted Modifies a member variable of class MR::MeshLoad::ObjLoadSettings named countSkippedFaces.

Calls MR_MeshLoad_ObjLoadSettings_Set_countSkippedFaces().

◆ set_custom_xf()

void meshlib::mesh_load::ObjLoadSettings::set_custom_xf ( value:bool )

if true then vertices will be returned relative to some transformation to avoid precision loss Modifies a member variable of class MR::MeshLoad::ObjLoadSettings named customXf.

Calls MR_MeshLoad_ObjLoadSettings_Set_customXf().

◆ set_mtl_errors()

optional output: errors of the material libraries (.mtl files) that could not be loaded, e.g. not found; filled only if some faces use a material that was not found Modifies a member variable of class MR::MeshLoad::ObjLoadSettings named mtlErrors.

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

◆ set_telemetry_signal()

void meshlib::mesh_load::ObjLoadSettings::set_telemetry_signal ( value:bool )

permit telemetry signal about loading Modifies a member variable of class MR::MeshLoad::ObjLoadSettings named telemetrySignal.

Calls MR_MeshLoad_ObjLoadSettings_Set_telemetrySignal().

◆ telemetry_signal()

auto meshlib::mesh_load::ObjLoadSettings::telemetry_signal ( ) const -> &bool

permit telemetry signal about loading Returns a pointer to a member variable of class MR::MeshLoad::ObjLoadSettings named telemetrySignal.

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

◆ telemetry_signal_mut()

auto meshlib::mesh_load::ObjLoadSettings::telemetry_signal_mut ( ) -> &mut bool

permit telemetry signal about loading Returns a mutable pointer to a member variable of class MR::MeshLoad::ObjLoadSettings named telemetrySignal.

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


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