MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::SliceInfo:

Public Member Functions

auto assign_from_another (_other:&meshlib::SliceInfo) -> &mut meshlib::SliceInfo
auto op_compare_three_way_mr_slice_info_base (_1:&meshlib::SliceInfoBase) const -> meshlib::std_partial_ordering
auto op_equal_mr_slice_info_base (_1:&meshlib::SliceInfoBase) const -> bool
auto op_not_equal_mr_slice_info_base (_1:&meshlib::SliceInfoBase) const -> bool
auto op_less_mr_slice_info_base (_1:&meshlib::SliceInfoBase) const -> bool
auto op_greater_mr_slice_info_base (_1:&meshlib::SliceInfoBase) const -> bool
auto op_less_equal_mr_slice_info_base (_1:&meshlib::SliceInfoBase) const -> bool
auto op_greater_equal_mr_slice_info_base (_1:&meshlib::SliceInfoBase) const -> bool
auto image_pos () const -> &meshlib::Vector3d
auto image_pos_mut () -> &mut meshlib::Vector3d
void set_image_pos (value:meshlib::Vector3d)
auto instance_num () const -> &core::ffi::c_int
auto instance_num_mut () -> &mut core::ffi::c_int
void set_instance_num (value:core::ffi::c_int)
auto z () const -> &f64
auto z_mut () -> &mut f64
void set_z (value:f64)
auto file_num () const -> &core::ffi::c_int
auto file_num_mut () -> &mut core::ffi::c_int
void set_file_num (value:core::ffi::c_int)
auto upcast_to_slice_info_base () const -> &meshlib::SliceInfoBase
auto upcast_to_slice_info_base_mut () -> &mut meshlib::SliceInfoBase

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::SliceInfo >
static auto construct_from_another (_other:&meshlib::SliceInfo) -> meshlib::Owned< meshlib::SliceInfo >
static auto static_downcast_from_slice_info_base (object:&meshlib::SliceInfoBase) -> &Self
static auto static_downcast_from_slice_info_base_mut (object:&mut meshlib::SliceInfoBase) -> &mut Self
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

slice information these fields will be ignored in sorting

See also
SliceInfoBase Generated from class MR::SliceInfo. Base classes: Direct: (non-virtual) MR::SliceInfoBase

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from_another()

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

Generated from constructor MR::SliceInfo::SliceInfo.

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

◆ file_num()

auto meshlib::SliceInfo::file_num ( ) const -> &core::ffi::c_int

file index Returns a pointer to a member variable of class MR::SliceInfo named fileNum.

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

◆ file_num_mut()

auto meshlib::SliceInfo::file_num_mut ( ) -> &mut core::ffi::c_int

file index Returns a mutable pointer to a member variable of class MR::SliceInfo named fileNum.

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

◆ image_pos()

auto meshlib::SliceInfo::image_pos ( ) const -> &meshlib::Vector3d

image position Returns a pointer to a member variable of class MR::SliceInfo named imagePos.

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

◆ image_pos_mut()

auto meshlib::SliceInfo::image_pos_mut ( ) -> &mut meshlib::Vector3d

image position Returns a mutable pointer to a member variable of class MR::SliceInfo named imagePos.

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

◆ instance_num()

auto meshlib::SliceInfo::instance_num ( ) const -> &core::ffi::c_int

instance number Returns a pointer to a member variable of class MR::SliceInfo named instanceNum.

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

◆ instance_num_mut()

auto meshlib::SliceInfo::instance_num_mut ( ) -> &mut core::ffi::c_int

instance number Returns a mutable pointer to a member variable of class MR::SliceInfo named instanceNum.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_SliceInfo_DefaultConstruct().

◆ op_compare_three_way_mr_slice_info_base()

auto meshlib::SliceInfo::op_compare_three_way_mr_slice_info_base ( _1:&meshlib::SliceInfoBase ) const -> meshlib::std_partial_ordering

Generated from method MR::SliceInfo::operator<=>.

Calls MR_compare_three_way_MR_SliceInfo_MR_SliceInfoBase().

◆ op_equal_mr_slice_info_base()

auto meshlib::SliceInfo::op_equal_mr_slice_info_base ( _1:&meshlib::SliceInfoBase ) const -> bool

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

Calls MR_equal_MR_SliceInfo_MR_SliceInfoBase().

◆ op_greater_equal_mr_slice_info_base()

