#include <nanovdb/util/GridBuilder.h>
|
Tile * | probeTile (const Coord &ijk) |
|
const Tile * | probeTile (const Coord &ijk) const |
|
ChildIterator | cbeginChild () const |
|
ChildIterator | cbeginChildOn () const |
|
ValueIterator | beginValue () |
|
ValueIterator | cbeginValueAll () const |
|
ValueOnIterator | beginValueOn () |
|
ValueOnIterator | cbeginValueOn () const |
|
TileIterator | beginTile () |
|
TileIterator | cbeginChildAll () const |
|
| RootNode (const ValueType &background) |
|
| RootNode (const RootNode &)=delete |
|
| RootNode (RootNode &&)=default |
|
RootNode & | operator= (const RootNode &)=delete |
|
RootNode & | operator= (RootNode &&)=default |
|
| ~RootNode () |
|
uint32_t | tileCount () const |
|
uint32_t | getTableSize () const |
|
const ValueType & | background () const |
|
void | nodeCount (std::array< size_t, 3 > &count) const |
|
bool | empty () const |
|
void | clear () |
|
ValueType | getValue (const Coord &ijk) const |
|
ValueType | getValue (int i, int j, int k) const |
|
void | setValue (const Coord &ijk, const ValueType &value) |
|
template<typename AccT > |
bool | isActiveAndCache (const Coord &ijk, AccT &acc) const |
|
template<typename AccT > |
ValueType | getValueAndCache (const Coord &ijk, AccT &acc) const |
|
template<typename AccT > |
void | setValueAndCache (const Coord &ijk, const ValueType &value, AccT &acc) |
|
template<typename AccT > |
void | setValueOnAndCache (const Coord &ijk, AccT &acc) |
|
template<typename AccT > |
void | touchLeafAndCache (const Coord &ijk, AccT &acc) |
|
template<typename NodeT > |
uint32_t | nodeCount () const |
|
template<typename NodeT > |
void | getNodes (std::vector< NodeT * > &array) |
|
void | addChild (ChildT *&child) |
|
template<uint32_t level> |
void | addTile (const Coord &ijk, const ValueType &value, bool state) |
| Add a tile containing voxel (i, j, k) at the specified tree level, creating a new branch if necessary. Delete any existing lower-level nodes that contain (x, y, z).
|
|
template<typename NodeT > |
void | addNode (NodeT *&node) |
|
void | merge (RootNode &other) |
|
template<typename T > |
std::enable_if< std::is_floating_point< T >::value >::type | signedFloodFill (T outside) |
|
|
static constexpr uint32_t | LEVEL = 1 + ChildT::LEVEL |
|
◆ BuildType
template<typename ChildT >
◆ ChildNodeType
template<typename ChildT >
◆ LeafNodeType
template<typename ChildT >
◆ MapT
template<typename ChildT >
◆ ValueType
template<typename ChildT >
◆ RootNode() [1/3]
template<typename ChildT >
◆ RootNode() [2/3]
template<typename ChildT >
◆ RootNode() [3/3]
template<typename ChildT >
◆ ~RootNode()
template<typename ChildT >
◆ addChild()
template<typename ChildT >
void addChild |
( |
ChildT *& | child | ) |
|
|
inline |
◆ addNode()
template<typename ChildT >
template<typename NodeT >
void addNode |
( |
NodeT *& | node | ) |
|
|
inline |
◆ addTile()
template<typename ChildT >
template<uint32_t level>
void addTile |
( |
const Coord & | ijk, |
|
|
const ValueType & | value, |
|
|
bool | state ) |
|
inline |
Add a tile containing voxel (i, j, k) at the specified tree level, creating a new branch if necessary. Delete any existing lower-level nodes that contain (x, y, z).
- Template Parameters
-
level | tree level at which the tile is inserted. Must be 1, 2 or 3. |
- Parameters
-
ijk | Index coordinate that map to the tile being inserted |
value | Value of the tile |
state | Binary state of the tile |
◆ background()
template<typename ChildT >
◆ beginTile()
template<typename ChildT >
◆ beginValue()
template<typename ChildT >
◆ beginValueOn()
template<typename ChildT >
◆ cbeginChild()
template<typename ChildT >
◆ cbeginChildAll()
template<typename ChildT >
◆ cbeginChildOn()
template<typename ChildT >
◆ cbeginValueAll()
template<typename ChildT >
◆ cbeginValueOn()
template<typename ChildT >
◆ clear()
template<typename ChildT >
◆ CoordToKey()
template<typename ChildT >
◆ empty()
template<typename ChildT >
◆ getNodes()
template<typename ChildT >
template<typename NodeT >
void getNodes |
( |
std::vector< NodeT * > & | array | ) |
|
|
inline |
◆ getTableSize()
template<typename ChildT >
uint32_t getTableSize |
( |
| ) |
const |
|
inline |
◆ getValue() [1/2]
template<typename ChildT >
◆ getValue() [2/2]
template<typename ChildT >
ValueType getValue |
( |
int | i, |
|
|
int | j, |
|
|
int | k ) const |
|
inline |
◆ getValueAndCache()
template<typename ChildT >
template<typename AccT >
◆ isActiveAndCache()
template<typename ChildT >
template<typename AccT >
bool isActiveAndCache |
( |
const Coord & | ijk, |
|
|
AccT & | acc ) const |
|
inline |
◆ merge()
template<typename ChildT >
void merge |
( |
RootNode< ChildT > & | other | ) |
|
|
inline |
◆ nodeCount() [1/2]
template<typename ChildT >
template<typename NodeT >
uint32_t nodeCount |
( |
| ) |
const |
|
inline |
◆ nodeCount() [2/2]
template<typename ChildT >
void nodeCount |
( |
std::array< size_t, 3 > & | count | ) |
const |
|
inline |
◆ operator=() [1/2]
template<typename ChildT >
◆ operator=() [2/2]
template<typename ChildT >
◆ probeTile() [1/2]
template<typename ChildT >
◆ probeTile() [2/2]
template<typename ChildT >
const Tile * probeTile |
( |
const Coord & | ijk | ) |
const |
|
inline |
◆ setValue()
template<typename ChildT >
◆ setValueAndCache()
template<typename ChildT >
template<typename AccT >
void setValueAndCache |
( |
const Coord & | ijk, |
|
|
const ValueType & | value, |
|
|
AccT & | acc ) |
|
inline |
◆ setValueOnAndCache()
template<typename ChildT >
template<typename AccT >
void setValueOnAndCache |
( |
const Coord & | ijk, |
|
|
AccT & | acc ) |
|
inline |
◆ signedFloodFill()
template<typename ChildT >
template<typename T >
std::enable_if< std::is_floating_point< T >::value >::type signedFloodFill |
( |
T | outside | ) |
|
|
inline |
◆ tileCount()
template<typename ChildT >
uint32_t tileCount |
( |
| ) |
const |
|
inline |
◆ touchLeafAndCache()
template<typename ChildT >
template<typename AccT >
void touchLeafAndCache |
( |
const Coord & | ijk, |
|
|
AccT & | acc ) |
|
inline |
◆ LEVEL
template<typename ChildT >
uint32_t LEVEL = 1 + ChildT::LEVEL |
|
staticconstexpr |
◆ mBackground
template<typename ChildT >
◆ mTable
template<typename ChildT >