MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::XfBasedCache< T > Class Template Reference

#include <MRXfBasedCache.h>

Public Member Functions

const std::optional< T > & get (const AffineXf3f &xf) const
 returns stored object only if requested transformation is the same as stored one
 
void set (const AffineXf3f &xf, T t)
 sets new transformation and the object
 
void reset ()
 clears stored object
 

Detailed Description

template<class T>
class MR::XfBasedCache< T >

optional T-object container, which stores a transformation as well for which the object is valid


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