OpenVDB
11.0.0
|
This is a convenient class that allows for access to grid meta-data that are independent of the value type of a grid. That is, this class can be used to get information about a grid without actually knowing its ValueType. More...
#include <nanovdb/NanoVDB.h>
Public Member Functions | |
template<typename T > | |
GridMetaData (const NanoGrid< T > &grid) | |
GridMetaData (const GridData *gridData) | |
bool | safeCast () const |
return true if the RootData follows right after the TreeData. If so, this implies that it's safe to cast the grid from which this instance was constructed to a GridMetaData More... | |
bool | isValid () const |
const GridType & | gridType () const |
const GridClass & | gridClass () const |
bool | isLevelSet () const |
bool | isFogVolume () const |
bool | isStaggered () const |
bool | isPointIndex () const |
bool | isGridIndex () const |
bool | isPointData () const |
bool | isMask () const |
bool | isUnknown () const |
bool | hasMinMax () const |
bool | hasBBox () const |
bool | hasLongGridName () const |
bool | hasAverage () const |
bool | hasStdDeviation () const |
bool | isBreadthFirst () const |
uint64_t | gridSize () const |
uint32_t | gridIndex () const |
uint32_t | gridCount () const |
const char * | shortGridName () const |
const Map & | map () const |
const BBox< Vec3d > & | worldBBox () const |
const BBox< Coord > & | indexBBox () const |
Vec3d | voxelSize () const |
int | blindDataCount () const |
uint64_t | activeVoxelCount () const |
const uint32_t & | activeTileCount (uint32_t level) const |
uint32_t | nodeCount (uint32_t level) const |
uint64_t | checksum () const |
uint32_t | rootTableSize () const |
bool | isEmpty () const |
Version | version () const |
Static Public Member Functions | |
static bool | safeCast (const GridData *gridData) |
return true if it is safe to cast the grid to a pointer of type GridMetaData, i.e. construction can be avoided. More... | |
template<typename T > | |
static bool | safeCast (const NanoGrid< T > &grid) |
return true if it is safe to cast the grid to a pointer of type GridMetaData, i.e. construction can be avoided. More... | |
This is a convenient class that allows for access to grid meta-data that are independent of the value type of a grid. That is, this class can be used to get information about a grid without actually knowing its ValueType.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
return true if the RootData follows right after the TreeData. If so, this implies that it's safe to cast the grid from which this instance was constructed to a GridMetaData
|
inlinestatic |
return true if it is safe to cast the grid to a pointer of type GridMetaData, i.e. construction can be avoided.
|
inlinestatic |
return true if it is safe to cast the grid to a pointer of type GridMetaData, i.e. construction can be avoided.
|
inline |
|
inline |
|
inline |