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

Public Member Functions

auto assign_from_another (_other:&meshlib::ViewportProperty_MR_AffineXf3f) -> &mut meshlib::ViewportProperty_MR_AffineXf3f
auto op_equal (_1:&meshlib::ViewportProperty_MR_AffineXf3f) const -> bool
auto op_not_equal (_1:&meshlib::ViewportProperty_MR_AffineXf3f) const -> bool
void set_1 (def:meshlib::AffineXf3f)
auto get_0 () const -> &meshlib::AffineXf3f
auto get_mut () -> &mut meshlib::AffineXf3f
auto index (id:meshlib::ViewportId) -> &mut meshlib::AffineXf3f
void set_2 (v:meshlib::AffineXf3f, id:meshlib::ViewportId)
auto get_2 (id:meshlib::ViewportId, isDef:Option<&mut bool >) const -> &meshlib::AffineXf3f
auto reset_1 (id:meshlib::ViewportId) -> bool
auto reset_0 () -> bool

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::ViewportProperty_MR_AffineXf3f >
static auto construct_from_another (_other:&meshlib::ViewportProperty_MR_AffineXf3f) -> meshlib::Owned< meshlib::ViewportProperty_MR_AffineXf3f >
static auto construct (def:&meshlib::AffineXf3f) -> meshlib::Owned< meshlib::ViewportProperty_MR_AffineXf3f >
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

storage of some viewport-dependent property, which has some default value for all viewports and special values for some specific viewports Generated from class MR::ViewportProperty<MR::AffineXf3f>.

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

Member Function Documentation

◆ assign_from_another()

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

Generated from method MR::ViewportProperty<MR::AffineXf3f>::operator=.

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

◆ construct()

auto meshlib::ViewportProperty_MR_AffineXf3f::construct ( def:&meshlib::AffineXf3f ) -> meshlib::Owned< meshlib::ViewportProperty_MR_AffineXf3f >
static

Generated from constructor MR::ViewportProperty<MR::AffineXf3f>::ViewportProperty.

Calls MR_ViewportProperty_MR_AffineXf3f_Construct(). The reference to the parameter def might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::ViewportProperty<MR::AffineXf3f>::ViewportProperty.

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

◆ get_0()

auto meshlib::ViewportProperty_MR_AffineXf3f::get_0 ( ) const -> &meshlib::AffineXf3f

gets default property value Generated from method MR::ViewportProperty<MR::AffineXf3f>::get.

Calls MR_ViewportProperty_MR_AffineXf3f_get_0().

◆ get_2()

auto meshlib::ViewportProperty_MR_AffineXf3f::get_2 ( id:meshlib::ViewportId ,
isDef:Option<&mut bool >  ) const -> &meshlib::AffineXf3f

gets property value for given viewport: specific if available otherwise default one;

Parameters
isDefreceives true if this viewport does not have specific value and default one is returned Generated from method MR::ViewportProperty<MR::AffineXf3f>::get.

Calls MR_ViewportProperty_MR_AffineXf3f_get_2().

◆ get_mut()

auto meshlib::ViewportProperty_MR_AffineXf3f::get_mut ( ) -> &mut meshlib::AffineXf3f

Generated from method MR::ViewportProperty<MR::AffineXf3f>::get.

Calls MR_ViewportProperty_MR_AffineXf3f_get_mut().

◆ index()

auto meshlib::ViewportProperty_MR_AffineXf3f::index ( id:meshlib::ViewportId ) -> &mut meshlib::AffineXf3f

returns direct access to value associated with given viewport (or default value if !id) Generated from method MR::ViewportProperty<MR::AffineXf3f>::operator[].

Calls MR_ViewportProperty_MR_AffineXf3f_index().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_ViewportProperty_MR_AffineXf3f_DefaultConstruct().

◆ op_equal()

auto meshlib::ViewportProperty_MR_AffineXf3f::op_equal ( _1:&meshlib::ViewportProperty_MR_AffineXf3f ) const -> bool

Generated from method MR::ViewportProperty<MR::AffineXf3f>::operator==.

Calls MR_equal_MR_ViewportProperty_MR_AffineXf3f().

◆ op_not_equal()

auto meshlib::ViewportProperty_MR_AffineXf3f::op_not_equal ( _1:&meshlib::ViewportProperty_MR_AffineXf3f ) const -> bool

Generated from method MR::ViewportProperty<MR::AffineXf3f>::operator!=.

Calls MR_not_equal_MR_ViewportProperty_MR_AffineXf3f().

◆ reset_0()

auto meshlib::ViewportProperty_MR_AffineXf3f::reset_0 ( ) -> bool

forgets specific property value for all viewports; returns true if any specific value was removed Generated from method MR::ViewportProperty<MR::AffineXf3f>::reset.

Calls MR_ViewportProperty_MR_AffineXf3f_reset_0().

◆ reset_1()

auto meshlib::ViewportProperty_MR_AffineXf3f::reset_1 ( id:meshlib::ViewportId ) -> bool

forgets specific property value for given viewport (or all viewports if !id); returns true if any specific value was removed Generated from method MR::ViewportProperty<MR::AffineXf3f>::reset.

Calls MR_ViewportProperty_MR_AffineXf3f_reset_1().

◆ set_1()

void meshlib::ViewportProperty_MR_AffineXf3f::set_1 ( def:meshlib::AffineXf3f )

sets default property value Generated from method MR::ViewportProperty<MR::AffineXf3f>::set.

Calls MR_ViewportProperty_MR_AffineXf3f_set_1().

◆ set_2()

void meshlib::ViewportProperty_MR_AffineXf3f::set_2 ( v:meshlib::AffineXf3f ,
id:meshlib::ViewportId  )

sets specific property value for given viewport (or default value if !id) Generated from method MR::ViewportProperty<MR::AffineXf3f>::set.

Calls MR_ViewportProperty_MR_AffineXf3f_set_2().


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