|
OpenVDB 10.0.1
|
Top-most node of the VDB tree structure. More...
#include <nanovdb/NanoVDB.h>
Classes | |
| class | ChildIterator |
| class | ValueIterator |
| class | ValueOnIterator |
Public Types | |
| using | DataType = RootData< ChildT > |
| using | LeafNodeType = typename ChildT::LeafNodeType |
| using | ChildNodeType = ChildT |
| using | RootType = RootNode< ChildT > |
| using | ValueType = typename DataType::ValueT |
| using | FloatType = typename DataType::StatsT |
| using | BuildType = typename DataType::BuildT |
| using | CoordType = typename ChildT::CoordType |
| using | BBoxType = BBox< CoordType > |
| using | AccessorType = DefaultReadAccessor< BuildType > |
| using | Tile = typename DataType::Tile |
Public Member Functions | |
| ChildIterator | beginChild () const |
| ValueIterator | beginValue () const |
| ValueOnIterator | beginValueOn () const |
| RootNode ()=delete | |
| This class cannot be constructed or deleted. | |
| RootNode (const RootNode &)=delete | |
| RootNode & | operator= (const RootNode &)=delete |
| ~RootNode ()=delete | |
| AccessorType | getAccessor () const |
| DataType * | data () |
| const DataType * | data () const |
| const BBoxType & | 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. | |
| const ValueType & | background () const |
| Return the total number of active voxels in the root and all its child nodes. | |
| const uint32_t & | tileCount () const |
| Return the number of tiles encoded in this root node. | |
| const ValueType & | minimum () const |
| Return a const reference to the minimum active value encoded in this root node and any of its child nodes. | |
| const ValueType & | maximum () const |
| Return a const reference to the maximum active value encoded in this root node and any of its child nodes. | |
| const FloatType & | average () const |
| Return a const reference to the average of all the active values encoded in this root node and any of its child nodes. | |
| FloatType | variance () const |
| Return the variance of all the active values encoded in this root node and any of its child nodes. | |
| const FloatType & | stdDeviation () const |
| Return a const reference to the standard deviation of all the active values encoded in this root node and any of its child nodes. | |
| uint64_t | memUsage () const |
| Return the actual memory footprint of this root node. | |
| ValueType | getValue (const CoordType &ijk) const |
| Return the value of the given voxel. | |
| bool | isActive (const CoordType &ijk) const |
| bool | isEmpty () const |
| Return true if this RootNode is empty, i.e. contains no values or nodes. | |
| bool | probeValue (const CoordType &ijk, ValueType &v) const |
| const LeafNodeType * | probeLeaf (const CoordType &ijk) const |
| const ChildNodeType * | probeChild (const CoordType &ijk) const |
| const Tile * | probeTile (const CoordType &ijk) const |
| Find and return a Tile of this root node. | |
Static Public Member Functions | |
| static uint64_t | memUsage (uint32_t tableSize) |
| Return the expected memory footprint in bytes with the specified number of tiles. | |
Static Public Attributes | |
| static constexpr bool | FIXED_SIZE = DataType::FIXED_SIZE |
| static constexpr uint32_t | LEVEL = 1 + ChildT::LEVEL |
Friends | |
| template<typename , int , int , int > | |
| class | ReadAccessor |
| template<typename > | |
| class | Tree |
Top-most node of the VDB tree structure.
| using AccessorType = DefaultReadAccessor<BuildType> |
| using BuildType = typename DataType::BuildT |
| using ChildNodeType = ChildT |
| using CoordType = typename ChildT::CoordType |
| using FloatType = typename DataType::StatsT |
| using LeafNodeType = typename ChildT::LeafNodeType |
| using Tile = typename DataType::Tile |
| using ValueType = typename DataType::ValueT |
|
delete |
This class cannot be constructed or deleted.
|
delete |
|
inline |
Return a const reference to the average of all the active values encoded in this root node and any of its child nodes.
|
inline |
Return the total number of active voxels in the root and all its child nodes.
Return a const reference to the background value, i.e. the value associated with any coordinate location that has not been set explicitly.
|
inline |
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.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Return the value of the given voxel.
|
inline |
|
inline |
Return true if this RootNode is empty, i.e. contains no values or nodes.
|
inline |
Return a const reference to the maximum active value encoded in this root node and any of its child nodes.
|
inline |
Return the actual memory footprint of this root node.
|
inlinestatic |
Return the expected memory footprint in bytes with the specified number of tiles.
|
inline |
Return a const reference to the minimum active value encoded in this root node and any of its child nodes.
|
inline |
|
inline |
Find and return a Tile of this root node.
|
inline |
Return a const reference to the standard deviation of all the active values encoded in this root node and any of its child nodes.
|
inline |
Return the number of tiles encoded in this root node.
|
inline |
Return the variance of all the active values encoded in this root node and any of its child nodes.
|
staticconstexpr |
|
staticconstexpr |