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

#include <nanovdb/NanoVDB.h>

Public Types

using ValueType = bool
 
using BuildType = bool
 
using FloatType = bool
 
using ArrayType = MaskT< LOG2DIM >
 

Public Member Functions

bool getValue (uint32_t i) const
 
bool getMin () const
 
bool getMax () const
 
bool getAvg () const
 
bool getDev () const
 
void setValue (uint32_t offset, bool v)
 
void setOn (uint32_t offset)
 
void setMin (const bool &)
 
void setMax (const bool &)
 
void setAvg (const bool &)
 
void setDev (const bool &)
 
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 ()
 
static bool hasStats ()
 

Public Attributes

CoordT mBBoxMin
 
uint8_t mBBoxDif [3]
 
uint8_t mFlags
 
MaskT< LOG2DIM > mValueMask
 
MaskT< LOG2DIM > mValues
 
uint64_t mPadding [2]
 

Static Public Attributes

static constexpr bool FIXED_SIZE = true
 

Member Typedef Documentation

using ArrayType = MaskT<LOG2DIM>
using BuildType = bool
using FloatType = bool
using ValueType = bool

Constructor & Destructor Documentation

LeafData ( )
delete

This class cannot be constructed or deleted.

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

Member Function Documentation

bool getAvg ( ) const
inline
bool getDev ( ) const
inline
bool getMax ( ) const
inline
bool getMin ( ) const
inline
bool getValue ( uint32_t  i) const
inline
static bool hasStats ( )
inlinestatic
static uint64_t memUsage ( )
inlinestatic
LeafData& operator= ( const LeafData< bool, CoordT, MaskT, LOG2DIM > &  )
delete
static constexpr uint32_t padding ( )
inlinestatic
void setAvg ( const bool &  )
inline
void setDev ( const bool &  )
inline
void setMax ( const bool &  )
inline
void setMin ( const bool &  )
inline
void setOn ( uint32_t  offset)
inline
void setOrigin ( const T &  ijk)
inline
void setValue ( uint32_t  offset,
bool  v 
)
inline

Member Data Documentation

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