#include <nanovdb/util/GridBuilder.h>
|
| static constexpr uint32_t | LOG2DIM = ChildT::LOG2DIM + 1 |
| |
| static constexpr uint32_t | TOTAL = LOG2DIM + ChildT::TOTAL |
| |
| static constexpr uint32_t | DIM = 1u << TOTAL |
| |
| static constexpr uint32_t | SIZE = 1u << (3 * LOG2DIM) |
| |
| static constexpr int32_t | MASK = DIM - 1 |
| |
| static constexpr uint32_t | LEVEL = 1 + ChildT::LEVEL |
| |
| static constexpr uint64_t | NUM_VALUES = uint64_t(1) << (3 * TOTAL) |
| |
| void addChild |
( |
ChildT *& |
child | ) |
|
|
inline |
| void addNode |
( |
NodeT *& |
node | ) |
|
|
inline |
| BuildNode |
( |
const Coord & |
origin, |
|
|
const ValueT & |
value, |
|
|
bool |
state |
|
) |
| |
|
inline |
| BuildNode |
( |
const BuildNode & |
| ) |
|
|
delete |
| BuildNode |
( |
BuildNode && |
| ) |
|
|
delete |
| static uint32_t CoordToOffset |
( |
const Coord & |
ijk | ) |
|
|
inlinestatic |
| ValueT getFirstValue |
( |
| ) |
const |
|
inline |
| ValueT getLastValue |
( |
| ) |
const |
|
inline |
| void getNodes |
( |
std::vector< NodeT * > & |
array | ) |
|
|
inline |
| const ValueT& getValue |
( |
const Coord & |
ijk | ) |
const |
|
inline |
| const ValueT& getValueAndCache |
( |
const Coord & |
ijk, |
|
|
AccT & |
acc |
|
) |
| const |
|
inline |
| bool isActiveAndCache |
( |
const Coord & |
ijk, |
|
|
AccT & |
acc |
|
) |
| const |
|
inline |
| void localToGlobalCoord |
( |
Coord & |
ijk | ) |
const |
|
inline |
| uint32_t nodeCount |
( |
| ) |
const |
|
inline |
| Coord offsetToGlobalCoord |
( |
uint32_t |
n | ) |
const |
|
inline |
| static Coord OffsetToLocalCoord |
( |
uint32_t |
n | ) |
|
|
inlinestatic |
| BuildNode& operator= |
( |
const BuildNode & |
| ) |
|
|
delete |
| BuildNode& operator= |
( |
BuildNode && |
| ) |
|
|
delete |
| void setValue |
( |
const Coord & |
ijk, |
|
|
const ValueT & |
value |
|
) |
| |
|
inline |
| void setValueAndCache |
( |
const Coord & |
ijk, |
|
|
const ValueT & |
value, |
|
|
AccT & |
acc |
|
) |
| |
|
inline |
| std::enable_if<std::is_floating_point<T>::value>::type signedFloodFill |
( |
T |
outside | ) |
|
| std::enable_if<!std::is_floating_point<T>::value>::type signedFloodFill |
( |
T |
| ) |
|
|
inline |
| constexpr uint32_t DIM = 1u << TOTAL |
|
static |
| constexpr uint32_t LEVEL = 1 + ChildT::LEVEL |
|
static |
| constexpr uint32_t LOG2DIM = ChildT::LOG2DIM + 1 |
|
static |
| constexpr int32_t MASK = DIM - 1 |
|
static |
| constexpr uint64_t NUM_VALUES = uint64_t(1) << (3 * TOTAL) |
|
static |
| constexpr uint32_t SIZE = 1u << (3 * LOG2DIM) |
|
static |
| constexpr uint32_t TOTAL = LOG2DIM + ChildT::TOTAL |
|
static |