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

Public Member Functions

auto assign_from_another (_other:&meshlib::XfBasedCache_MR_Box3f) -> &mut meshlib::XfBasedCache_MR_Box3f
auto get (xf:&meshlib::AffineXf3f) const -> &meshlib::std_optional_MR_Box3f
void set (xf:&meshlib::AffineXf3f, t:meshlib::Box3f)
void reset ()

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::XfBasedCache_MR_Box3f >
static auto construct_from_another (_other:&meshlib::XfBasedCache_MR_Box3f) -> meshlib::Owned< meshlib::XfBasedCache_MR_Box3f >
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

optional T-object container, which stores a transformation as well for which the object is valid Generated from class MR::XfBasedCache<MR::Box3f>.

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

Member Function Documentation

◆ assign_from_another()

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

Generated from method MR::XfBasedCache<MR::Box3f>::operator=.

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

◆ construct_from_another()

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

Generated from constructor MR::XfBasedCache<MR::Box3f>::XfBasedCache.

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

◆ get()

auto meshlib::XfBasedCache_MR_Box3f::get ( xf:&meshlib::AffineXf3f ) const -> &meshlib::std_optional_MR_Box3f

returns stored object only if requested transformation is the same as stored one Generated from method MR::XfBasedCache<MR::Box3f>::get.

Calls MR_XfBasedCache_MR_Box3f_get().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_XfBasedCache_MR_Box3f_DefaultConstruct().

◆ reset()

void meshlib::XfBasedCache_MR_Box3f::reset ( )

clears stored object Generated from method MR::XfBasedCache<MR::Box3f>::reset.

Calls MR_XfBasedCache_MR_Box3f_reset().

◆ set()

void meshlib::XfBasedCache_MR_Box3f::set ( xf:&meshlib::AffineXf3f ,
t:meshlib::Box3f  )

sets new transformation and the object Generated from method MR::XfBasedCache<MR::Box3f>::set.

Calls MR_XfBasedCache_MR_Box3f_set().


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