OpenVDB  10.0.1
Public Member Functions | List of all members
GridMetaData Class Reference

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

bool isValid () const
 
uint64_t gridSize () const
 
uint32_t gridIndex () const
 
uint32_t gridCount () const
 
const char * shortGridName () const
 
GridType gridType () const
 
GridClass gridClass () const
 
bool isLevelSet () const
 
bool isFogVolume () const
 
bool isPointIndex () const
 
bool isPointData () const
 
bool isMask () const
 
bool isStaggered () const
 
bool isUnknown () const
 
const Mapmap () const
 
const BBox< Vec3R > & worldBBox () const
 
const BBox< Coord > & indexBBox () const
 
Vec3R voxelSize () const
 
int blindDataCount () const
 
const GridBlindMetaDatablindMetaData (uint32_t n) const
 
uint64_t activeVoxelCount () const
 
const uint32_t & activeTileCount (uint32_t level) const
 
uint32_t nodeCount (uint32_t level) const
 
uint64_t checksum () const
 
bool isEmpty () const
 
Version version () const
 

Detailed Description

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.

Member Function Documentation

const uint32_t& activeTileCount ( uint32_t  level) const
inline
uint64_t activeVoxelCount ( ) const
inline
int blindDataCount ( ) const
inline
const GridBlindMetaData& blindMetaData ( uint32_t  n) const
inline
uint64_t checksum ( ) const
inline
GridClass gridClass ( ) const
inline
uint32_t gridCount ( ) const
inline
uint32_t gridIndex ( ) const
inline
uint64_t gridSize ( ) const
inline
GridType gridType ( ) const
inline
const BBox<Coord>& indexBBox ( ) const
inline
bool isEmpty ( ) const
inline
bool isFogVolume ( ) const
inline
bool isLevelSet ( ) const
inline
bool isMask ( ) const
inline
bool isPointData ( ) const
inline
bool isPointIndex ( ) const
inline
bool isStaggered ( ) const
inline
bool isUnknown ( ) const
inline
bool isValid ( ) const
inline
const Map& map ( ) const
inline
uint32_t nodeCount ( uint32_t  level) const
inline
const char* shortGridName ( ) const
inline
Version version ( ) const
inline
Vec3R voxelSize ( ) const
inline
const BBox<Vec3R>& worldBBox ( ) const
inline