|
| Tree ()=delete |
| This class cannot be constructed or deleted. More...
|
|
| Tree (const Tree &)=delete |
|
Tree & | operator= (const Tree &)=delete |
|
| ~Tree ()=delete |
|
DataType * | data () |
|
const DataType * | data () const |
|
RootT & | root () |
|
const RootT & | root () const |
|
AccessorType | getAccessor () const |
|
ValueType | getValue (const CoordType &ijk) const |
| Return the value of the given voxel (regardless of state or location in the tree.) More...
|
|
bool | isActive (const CoordType &ijk) const |
| Return the active state of the given voxel (regardless of state or location in the tree.) More...
|
|
bool | isEmpty () const |
| Return true if this tree is empty, i.e. contains no values or nodes. More...
|
|
bool | probeValue (const CoordType &ijk, ValueType &v) const |
| Combines the previous two methods in a single call. More...
|
|
const ValueType & | background () const |
| Return a const reference to the background value. More...
|
|
void | extrema (ValueType &min, ValueType &max) const |
| Sets the extrema values of all the active values in this tree, i.e. in all nodes of the tree. More...
|
|
const BBox< CoordType > & | bbox () const |
| Return a const reference to the index bounding box of all the active values in this tree, i.e. in all nodes of the tree. More...
|
|
uint64_t | activeVoxelCount () const |
| Return the total number of active voxels in this tree. More...
|
|
const uint32_t & | activeTileCount (uint32_t level) const |
| Return the total number of active tiles at the specified level of the tree. More...
|
|
template<typename NodeT > |
uint32_t | nodeCount () const |
|
uint32_t | nodeCount (int level) const |
|
template<typename NodeT > |
NodeT * | getFirstNode () |
| return a pointer to the first node of the specified type More...
|
|
template<typename NodeT > |
const NodeT * | getFirstNode () const |
| return a const pointer to the first node of the specified type More...
|
|
template<int LEVEL> |
NodeTrait< RootT, LEVEL >::type * | getFirstNode () |
| return a pointer to the first node at the specified level More...
|
|
template<int LEVEL> |
const NodeTrait< RootT, LEVEL >::type * | getFirstNode () const |
| return a const pointer to the first node of the specified level More...
|
|
LeafNodeType * | getFirstLeaf () |
| Template specializations of getFirstNode. More...
|
|
const LeafNodeType * | getFirstLeaf () const |
|
NodeTrait< RootT, 1 >::type * | getFirstLower () |
|
const NodeTrait< RootT, 1 >::type * | getFirstLower () const |
|
NodeTrait< RootT, 2 >::type * | getFirstUpper () |
|
const NodeTrait< RootT, 2 >::type * | getFirstUpper () const |
|
template<typename RootT>
class nanovdb::Tree< RootT >
VDB Tree, which is a thin wrapper around a RootNode.
const uint32_t& activeTileCount |
( |
uint32_t |
level | ) |
const |
|
inline |
Return the total number of active tiles at the specified level of the tree.
level = 1,2,3 corresponds to active tile count in lower internal nodes, upper internal nodes, and the root level. Note active values at the leaf level are referred to as active voxels (see activeVoxelCount defined above).