Stuct with all the member data of the LeafNode (useful during serialization of an openvdb LeafNode)
More...
#include <nanovdb/NanoVDB.h>
Inherits LeafFnBase< CoordT, MaskT, LOG2DIM >.
template<typename CoordT, template< uint32_t > class MaskT, uint32_t LOG2DIM>
struct nanovdb::LeafData< Fp4, CoordT, MaskT, LOG2DIM >
Stuct with all the member data of the LeafNode (useful during serialization of an openvdb LeafNode)
- Note
- No client code should (or can) interface with this struct so it can safely be ignored!
This class cannot be constructed or deleted.
static constexpr uint8_t bitWidth |
( |
| ) |
|
|
inlinestatic |
return the quantized average of the active values in this node
return the quantized standard deviation of the active values in this node
- Note
- 0 <= StdDev <= max-min or 0 <= StdDev/(max-min) <= 1
return the quantized maximum of the active values in this node
return the quantized minimum of the active values in this node
float getValue |
( |
uint32_t |
i | ) |
const |
|
inline |
void init |
( |
float |
min, |
|
|
float |
max, |
|
|
uint8_t |
bitWidth |
|
) |
| |
|
inlineinherited |
- Note
- min <= avg <= max or 0 <= (avg-min)/(min-max) <= 1
- Note
- 0 <= StdDev <= max-min or 0 <= StdDev/(max-min) <= 1
- Note
- min <= X <= max or 0 <= (X-min)/(min-max) <= 1
- Note
- min <= X <= max or 0 <= (X-min)/(min-max) <= 1
void setOrigin |
( |
const T & |
ijk | ) |
|
|
inlineinherited |
constexpr bool FIXED_SIZE = true |
|
static |
uint8_t mCode[1u<< (3 *LOG2DIM-1)] |
MaskT<LOG2DIM> mValueMask |
|
inherited |