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) | |
| GridMetaData & | operator= (const GridMetaData &)=default | 
| __hostdev__ 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 | |
| __hostdev__ bool | isValid () const | 
| __hostdev__ const GridType & | gridType () const | 
| __hostdev__ const GridClass & | gridClass () const | 
| __hostdev__ bool | isLevelSet () const | 
| __hostdev__ bool | isFogVolume () const | 
| __hostdev__ bool | isStaggered () const | 
| __hostdev__ bool | isPointIndex () const | 
| __hostdev__ bool | isGridIndex () const | 
| __hostdev__ bool | isPointData () const | 
| __hostdev__ bool | isMask () const | 
| __hostdev__ bool | isUnknown () const | 
| __hostdev__ bool | hasMinMax () const | 
| __hostdev__ bool | hasBBox () const | 
| __hostdev__ bool | hasLongGridName () const | 
| __hostdev__ bool | hasAverage () const | 
| __hostdev__ bool | hasStdDeviation () const | 
| __hostdev__ bool | isBreadthFirst () const | 
| __hostdev__ uint64_t | gridSize () const | 
| __hostdev__ uint32_t | gridIndex () const | 
| __hostdev__ uint32_t | gridCount () const | 
| __hostdev__ const char * | shortGridName () const | 
| __hostdev__ const Map & | map () const | 
| __hostdev__ const Vec3dBBox & | worldBBox () const | 
| __hostdev__ const CoordBBox & | indexBBox () const | 
| __hostdev__ Vec3d | voxelSize () const | 
| __hostdev__ int | blindDataCount () const | 
| __hostdev__ uint64_t | activeVoxelCount () const | 
| __hostdev__ const uint32_t & | activeTileCount (uint32_t level) const | 
| __hostdev__ uint32_t | nodeCount (uint32_t level) const | 
| __hostdev__ const Checksum & | checksum () const | 
| __hostdev__ uint32_t | rootTableSize () const | 
| __hostdev__ bool | isEmpty () const | 
| __hostdev__ Version | version () const | 
| Static Public Member Functions | |
| static __hostdev__ 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. | |
| template<typename T> | |
| static __hostdev__ 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. | |
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 | 
| 
 | default | 
| 
 | 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 | 
| 
 | inline |