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

#include <nanovdb/NanoVDB.h>

Inherits LeafIndexBase< CoordT, MaskT, LOG2DIM >.

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

Public Types

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

Public Member Functions

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 uint32_t valueCount ()
 
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

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

Constructor & Destructor Documentation

LeafData ( )
delete

This class cannot be constructed or deleted.

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

Member Function Documentation

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

Member Data Documentation

constexpr bool FIXED_SIZE = true
staticinherited
uint8_t mBBoxDif[3]
inherited
CoordT mBBoxMin
inherited
uint8_t mFlags
inherited
uint64_t mOffset
inherited
uint64_t mPrefixSum
inherited
MaskT<LOG2DIM> mValueMask
inherited