|
OpenVDB 10.0.1
|
Node caching at a single tree level. More...
#include <nanovdb/NanoVDB.h>
Public Types | |
| using | ValueType = ValueT |
| using | CoordType = CoordT |
| using | NodeInfo = typename ReadAccessor< ValueT, -1, -1, -1 >::NodeInfo |
Public Member Functions | |
| ReadAccessor (const RootT &root) | |
| Constructor from a root node. | |
| ReadAccessor (const GridT &grid) | |
| Constructor from a grid. | |
| ReadAccessor (const TreeT &tree) | |
| Constructor from a tree. | |
| void | clear () |
| Reset this access to its initial state, i.e. with an empty cache. | |
| const RootT & | root () const |
| ReadAccessor (const ReadAccessor &)=default | |
| Defaults constructors. | |
| ~ReadAccessor ()=default | |
| ReadAccessor & | operator= (const ReadAccessor &)=default |
| bool | isCached (const CoordType &ijk) const |
| ValueType | getValue (const CoordType &ijk) const |
| ValueType | operator() (const CoordType &ijk) const |
| ValueType | operator() (int i, int j, int k) const |
| NodeInfo | 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 |
Static Public Attributes | |
| static const int | CacheLevels = 1 |
Friends | |
| template<typename > | |
| class | RootNode |
| Allow nodes to insert themselves into the cache. | |
| template<typename , uint32_t > | |
| class | InternalNode |
| template<typename , typename , template< uint32_t > class, uint32_t > | |
| class | LeafNode |
Node caching at a single tree level.
| using CoordType = CoordT |
| using NodeInfo = typename ReadAccessor<ValueT, -1, -1, -1>::NodeInfo |
| using ValueType = ValueT |
|
inline |
Constructor from a root node.
|
inline |
Constructor from a grid.
|
inline |
Constructor from a tree.
|
default |
Defaults constructors.
|
default |
|
inline |
Reset this access to its initial state, i.e. with an empty cache.
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
Allow nodes to insert themselves into the cache.
|
static |