#include <nanovdb/NanoVDB.h>
|
| uint8_t | bitWidth () const |
| |
| size_t | memUsage () const |
| |
| float | getValue (uint32_t i) const |
| |
| | LeafData ()=delete |
| | This class cannot be constructed or deleted.
|
| |
| | LeafData (const LeafData &)=delete |
| |
| LeafData & | operator= (const LeafData &)=delete |
| |
| | ~LeafData ()=delete |
| |
| void | init (float min, float max, uint8_t bitWidth) |
| |
| float | getMin () const |
| | return the quantized minimum of the active values in this node
|
| |
| float | getMax () const |
| | return the quantized maximum of the active values in this node
|
| |
| float | getAvg () const |
| | return the quantized average of the active values in this node
|
| |
| float | getDev () const |
| | return the quantized standard deviation of the active values in this node
|
| |
| void | setMin (float min) |
| |
| void | setMax (float max) |
| |
| void | setAvg (float avg) |
| |
| void | setDev (float dev) |
| |
| template<typename T > |
| void | setOrigin (const T &ijk) |
| |
◆ BaseT
◆ BuildType
◆ FloatType
◆ ValueType
◆ LeafData() [1/2]
This class cannot be constructed or deleted.
◆ LeafData() [2/2]
◆ ~LeafData()
◆ bitWidth()
| uint8_t bitWidth |
( |
| ) |
const |
|
inline |
◆ getAvg()
return the quantized average of the active values in this node
◆ getDev()
return the quantized standard deviation of the active values in this node
- Note
- 0 <= StdDev <= max-min or 0 <= StdDev/(max-min) <= 1
◆ getMax()
return the quantized maximum of the active values in this node
◆ getMin()
return the quantized minimum of the active values in this node
◆ getValue()
| float getValue |
( |
uint32_t |
i | ) |
const |
|
inline |
◆ init()
| void init |
( |
float |
min, |
|
|
float |
max, |
|
|
uint8_t |
bitWidth |
|
) |
| |
|
inlineinherited |
◆ memUsage() [1/3]
| static uint64_t memUsage |
( |
| ) |
|
|
inlinestaticinherited |
◆ memUsage() [2/3]
| size_t memUsage |
( |
| ) |
const |
|
inline |
◆ memUsage() [3/3]
| static size_t memUsage |
( |
uint32_t |
bitWidth | ) |
|
|
inlinestatic |
◆ operator=()
◆ padding()
| static constexpr uint32_t padding |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ setAvg()
- Note
- min <= avg <= max or 0 <= (avg-min)/(min-max) <= 1
◆ setDev()
- Note
- 0 <= StdDev <= max-min or 0 <= StdDev/(max-min) <= 1
◆ setMax()
- Note
- min <= X <= max or 0 <= (X-min)/(min-max) <= 1
◆ setMin()
- Note
- min <= X <= max or 0 <= (X-min)/(min-max) <= 1
◆ setOrigin()
| void setOrigin |
( |
const T & |
ijk | ) |
|
|
inlineinherited |
◆ FIXED_SIZE
| constexpr bool FIXED_SIZE = false |
|
staticconstexpr |
◆ mAvg
◆ mBBoxDif
◆ mBBoxMin
◆ mDev
◆ mFlags
◆ mMax
◆ mMin
◆ mMinimum
◆ mQuantum
◆ mValueMask
| MaskT<LOG2DIM> mValueMask |
|
inherited |