|
OpenVDB 13.0.0
|
#include <nanovdb/NanoVDB.h>
Public Types | |
| using | BuildType = BuildT |
| using | ValueType = ValueT |
| using | CoordType = CoordT |
Public Member Functions | |
| __hostdev__ | ReadAccessor (const RootT &root) |
| Constructor from a root node. | |
| __hostdev__ | ReadAccessor (const GridT &grid) |
| Constructor from a grid. | |
| __hostdev__ | ReadAccessor (const TreeT &tree) |
| Constructor from a tree. | |
| __hostdev__ void | clear () |
| Reset this access to its initial state, i.e. with an empty cache. | |
| __hostdev__ const RootT & | root () const |
| ReadAccessor (const ReadAccessor &)=default | |
| Defaults constructors. | |
| ~ReadAccessor ()=default | |
| ReadAccessor & | operator= (const ReadAccessor &)=default |
| __hostdev__ bool | isCached1 (const CoordType &ijk) const |
| __hostdev__ bool | isCached2 (const CoordType &ijk) const |
| __hostdev__ ValueType | getValue (const CoordType &ijk) const |
| __hostdev__ ValueType | getValue (int i, int j, int k) const |
| __hostdev__ ValueType | operator() (const CoordType &ijk) const |
| __hostdev__ ValueType | operator() (int i, int j, int k) const |
| __hostdev__ auto | getNodeInfo (const CoordType &ijk) const |
| __hostdev__ bool | isActive (const CoordType &ijk) const |
| __hostdev__ bool | probeValue (const CoordType &ijk, ValueType &v) const |
| __hostdev__ const LeafT * | probeLeaf (const CoordType &ijk) const |
| template<typename RayT> | |
| __hostdev__ uint32_t | getDim (const CoordType &ijk, const RayT &ray) const |
| template<typename OpT, typename... ArgsT> | |
| __hostdev__ OpT::Type | get (const CoordType &ijk, ArgsT &&... args) const |
| template<typename OpT, typename... ArgsT> | |
| __hostdev__ void | set (const CoordType &ijk, ArgsT &&... args) const |
Static Public Attributes | |
| static const int | CacheLevels = 2 |
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 |
| using BuildType = BuildT |
| using CoordType = CoordT |
| 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 |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |
Allow nodes to insert themselves into the cache.
|
static |