|
OpenVDB 11.0.0
|
#include <nanovdb/util/GridBuilder.h>
Public Types | |
| using | ValueType = typename BuildToValueMap< BuildT >::type |
| using | LeafT = build::LeafNode< BuildT > |
| using | Node1 = build::InternalNode< LeafT > |
| using | Node2 = build::InternalNode< Node1 > |
| using | RootNodeType = build::RootNode< Node2 > |
| using | LeafNodeType = typename RootNodeType::LeafNodeType |
Public Member Functions | |
| ValueAccessor (RootNodeType &root) | |
| ValueAccessor (ValueAccessor &&)=default | |
| ValueAccessor (const ValueAccessor &)=delete | |
| ValueType | getValue (int i, int j, int k) const |
| template<typename NodeT > | |
| bool | isCached (const Coord &ijk) const |
| template<typename OpT , typename... ArgsT> | |
| auto | get (const Coord &ijk, ArgsT &&... args) const |
| template<typename OpT , typename... ArgsT> | |
| auto | set (const Coord &ijk, ArgsT &&... args) const |
| ValueType | getValue (const Coord &ijk) const |
| LeafT * | setValue (const Coord &ijk, const ValueType &value) |
| Sets value in a leaf node and returns it. | |
| void | setValueOn (const Coord &ijk) |
| void | touchLeaf (const Coord &ijk) const |
| bool | isActive (const Coord &ijk) const |
| bool | isValueOn (const Coord &ijk) const |
| template<typename NodeT > | |
| void | insert (const Coord &ijk, NodeT *node) const |
Public Attributes | |
| RootNodeType & | mRoot |
| Coord | mKeys [3] |
| void * | mNode [3] |
| using LeafNodeType = typename RootNodeType::LeafNodeType |
| using LeafT = build::LeafNode<BuildT> |
| using Node1 = build::InternalNode<LeafT> |
| using Node2 = build::InternalNode<Node1> |
| using RootNodeType = build::RootNode<Node2> |
| using ValueType = typename BuildToValueMap<BuildT>::type |
|
inline |
|
default |
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |
Sets value in a leaf node and returns it.
| RootNodeType& mRoot |