Stuct with all the member data of the LeafNode (useful during serialization of an openvdb LeafNode) More...
#include <nanovdb/NanoVDB.h>
 
  
| Public Types | |
| using | ValueType = ValueT | 
| using | BuildType = ValueT | 
| using | FloatType = typename FloatTraits<ValueT>::FloatType | 
| using | ArrayType = ValueT | 
| Public Member Functions | |
| __hostdev__ ValueType | getValue (uint32_t i) const | 
| __hostdev__ void | setValueOnly (uint32_t offset, const ValueType &value) | 
| __hostdev__ void | setValue (uint32_t offset, const ValueType &value) | 
| __hostdev__ void | setOn (uint32_t offset) | 
| __hostdev__ ValueType | getMin () const | 
| __hostdev__ ValueType | getMax () const | 
| __hostdev__ FloatType | getAvg () const | 
| __hostdev__ FloatType | getDev () const | 
| __hostdev__ void | setMin (const ValueType &v) | 
| __hostdev__ void | setMax (const ValueType &v) | 
| __hostdev__ void | setAvg (const FloatType &v) | 
| __hostdev__ void | setDev (const FloatType &v) | 
| template<typename T> | |
| __hostdev__ void | setOrigin (const T &ijk) | 
| __hostdev__ void | fill (const ValueType &v) | 
| LeafData ()=delete | |
| This class cannot be constructed or deleted. | |
| LeafData (const LeafData &)=delete | |
| LeafData & | operator= (const LeafData &)=delete | 
| ~LeafData ()=delete | |
| Static Public Member Functions | |
| static __hostdev__ constexpr uint32_t | padding () | 
| Return padding of this class in bytes, due to aliasing and 32B alignment. | |
| static __hostdev__ uint64_t | memUsage () | 
| static __hostdev__ bool | hasStats () | 
| Public Attributes | |
| CoordT | mBBoxMin | 
| uint8_t | mBBoxDif [3] | 
| uint8_t | mFlags | 
| MaskT< LOG2DIM > | mValueMask | 
| ValueType | mMinimum | 
| ValueType | mMaximum | 
| FloatType | mAverage | 
| FloatType | mStdDevi | 
| ValueType | mValues [1u<< 3 *LOG2DIM] | 
| Static Public Attributes | |
| static constexpr bool | FIXED_SIZE = true | 
Stuct with all the member data of the LeafNode (useful during serialization of an openvdb LeafNode)
| using ArrayType = ValueT | 
| using BuildType = ValueT | 
| using FloatType = typename FloatTraits<ValueT>::FloatType | 
| using ValueType = ValueT | 
| 
 | delete | 
This class cannot be constructed or deleted.
| 
 | delete | 
| 
 | delete | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inlinestatic | 
| 
 | inlinestatic | 
| 
 | delete | 
| 
 | inlinestaticconstexpr | 
Return padding of this class in bytes, due to aliasing and 32B alignment.
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | staticconstexpr | 
| FloatType mAverage | 
| uint8_t mBBoxDif[3] | 
| CoordT mBBoxMin | 
| uint8_t mFlags | 
| ValueType mMaximum | 
| ValueType mMinimum | 
| FloatType mStdDevi | 
| MaskT<LOG2DIM> mValueMask | 
| ValueType mValues[1u<< 3 *LOG2DIM] |