OpenVDB  11.0.0
Public Member Functions | Public Attributes | List of all members
TreeData Struct Reference

#include <nanovdb/NanoVDB.h>

Inherited by Tree< RootT >.

Public Member Functions

TreeDataoperator= (const TreeData &other)
 
void setRoot (const void *root)
 
uint8_t * getRoot ()
 
const uint8_t * getRoot () const
 
template<typename NodeT >
void setFirstNode (const NodeT *node)
 
bool isEmpty () const
 
CoordBBox bbox () const
 Return the index bounding box of all the active values in this tree, i.e. in all nodes of the tree. More...
 
bool isRootNext () const
 return true if RootData is layout out immediately after TreeData in memory More...
 

Public Attributes

int64_t mNodeOffset [4]
 
uint32_t mNodeCount [3]
 
uint32_t mTileCount [3]
 
uint64_t mVoxelCount
 

Member Function Documentation

CoordBBox bbox ( ) const
inline

Return the index bounding box of all the active values in this tree, i.e. in all nodes of the tree.

uint8_t* getRoot ( )
inline
const uint8_t* getRoot ( ) const
inline
bool isEmpty ( ) const
inline
bool isRootNext ( ) const
inline

return true if RootData is layout out immediately after TreeData in memory

TreeData& operator= ( const TreeData other)
inline
void setFirstNode ( const NodeT *  node)
inline
void setRoot ( const void *  root)
inline

Member Data Documentation

uint32_t mNodeCount[3]
int64_t mNodeOffset[4]
uint32_t mTileCount[3]
uint64_t mVoxelCount