#include <nanovdb/util/GridBuilder.h>
|
static constexpr uint32_t | LOG2DIM = 3 |
|
static constexpr uint32_t | TOTAL = LOG2DIM |
|
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 = 0 |
|
static constexpr uint64_t | NUM_VALUES = uint64_t(1) << (3 * TOTAL) |
|
void addNode |
( |
NodeT *& |
| ) |
|
|
inline |
BuildLeaf |
( |
const Coord & |
ijk, |
|
|
const ValueT & |
value, |
|
|
bool |
state |
|
) |
| |
|
inline |
BuildLeaf |
( |
const BuildLeaf & |
| ) |
|
|
delete |
BuildLeaf |
( |
BuildLeaf && |
| ) |
|
|
delete |
static uint32_t CoordToOffset |
( |
const Coord & |
ijk | ) |
|
|
inlinestatic |
Return the linear offset corresponding to the given coordinate.
ValueT getFirstValue |
( |
| ) |
const |
|
inline |
ValueT getLastValue |
( |
| ) |
const |
|
inline |
void getNodes |
( |
std::vector< NodeT * > & |
| ) |
|
|
inline |
const ValueT& getValue |
( |
const Coord & |
ijk | ) |
const |
|
inline |
const ValueT& getValueAndCache |
( |
const Coord & |
ijk, |
|
|
const AccT & |
|
|
) |
| const |
|
inline |
bool isActiveAndCache |
( |
const Coord & |
ijk, |
|
|
const AccT & |
|
|
) |
| 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 |
BuildLeaf& operator= |
( |
const BuildLeaf & |
| ) |
|
|
delete |
BuildLeaf& operator= |
( |
BuildLeaf && |
| ) |
|
|
delete |
void setValue |
( |
const Coord & |
ijk, |
|
|
const ValueT & |
value |
|
) |
| |
|
inline |
void setValueAndCache |
( |
const Coord & |
ijk, |
|
|
const ValueT & |
value, |
|
|
const AccT & |
|
|
) |
| |
|
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 = 0 |
|
static |
constexpr uint32_t LOG2DIM = 3 |
|
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 |
|
static |