OpenVDB
9.0.1
|
LeafNanager maintains a linear array of leaf nodes. More...
#include <nanovdb/util/NodeManager.h>
Public Member Functions | |
LeafManager () | |
Empty constructor. More... | |
LeafManager (GridT &grid) | |
Construction from a grid. More... | |
LeafManager (const LeafManager &)=delete | |
Disallow copy construction. More... | |
LeafManager (LeafManager &&) | |
Move constructor. More... | |
~LeafManager () | |
Destructor. More... | |
LeafManager & | operator= (const LeafManager &)=delete |
Disallow copy assignment operator. More... | |
LeafManager & | operator= (LeafManager &&) |
Move assignment operator. More... | |
bool | empty () const |
Return true of this instance is un-initialized. More... | |
size_t | memUsage () const |
Return the memory footprint in bytes of this instance. More... | |
GridT * | grid () |
Return a pointer to the grid, or NULL if it is uninitialized. More... | |
uint32_t | size () const |
Return the number of leaf nodes. More... | |
LeafT * | operator[] (uint32_t i) const |
Return the i'th leaf node. More... | |
LeafNanager maintains a linear array of leaf nodes.
|
inline |
Empty constructor.
LeafManager | ( | GridT & | grid | ) |
Construction from a grid.
|
delete |
Disallow copy construction.
LeafManager | ( | LeafManager< GridT > && | other | ) |
Move constructor.
|
inline |
Destructor.
|
inline |
Return true of this instance is un-initialized.
|
inline |
Return a pointer to the grid, or NULL if it is uninitialized.
|
inline |
Return the memory footprint in bytes of this instance.
|
delete |
Disallow copy assignment operator.
LeafManager< GridT > & operator= | ( | LeafManager< GridT > && | other | ) |
Move assignment operator.
|
inline |
Return the i'th leaf node.
|
inline |
Return the number of leaf nodes.