HDK
|
#include <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 |
Definition at line 2056 of file GridBuilder.h.
using nanovdb::build::NodeManager< GridT >::BuildType = typename GridT::BuildType |
Definition at line 2061 of file GridBuilder.h.
using nanovdb::build::NodeManager< GridT >::GridType = GridT |
Definition at line 2062 of file GridBuilder.h.
using nanovdb::build::NodeManager< GridT >::Node0 = typename Node1::ChildNodeType |
Definition at line 2068 of file GridBuilder.h.
using nanovdb::build::NodeManager< GridT >::Node1 = typename Node2::ChildNodeType |
Definition at line 2067 of file GridBuilder.h.
using nanovdb::build::NodeManager< GridT >::Node2 = typename RootNodeType::ChildNodeType |
Definition at line 2066 of file GridBuilder.h.
using nanovdb::build::NodeManager< GridT >::RootNodeType = typename TreeType::RootNodeType |
Definition at line 2064 of file GridBuilder.h.
using nanovdb::build::NodeManager< GridT >::TreeType = typename GridT::TreeType |
Definition at line 2063 of file GridBuilder.h.
using nanovdb::build::NodeManager< GridT >::ValueType = typename GridT::ValueType |
Definition at line 2060 of file GridBuilder.h.
|
inline |
Definition at line 2070 of file GridBuilder.h.
|
inline |
Definition at line 2137 of file GridBuilder.h.
|
inline |
Definition at line 2138 of file GridBuilder.h.
|
inline |
Definition at line 2071 of file GridBuilder.h.
|
inline |
Return the i'th leaf node with respect to breadth-first ordering.
Definition at line 2117 of file GridBuilder.h.
|
inline |
Definition at line 2118 of file GridBuilder.h.
|
inline |
Definition at line 2119 of file GridBuilder.h.
|
inline |
Return the i'th lower internal node with respect to breadth-first ordering.
Definition at line 2122 of file GridBuilder.h.
|
inline |
Definition at line 2123 of file GridBuilder.h.
|
inline |
Definition at line 2124 of file GridBuilder.h.
|
inline |
Definition at line 2104 of file GridBuilder.h.
|
inline |
Definition at line 2106 of file GridBuilder.h.
|
inline |
Definition at line 2108 of file GridBuilder.h.
|
inline |
Definition at line 2110 of file GridBuilder.h.
|
inline |
Definition at line 2112 of file GridBuilder.h.
|
inline |
Definition at line 2114 of file GridBuilder.h.
|
inline |
Return the number of tree nodes at the specified level.
0 is leaf, 1 is lower internal, and 2 is upper internal level
Definition at line 2097 of file GridBuilder.h.
|
inline |
Definition at line 2131 of file GridBuilder.h.
|
inline |
Definition at line 2132 of file GridBuilder.h.
|
inline |
Definition at line 2134 of file GridBuilder.h.
|
inline |
Definition at line 2135 of file GridBuilder.h.
|
inline |
Return the i'th upper internal node with respect to breadth-first ordering.
Definition at line 2127 of file GridBuilder.h.
|
inline |
Definition at line 2128 of file GridBuilder.h.
|
inline |
Definition at line 2129 of file GridBuilder.h.
|
protected |
Definition at line 2143 of file GridBuilder.h.
|
protected |
Definition at line 2144 of file GridBuilder.h.
|
protected |
Definition at line 2145 of file GridBuilder.h.
|
protected |
Definition at line 2142 of file GridBuilder.h.