#include <nanovdb/util/GridBuilder.h>
|
ValueOnIterator | beginValueOn () |
|
ValueOnIterator | cbeginValueOn () const |
|
ValueOffIterator | beginValueOff () |
|
ValueOffIterator | cbeginValueOff () const |
|
ValueIterator | beginValue () |
|
ValueIterator | cbeginValueAll () const |
|
| LeafNode (const Coord &ijk, const ValueType &value, bool state) |
|
| LeafNode (const LeafNode &)=delete |
|
| LeafNode (LeafNode &&)=delete |
|
LeafNode & | operator= (const LeafNode &)=delete |
|
LeafNode & | operator= (LeafNode &&)=delete |
|
| ~LeafNode ()=default |
|
const Mask< LOG2DIM > & | getValueMask () const |
|
const Mask< LOG2DIM > & | valueMask () const |
|
const Coord & | origin () const |
|
void | localToGlobalCoord (Coord &ijk) const |
|
Coord | offsetToGlobalCoord (uint32_t n) const |
|
ValueType | getFirstValue () const |
|
ValueType | getLastValue () const |
|
const ValueType & | getValue (uint32_t i) const |
|
const ValueType & | getValue (const Coord &ijk) const |
|
template<typename OpT , typename... ArgsT> |
auto | get (const Coord &ijk, ArgsT &&...args) const |
|
template<typename OpT , typename... ArgsT> |
auto | set (const Coord &ijk, ArgsT &&...args) |
|
template<typename AccT > |
const ValueType & | getValueAndCache (const Coord &ijk, const AccT &) const |
|
template<typename AccT > |
void | setValueAndCache (const Coord &ijk, const ValueType &value, const AccT &) |
|
template<typename AccT > |
void | setValueOnAndCache (const Coord &ijk, const AccT &) |
|
template<typename AccT > |
bool | isActiveAndCache (const Coord &ijk, const AccT &) const |
|
void | setValue (uint32_t n, const ValueType &value) |
|
void | setValue (const Coord &ijk, const ValueType &value) |
|
void | merge (LeafNode &other) |
|
template<typename T > |
std::enable_if< std::is_floating_point< T >::value >::type | signedFloodFill (T outside) |
|
|
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 uint32_t | MASK = DIM - 1 |
|
static constexpr uint32_t | LEVEL = 0 |
|
static constexpr uint64_t | NUM_VALUES = uint64_t(1) << (3 * TOTAL) |
|
static uint32_t CoordToOffset |
( |
const Coord & |
ijk | ) |
|
|
inlinestatic |
Return the linear offset corresponding to the given coordinate.
auto get |
( |
const Coord & |
ijk, |
|
|
ArgsT &&... |
args |
|
) |
| const |
|
inline |
const ValueType& getValue |
( |
uint32_t |
i | ) |
const |
|
inline |
const ValueType& getValueAndCache |
( |
const Coord & |
ijk, |
|
|
const AccT & |
|
|
) |
| const |
|
inline |
bool isActiveAndCache |
( |
const Coord & |
ijk, |
|
|
const AccT & |
|
|
) |
| const |
|
inline |
void localToGlobalCoord |
( |
Coord & |
ijk | ) |
const |
|
inline |
void merge |
( |
LeafNode< BuildT > & |
other | ) |
|
|
inline |
Coord offsetToGlobalCoord |
( |
uint32_t |
n | ) |
const |
|
inline |
static Coord OffsetToLocalCoord |
( |
uint32_t |
n | ) |
|
|
inlinestatic |
const Coord& origin |
( |
| ) |
const |
|
inline |
auto set |
( |
const Coord & |
ijk, |
|
|
ArgsT &&... |
args |
|
) |
| |
|
inline |
void setValue |
( |
uint32_t |
n, |
|
|
const ValueType & |
value |
|
) |
| |
|
inline |
void setValueAndCache |
( |
const Coord & |
ijk, |
|
|
const ValueType & |
value, |
|
|
const AccT & |
|
|
) |
| |
|
inline |
void setValueOnAndCache |
( |
const Coord & |
ijk, |
|
|
const AccT & |
|
|
) |
| |
|
inline |
std::enable_if< std::is_floating_point< T >::value >::type signedFloodFill |
( |
T |
outside | ) |
|
|
inline |
constexpr uint32_t DIM = 1u << TOTAL |
|
static |
constexpr uint32_t LEVEL = 0 |
|
static |
constexpr uint32_t LOG2DIM = 3 |
|
static |
constexpr uint32_t MASK = DIM - 1 |
|
static |
constexpr uint64_t NUM_VALUES = uint64_t(1) << (3 * TOTAL) |
|
static |
constexpr uint32_t SIZE = 1u << 3 * LOG2DIM |
|
static |