OpenVDB 9.0.0
Public Types | 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 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
 

Public Attributes

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

Static Public Attributes

static constexpr bool FIXED_SIZE = true
 

Member Typedef Documentation

◆ ArrayType

using ArrayType = MaskT<LOG2DIM>

◆ BuildType

using BuildType = bool

◆ FloatType

using FloatType = bool

◆ ValueType

using ValueType = bool

Constructor & Destructor Documentation

◆ LeafData() [1/2]

LeafData ( )
delete

This class cannot be constructed or deleted.

◆ LeafData() [2/2]

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

◆ ~LeafData()

~LeafData ( )
delete

Member Function Documentation

◆ getAvg()

bool getAvg ( ) const
inline

◆ getDev()

bool getDev ( ) const
inline

◆ getMax()

bool getMax ( ) const
inline

◆ getMin()

bool getMin ( ) const
inline

◆ getValue()

bool getValue ( uint32_t  i) const
inline

◆ operator=()

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

◆ setAvg()

void setAvg ( const bool &  )
inline

◆ setDev()

void setDev ( const bool &  )
inline

◆ setMax()

void setMax ( const bool &  )
inline

◆ setMin()

void setMin ( const bool &  )
inline

◆ setOrigin()

void setOrigin ( const T &  ijk)
inline

◆ setValue()

void setValue ( uint32_t  offset,
bool  v 
)
inline

Member Data Documentation

◆ FIXED_SIZE

constexpr bool FIXED_SIZE = true
staticconstexpr

◆ mBBoxDif

uint8_t mBBoxDif[3]

◆ mBBoxMin

CoordT mBBoxMin

◆ mFlags

uint8_t mFlags

◆ mValueMask

MaskT<LOG2DIM> mValueMask

◆ mValues

MaskT<LOG2DIM> mValues