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

Public Member Functions

auto assign_from_another (_other:&meshlib::LoadedObjectT_MR_ObjectVoxels) -> &mut meshlib::LoadedObjectT_MR_ObjectVoxels
auto obj () const -> &meshlib::std_shared_ptr_MR_ObjectVoxels
auto obj_mut () -> &mut meshlib::std_shared_ptr_MR_ObjectVoxels
void set_obj (value:&meshlib::std_shared_ptr_MR_ObjectVoxels)
auto warnings () const -> &meshlib::std_string
auto warnings_mut () -> &mut meshlib::std_string
void set_warnings (value:&str)
auto length_unit () const -> &meshlib::std_optional_MR_LengthUnit
auto length_unit_mut () -> &mut meshlib::std_optional_MR_LengthUnit
void set_length_unit (value:Option< meshlib::LengthUnit >)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::LoadedObjectT_MR_ObjectVoxels >
static auto construct_from (obj:&meshlib::std_shared_ptr_MR_ObjectVoxels, warnings:&str, lengthUnit:Option< meshlib::LengthUnit >) -> meshlib::Owned< meshlib::LoadedObjectT_MR_ObjectVoxels >
static auto construct_from_another (_other:&meshlib::LoadedObjectT_MR_ObjectVoxels) -> meshlib::Owned< meshlib::LoadedObjectT_MR_ObjectVoxels >
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

result of loading (e.g. from a file) as one object (with possible subobjects) Generated from class MR::LoadedObjectT<MR::ObjectVoxels>.

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

Member Function Documentation

◆ assign_from_another()

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

Generated from method MR::LoadedObjectT<MR::ObjectVoxels>::operator=.

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

◆ construct_from()

auto meshlib::LoadedObjectT_MR_ObjectVoxels::construct_from ( obj:&meshlib::std_shared_ptr_MR_ObjectVoxels ,
warnings:& str,
lengthUnit:Option< meshlib::LengthUnit >  ) -> meshlib::Owned< meshlib::LoadedObjectT_MR_ObjectVoxels >
static

Constructs MR::LoadedObjectT<MR::ObjectVoxels> elementwise.

Calls MR_LoadedObjectT_MR_ObjectVoxels_ConstructFrom(). The reference to the parameter obj might be preserved in the constructed object. The reference to the parameter warnings might be preserved in the constructed object. The reference to the parameter lengthUnit might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::LoadedObjectT<MR::ObjectVoxels>::LoadedObjectT.

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

◆ length_unit()

auto meshlib::LoadedObjectT_MR_ObjectVoxels::length_unit ( ) const -> &meshlib::std_optional_MR_LengthUnit

units of object coordinates and transformations (if known) Returns a pointer to a member variable of class MR::LoadedObjectT<MR::ObjectVoxels> named lengthUnit.

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

◆ length_unit_mut()

auto meshlib::LoadedObjectT_MR_ObjectVoxels::length_unit_mut ( ) -> &mut meshlib::std_optional_MR_LengthUnit

units of object coordinates and transformations (if known) Returns a mutable pointer to a member variable of class MR::LoadedObjectT<MR::ObjectVoxels> named lengthUnit.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_LoadedObjectT_MR_ObjectVoxels_DefaultConstruct().

◆ obj()

auto meshlib::LoadedObjectT_MR_ObjectVoxels::obj ( ) const -> &meshlib::std_shared_ptr_MR_ObjectVoxels

Returns a pointer to a member variable of class MR::LoadedObjectT<MR::ObjectVoxels> named obj.

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

◆ obj_mut()

auto meshlib::LoadedObjectT_MR_ObjectVoxels::obj_mut ( ) -> &mut meshlib::std_shared_ptr_MR_ObjectVoxels

Returns a mutable pointer to a member variable of class MR::LoadedObjectT<MR::ObjectVoxels> named obj.

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

◆ set_length_unit()

void meshlib::LoadedObjectT_MR_ObjectVoxels::set_length_unit ( value:Option< meshlib::LengthUnit > )

units of object coordinates and transformations (if known) Modifies a member variable of class MR::LoadedObjectT<MR::ObjectVoxels> named lengthUnit.

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

◆ set_obj()

void meshlib::LoadedObjectT_MR_ObjectVoxels::set_obj ( value:&meshlib::std_shared_ptr_MR_ObjectVoxels )

Modifies a member variable of class MR::LoadedObjectT<MR::ObjectVoxels> named obj.

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

◆ set_warnings()

void meshlib::LoadedObjectT_MR_ObjectVoxels::set_warnings ( value:& str)

either empty or ends with '
' Modifies a member variable of class MR::LoadedObjectT<MR::ObjectVoxels> named warnings.

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

◆ warnings()

auto meshlib::LoadedObjectT_MR_ObjectVoxels::warnings ( ) const -> &meshlib::std_string

either empty or ends with '
' Returns a pointer to a member variable of class MR::LoadedObjectT<MR::ObjectVoxels> named warnings.

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

◆ warnings_mut()

auto meshlib::LoadedObjectT_MR_ObjectVoxels::warnings_mut ( ) -> &mut meshlib::std_string

either empty or ends with '
' Returns a mutable pointer to a member variable of class MR::LoadedObjectT<MR::ObjectVoxels> named warnings.

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


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