#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 | |
optional T-object container, which stores a transformation as well for which the object is valid
|
inline |
returns stored object only if requested transformation is the same as stored one
|
inline |
clears stored object
|
inline |
sets new transformation and the object