OpenVDB
11.0.0
|
#include <nanovdb/util/GridBuilder.h>
Inherited by Grid< BuildT >.
Classes | |
struct | WriteAccessor |
Public Types | |
using | ValueType = typename BuildToValueMap< BuildT >::type |
using | Node0 = build::LeafNode< BuildT > |
using | Node1 = build::InternalNode< Node0 > |
using | Node2 = build::InternalNode< Node1 > |
using | RootNodeType = build::RootNode< Node2 > |
using | LeafNodeType = typename RootNodeType::LeafNodeType |
Public Member Functions | |
Tree (const ValueType &background) | |
Tree (const Tree &)=delete | |
Tree (Tree &&)=delete | |
Tree & | tree () |
RootNodeType & | root () |
ValueType | getValue (const Coord &ijk) const |
ValueType | getValue (int i, int j, int k) const |
void | setValue (const Coord &ijk, const ValueType &value) |
std::array< size_t, 3 > | nodeCount () const |
ValueAccessor< BuildT > | getAccessor () |
regular accessor for thread-safe reading and non-thread-safe writing More... | |
WriteAccessor | getWriteAccessor () |
special accessor for thread-safe writing only More... | |
Public Attributes | |
RootNodeType | mRoot |
std::mutex | mMutex |
using LeafNodeType = typename RootNodeType::LeafNodeType |
using Node0 = build::LeafNode<BuildT> |
using Node1 = build::InternalNode<Node0> |
using Node2 = build::InternalNode<Node1> |
using RootNodeType = build::RootNode<Node2> |
using ValueType = typename BuildToValueMap<BuildT>::type |
|
inline |
regular accessor for thread-safe reading and non-thread-safe writing
|
inline |
|
inline |
special accessor for thread-safe writing only
|
inline |
|
inline |
|
inline |
std::mutex mMutex |
RootNodeType mRoot |