OpenVDB  10.0.1
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
LeafData< ValueIndex, CoordT, MaskT, LOG2DIM > Struct Template Reference

#include <nanovdb/NanoVDB.h>

Public Types

using ValueType = uint64_t
 
using BuildType = ValueIndex
 
using FloatType = uint64_t
 
using ArrayType = void
 

Public Member Functions

uint64_t getMin () const
 
uint64_t getMax () const
 
uint64_t getAvg () const
 
uint64_t getDev () const
 
void setValue (uint32_t offset, uint64_t)
 
uint64_t getValue (uint32_t i) const
 
template<typename T >
void setMin (const T &min, T *p)
 
template<typename T >
void setMax (const T &max, T *p)
 
template<typename T >
void setAvg (const T &avg, T *p)
 
template<typename T >
void setDev (const T &dev, T *p)
 
template<typename T >
void setOrigin (const T &ijk)
 
 LeafData ()=delete
 This class cannot be constructed or deleted. More...
 
 LeafData (const LeafData &)=delete
 
LeafDataoperator= (const LeafData &)=delete
 
 ~LeafData ()=delete
 

Static Public Member Functions

static constexpr uint32_t padding ()
 
static uint64_t memUsage ()
 

Public Attributes

CoordT mBBoxMin
 
uint8_t mBBoxDif [3]
 
uint8_t mFlags
 
MaskT< LOG2DIM > mValueMask
 
uint64_t mStatsOff
 
uint64_t mValueOff
 

Static Public Attributes

static constexpr bool FIXED_SIZE = true
 

Member Typedef Documentation

using ArrayType = void
using FloatType = uint64_t
using ValueType = uint64_t

Constructor & Destructor Documentation

LeafData ( )
delete

This class cannot be constructed or deleted.

LeafData ( const LeafData< ValueIndex, CoordT, MaskT, LOG2DIM > &  )
delete
~LeafData ( )
delete

Member Function Documentation

uint64_t getAvg ( ) const
inline
uint64_t getDev ( ) const
inline
uint64_t getMax ( ) const
inline
uint64_t getMin ( ) const
inline
uint64_t getValue ( uint32_t  i) const
inline
static uint64_t memUsage ( )
inlinestatic
LeafData& operator= ( const LeafData< ValueIndex, CoordT, MaskT, LOG2DIM > &  )
delete
static constexpr uint32_t padding ( )
inlinestatic
void setAvg ( const T &  avg,
T *  p 
)
inline
void setDev ( const T &  dev,
T *  p 
)
inline
void setMax ( const T &  max,
T *  p 
)
inline
void setMin ( const T &  min,
T *  p 
)
inline
void setOrigin ( const T &  ijk)
inline
void setValue ( uint32_t  offset,
uint64_t   
)
inline

Member Data Documentation

constexpr bool FIXED_SIZE = true
static
uint8_t mBBoxDif[3]
CoordT mBBoxMin
uint8_t mFlags
uint64_t mStatsOff
MaskT<LOG2DIM> mValueMask
uint64_t mValueOff