#include <nanovdb/NanoVDB.h>
|
| ReadAccessor (const RootT &root) |
| Constructor from a root node. More...
|
|
| ReadAccessor (const GridT &grid) |
| Constructor from a grid. More...
|
|
| ReadAccessor (const TreeT &tree) |
| Constructor from a tree. More...
|
|
void | clear () |
| Reset this access to its initial state, i.e. with an empty cache. More...
|
|
const RootT & | root () const |
|
| ReadAccessor (const ReadAccessor &)=default |
| Defaults constructors. More...
|
|
| ~ReadAccessor ()=default |
|
ReadAccessor & | operator= (const ReadAccessor &)=default |
|
bool | isCached1 (const CoordType &ijk) const |
|
bool | isCached2 (const CoordType &ijk) const |
|
ValueType | getValue (const CoordType &ijk) const |
|
ValueType | getValue (int i, int j, int k) const |
|
ValueType | operator() (const CoordType &ijk) const |
|
ValueType | operator() (int i, int j, int k) const |
|
auto | getNodeInfo (const CoordType &ijk) const |
|
bool | isActive (const CoordType &ijk) const |
|
bool | probeValue (const CoordType &ijk, ValueType &v) const |
|
const LeafT * | probeLeaf (const CoordType &ijk) const |
|
template<typename RayT > |
uint32_t | getDim (const CoordType &ijk, const RayT &ray) const |
|
template<typename OpT , typename... ArgsT> |
auto | get (const CoordType &ijk, ArgsT &&...args) const |
|
template<typename OpT , typename... ArgsT> |
auto | set (const CoordType &ijk, ArgsT &&...args) const |
|
|
template<typename > |
class | RootNode |
| Allow nodes to insert themselves into the cache. More...
|
|
template<typename , uint32_t > |
class | InternalNode |
|
template<typename , typename , template< uint32_t > class, uint32_t > |
class | LeafNode |
|
Constructor from a root node.
Reset this access to its initial state, i.e. with an empty cache.
auto get |
( |
const CoordType & |
ijk, |
|
|
ArgsT &&... |
args |
|
) |
| const |
|
inline |
uint32_t getDim |
( |
const CoordType & |
ijk, |
|
|
const RayT & |
ray |
|
) |
| const |
|
inline |
auto getNodeInfo |
( |
const CoordType & |
ijk | ) |
const |
|
inline |
ValueType getValue |
( |
int |
i, |
|
|
int |
j, |
|
|
int |
k |
|
) |
| const |
|
inline |
bool isCached1 |
( |
const CoordType & |
ijk | ) |
const |
|
inline |
bool isCached2 |
( |
const CoordType & |
ijk | ) |
const |
|
inline |
ValueType operator() |
( |
int |
i, |
|
|
int |
j, |
|
|
int |
k |
|
) |
| const |
|
inline |
const RootT& root |
( |
| ) |
const |
|
inline |
auto set |
( |
const CoordType & |
ijk, |
|
|
ArgsT &&... |
args |
|
) |
| const |
|
inline |
Allow nodes to insert themselves into the cache.
const int CacheLevels = 2 |
|
static |