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

#include <nanovdb/NanoVDB.h>

Inherits LeafIndexBase< CoordT, MaskT, LOG2DIM >.

Inherited by LeafData< ValueOnIndexMask, CoordT, MaskT, LOG2DIM >.

Public Types

using BaseT = LeafIndexBase< CoordT, MaskT, LOG2DIM >
 
using BuildType = ValueOnIndex
 
using ValueType = uint64_t
 
using FloatType = uint64_t
 
using ArrayType = void
 

Public Member Functions

uint32_t valueCount () const
 
uint64_t lastOffset () const
 
uint64_t getMin () const
 
uint64_t getMax () const
 
uint64_t getAvg () const
 
uint64_t getDev () const
 
uint64_t getValue (uint32_t i) const
 
 LeafData ()=delete
 This class cannot be constructed or deleted. More...
 
 LeafData (const LeafData &)=delete
 
LeafDataoperator= (const LeafData &)=delete
 
 ~LeafData ()=delete
 
bool hasStats () const
 
const uint64_t & firstOffset () const
 
void setMin (const ValueType &)
 
void setMax (const ValueType &)
 
void setAvg (const FloatType &)
 
void setDev (const FloatType &)
 
void setOn (uint32_t offset)
 
template<typename T >
void setOrigin (const T &ijk)
 

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 mOffset
 
uint64_t mPrefixSum
 

Static Public Attributes

static constexpr bool FIXED_SIZE = true
 

Member Typedef Documentation

◆ ArrayType

using ArrayType = void
inherited

◆ BaseT

using BaseT = LeafIndexBase<CoordT, MaskT, LOG2DIM>

◆ BuildType

◆ FloatType

using FloatType = uint64_t
inherited

◆ ValueType

using ValueType = uint64_t
inherited

Constructor & Destructor Documentation

◆ LeafData() [1/2]

LeafData ( )
delete

This class cannot be constructed or deleted.

◆ LeafData() [2/2]

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

◆ ~LeafData()

~LeafData ( )
delete

Member Function Documentation

◆ firstOffset()

const uint64_t& firstOffset ( ) const
inlineinherited

◆ getAvg()

uint64_t getAvg ( ) const
inline

◆ getDev()

uint64_t getDev ( ) const
inline

◆ getMax()

uint64_t getMax ( ) const
inline

◆ getMin()

uint64_t getMin ( ) const
inline

◆ getValue()

uint64_t getValue ( uint32_t  i) const
inline

◆ hasStats()

bool hasStats ( ) const
inlineinherited

◆ lastOffset()

uint64_t lastOffset ( ) const
inline

◆ memUsage()

static uint64_t memUsage ( )
inlinestaticinherited

◆ operator=()

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

◆ padding()

static constexpr uint32_t padding ( )
inlinestaticconstexprinherited

◆ setAvg()

void setAvg ( const FloatType )
inlineinherited

◆ setDev()

void setDev ( const FloatType )
inlineinherited

◆ setMax()

void setMax ( const ValueType )
inlineinherited

◆ setMin()

void setMin ( const ValueType )
inlineinherited

◆ setOn()

void setOn ( uint32_t  offset)
inlineinherited

◆ setOrigin()

void setOrigin ( const T &  ijk)
inlineinherited

◆ valueCount()

uint32_t valueCount ( ) const
inline

Member Data Documentation

◆ FIXED_SIZE

constexpr bool FIXED_SIZE = true
staticconstexprinherited

◆ mBBoxDif

uint8_t mBBoxDif[3]
inherited

◆ mBBoxMin

CoordT mBBoxMin
inherited

◆ mFlags

uint8_t mFlags
inherited

◆ mOffset

uint64_t mOffset
inherited

◆ mPrefixSum

uint64_t mPrefixSum
inherited

◆ mValueMask

MaskT<LOG2DIM> mValueMask
inherited