OpenVDB
11.0.0
|
#include <nanovdb/util/GridBuilder.h>
Public Types | |
using | ValueType = typename GridT::ValueType |
using | BuildType = typename GridT::BuildType |
using | GridType = GridT |
using | TreeType = typename GridT::TreeType |
using | RootNodeType = typename TreeType::RootNodeType |
using | Node2 = typename RootNodeType::ChildNodeType |
using | Node1 = typename Node2::ChildNodeType |
using | Node0 = typename Node1::ChildNodeType |
Public Member Functions | |
NodeManager (GridT &grid) | |
void | init () |
uint64_t | nodeCount (int level) const |
Return the number of tree nodes at the specified level. More... | |
template<int LEVEL> | |
enable_if< LEVEL==0, Node0 & >::type | node (int i) |
template<int LEVEL> | |
enable_if< LEVEL==0, const Node0 & >::type | node (int i) const |
template<int LEVEL> | |
enable_if< LEVEL==1, Node1 & >::type | node (int i) |
template<int LEVEL> | |
enable_if< LEVEL==1, const Node1 & >::type | node (int i) const |
template<int LEVEL> | |
enable_if< LEVEL==2, Node2 & >::type | node (int i) |
template<int LEVEL> | |
enable_if< LEVEL==2, const Node2 & >::type | node (int i) const |
const Node0 & | leaf (uint32_t i) const |
Return the i'th leaf node with respect to breadth-first ordering. More... | |
Node0 & | leaf (uint32_t i) |
uint64_t | leafCount () const |
const Node1 & | lower (uint32_t i) const |
Return the i'th lower internal node with respect to breadth-first ordering. More... | |
Node1 & | lower (uint32_t i) |
uint64_t | lowerCount () const |
const Node2 & | upper (uint32_t i) const |
Return the i'th upper internal node with respect to breadth-first ordering. More... | |
Node2 & | upper (uint32_t i) |
uint64_t | upperCount () const |
RootNodeType & | root () |
const RootNodeType & | root () const |
TreeType & | tree () |
const TreeType & | tree () const |
GridType & | grid () |
const GridType & | grid () const |
Protected Attributes | |
GridT & | mGrid |
std::vector< Node0 * > | mArray0 |
std::vector< Node1 * > | mArray1 |
std::vector< Node2 * > | mArray2 |
using BuildType = typename GridT::BuildType |
using GridType = GridT |
using Node0 = typename Node1::ChildNodeType |
using Node1 = typename Node2::ChildNodeType |
using Node2 = typename RootNodeType::ChildNodeType |
using RootNodeType = typename TreeType::RootNodeType |
using TreeType = typename GridT::TreeType |
using ValueType = typename GridT::ValueType |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Return the i'th leaf node with respect to breadth-first ordering.
|
inline |
|
inline |
|
inline |
Return the i'th lower internal node with respect to breadth-first ordering.
|
inline |
|
inline |
|
inline |
Return the number of tree nodes at the specified level.
0 is leaf, 1 is lower internal, and 2 is upper internal level
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Return the i'th upper internal node with respect to breadth-first ordering.
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |