OpenVDB  9.0.1
Public Member Functions | Public Attributes | List of all members
GridMetaData Struct Reference

#include <nanovdb/util/IO.h>

Inherits MetaData.

Public Member Functions

void read (std::istream &is)
 
void write (std::ostream &os) const
 
 GridMetaData ()
 
template<typename ValueT >
 GridMetaData (uint64_t size, Codec c, const NanoGrid< ValueT > &grid)
 
uint64_t memUsage () const
 

Public Attributes

std::string gridName
 
uint64_t gridSize
 
uint64_t fileSize
 
uint64_t nameKey
 
uint64_t voxelCount
 
GridType gridType
 
GridClass gridClass
 
BBox< Vec3dworldBBox
 
CoordBBox indexBBox
 
Vec3R voxelSize
 
uint32_t nameSize
 
uint32_t nodeCount [4]
 
uint32_t tileCount [3]
 
Codec codec
 
uint16_t padding
 
Version version
 

Constructor & Destructor Documentation

GridMetaData ( )
inline
GridMetaData ( uint64_t  size,
Codec  c,
const NanoGrid< ValueT > &  grid 
)
inline

Member Function Documentation

uint64_t memUsage ( ) const
inline
void read ( std::istream &  is)
inline
void write ( std::ostream &  os) const
inline

Member Data Documentation

Codec codec
inherited
uint64_t fileSize
inherited
GridClass gridClass
inherited
std::string gridName
uint64_t gridSize
inherited
GridType gridType
inherited
CoordBBox indexBBox
inherited
uint64_t nameKey
inherited
uint32_t nameSize
inherited
uint32_t nodeCount[4]
inherited
uint16_t padding
inherited
uint32_t tileCount[3]
inherited
Version version
inherited
uint64_t voxelCount
inherited
Vec3R voxelSize
inherited
BBox<Vec3d> worldBBox
inherited