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

#include <nanovdb/NanoVDB.h>

Public Types

using ValueType = bool
 
using BuildType = ValueMask
 
using FloatType = bool
 
using ArrayType = void
 

Public Member Functions

__hostdev__ bool getValue (uint32_t i) const
 
__hostdev__ bool getMin () const
 
__hostdev__ bool getMax () const
 
__hostdev__ bool getAvg () const
 
__hostdev__ bool getDev () const
 
__hostdev__ void setValue (uint32_t offset, bool)
 
__hostdev__ void setOn (uint32_t offset)
 
__hostdev__ void setMin (const ValueType &)
 
__hostdev__ void setMax (const ValueType &)
 
__hostdev__ void setAvg (const FloatType &)
 
__hostdev__ void setDev (const FloatType &)
 
template<typename T >
__hostdev__ 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 __hostdev__ uint64_t memUsage ()
 
static __hostdev__ bool hasStats ()
 
static __hostdev__ constexpr uint32_t padding ()
 

Public Attributes

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

Static Public Attributes

static constexpr bool FIXED_SIZE = true
 

Member Typedef Documentation

using ArrayType = void
using FloatType = bool
using ValueType = bool

Constructor & Destructor Documentation

LeafData ( )
delete

This class cannot be constructed or deleted.

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

Member Function Documentation

__hostdev__ bool getAvg ( ) const
inline
__hostdev__ bool getDev ( ) const
inline
__hostdev__ bool getMax ( ) const
inline
__hostdev__ bool getMin ( ) const
inline
__hostdev__ bool getValue ( uint32_t  i) const
inline
static __hostdev__ bool hasStats ( )
inlinestatic
static __hostdev__ uint64_t memUsage ( )
inlinestatic
LeafData& operator= ( const LeafData< ValueMask, CoordT, MaskT, LOG2DIM > &  )
delete
static __hostdev__ constexpr uint32_t padding ( )
inlinestatic
__hostdev__ void setAvg ( const FloatType )
inline
__hostdev__ void setDev ( const FloatType )
inline
__hostdev__ void setMax ( const ValueType )
inline
__hostdev__ void setMin ( const ValueType )
inline
__hostdev__ void setOn ( uint32_t  offset)
inline
__hostdev__ void setOrigin ( const T &  ijk)
inline
__hostdev__ void setValue ( uint32_t  offset,
bool   
)
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