auto meshlib::SliceInfo::op_greater_equal_mr_slice_info_base ( _1:&meshlib::SliceInfoBase ) const -> bool

Generated from method MR::SliceInfo::operator>=.

Calls MR_greater_equal_MR_SliceInfo_MR_SliceInfoBase().

◆ op_greater_mr_slice_info_base()

auto meshlib::SliceInfo::op_greater_mr_slice_info_base ( _1:&meshlib::SliceInfoBase ) const -> bool

Generated from method MR::SliceInfo::operator>.

Calls MR_greater_MR_SliceInfo_MR_SliceInfoBase().

◆ op_less_equal_mr_slice_info_base()

auto meshlib::SliceInfo::op_less_equal_mr_slice_info_base ( _1:&meshlib::SliceInfoBase ) const -> bool

Generated from method MR::SliceInfo::operator<=.

Calls MR_less_equal_MR_SliceInfo_MR_SliceInfoBase().

◆ op_less_mr_slice_info_base()

auto meshlib::SliceInfo::op_less_mr_slice_info_base ( _1:&meshlib::SliceInfoBase ) const -> bool

Generated from method MR::SliceInfo::operator<.

Calls MR_less_MR_SliceInfo_MR_SliceInfoBase().

◆ op_not_equal_mr_slice_info_base()

auto meshlib::SliceInfo::op_not_equal_mr_slice_info_base ( _1:&meshlib::SliceInfoBase ) const -> bool

Generated from method MR::SliceInfo::operator!=.

Calls MR_not_equal_MR_SliceInfo_MR_SliceInfoBase().

◆ set_file_num()

void meshlib::SliceInfo::set_file_num ( value:core::ffi::c_int )

file index Modifies a member variable of class MR::SliceInfo named fileNum.

Calls MR_SliceInfo_Set_fileNum().

◆ set_image_pos()

void meshlib::SliceInfo::set_image_pos ( value:meshlib::Vector3d )

image position Modifies a member variable of class MR::SliceInfo named imagePos.

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

◆ set_instance_num()

void meshlib::SliceInfo::set_instance_num ( value:core::ffi::c_int )

instance number Modifies a member variable of class MR::SliceInfo named instanceNum.

Calls MR_SliceInfo_Set_instanceNum().

◆ set_z()

void meshlib::SliceInfo::set_z ( value:f64 )

layer height Modifies a member variable of class MR::SliceInfo named z.

Calls MR_SliceInfo_Set_z().

◆ static_downcast_from_slice_info_base()

auto meshlib::SliceInfo::static_downcast_from_slice_info_base ( object:&meshlib::SliceInfoBase ) -> &Self
static

Static downcast from the base class MR::SliceInfoBase.

Calls MR_SliceInfo_StaticDowncastFrom_MR_SliceInfoBase(). Undefined behavior if the object isn't actually a SliceInfo.

Note
This function is unsafe.

◆ static_downcast_from_slice_info_base_mut()

auto meshlib::SliceInfo::static_downcast_from_slice_info_base_mut ( object:&mut meshlib::SliceInfoBase ) -> &mut Self
static

Static downcast from the base class MR::SliceInfoBase.

Calls MR_SliceInfo_MutableStaticDowncastFrom_MR_SliceInfoBase(). Undefined behavior if the object isn't actually a SliceInfo.

Note
This function is unsafe.

◆ upcast_to_slice_info_base()

auto meshlib::SliceInfo::upcast_to_slice_info_base ( ) const -> &meshlib::SliceInfoBase

Upcasts to the base class MR::SliceInfoBase.

Calls MR_SliceInfo_UpcastTo_MR_SliceInfoBase().

◆ upcast_to_slice_info_base_mut()

auto meshlib::SliceInfo::upcast_to_slice_info_base_mut ( ) -> &mut meshlib::SliceInfoBase

Upcasts to the base class MR::SliceInfoBase.

Calls MR_SliceInfo_MutableUpcastTo_MR_SliceInfoBase().

◆ z()

auto meshlib::SliceInfo::z ( ) const -> &f64

layer height Returns a pointer to a member variable of class MR::SliceInfo named z.

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

◆ z_mut()

auto meshlib::SliceInfo::z_mut ( ) -> &mut f64

layer height Returns a mutable pointer to a member variable of class MR::SliceInfo named z.

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


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