OpenVDB 11.0.0
Loading...
Searching...
No Matches
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.
 
 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

◆ ArrayType

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
using ArrayType = MaskT<LOG2DIM>

◆ BuildType

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
using BuildType = bool

◆ FloatType

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
using FloatType = bool

◆ ValueType

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
using ValueType = bool

Constructor & Destructor Documentation

◆ LeafData() [1/2]

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
LeafData ( )
delete

This class cannot be constructed or deleted.

◆ LeafData() [2/2]

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
LeafData ( const LeafData< bool, CoordT, MaskT, LOG2DIM > & )
delete

◆ ~LeafData()

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
~LeafData ( )
delete

Member Function Documentation

◆ getAvg()

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
bool getAvg ( ) const
inline

◆ getDev()

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
bool getDev ( ) const
inline

◆ getMax()

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
bool getMax ( ) const
inline

◆ getMin()

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
bool getMin ( ) const
inline

◆ getValue()

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
bool getValue ( uint32_t i) const
inline

◆ hasStats()

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
static bool hasStats ( )
inlinestatic

◆ memUsage()

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
static uint64_t memUsage ( )
inlinestatic

◆ operator=()

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
LeafData & operator= ( const LeafData< bool, CoordT, MaskT, LOG2DIM > & )
delete

◆ padding()

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
static constexpr uint32_t padding ( )
inlinestaticconstexpr

◆ setAvg()

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
void setAvg ( const bool & )
inline

◆ setDev()

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
void setDev ( const bool & )
inline

◆ setMax()

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
void setMax ( const bool & )
inline

◆ setMin()

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
void setMin ( const bool & )
inline

◆ setOn()

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
void setOn ( uint32_t offset)
inline

◆ setOrigin()

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
template<typename T >
void setOrigin ( const T & ijk)
inline

◆ setValue()

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
void setValue ( uint32_t offset,
bool v )
inline

Member Data Documentation

◆ FIXED_SIZE

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
constexpr bool FIXED_SIZE = true
staticconstexpr

◆ mBBoxDif

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
uint8_t mBBoxDif[3]

◆ mBBoxMin

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
CoordT mBBoxMin

◆ mFlags

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
uint8_t mFlags

◆ mPadding

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
uint64_t mPadding[2]

◆ mValueMask

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
MaskT<LOG2DIM> mValueMask

◆ mValues

template<typename CoordT , template< uint32_t > class MaskT, uint32_t LOG2DIM>
MaskT<LOG2DIM> mValues