#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 &, bool state) |
|
| LeafNode (const LeafNode &)=delete |
|
| LeafNode (LeafNode &&)=delete |
|
LeafNode & | operator= (const LeafNode &)=delete |
|
LeafNode & | operator= (LeafNode &&)=delete |
|
| ~LeafNode ()=default |
|
const Mask< LOG2DIM > & | valueMask () const |
|
const Mask< LOG2DIM > & | getValueMask () const |
|
const Coord & | origin () const |
|
void | localToGlobalCoord (Coord &ijk) const |
|
Coord | offsetToGlobalCoord (uint32_t n) const |
|
bool | getFirstValue () const |
|
bool | getLastValue () const |
|
bool | getValue (uint32_t i) const |
|
bool | 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 > |
bool | getValueAndCache (const Coord &ijk, const AccT &) const |
|
template<typename AccT > |
void | setValueAndCache (const Coord &ijk, bool, 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, bool) |
|
void | setValue (const Coord &ijk) |
|
void | merge (LeafNode &other) |
|
◆ BuildType
◆ LeafNodeType
◆ MaskIterT
◆ NanoLeafT
◆ NodeMaskType
◆ ValueType
◆ LeafNode() [1/3]
◆ LeafNode() [2/3]
◆ LeafNode() [3/3]
◆ ~LeafNode()
◆ beginValue()
ValueIterator beginValue |
( |
| ) |
|
|
inline |
◆ beginValueOff()
ValueOffIterator beginValueOff |
( |
| ) |
|
|
inline |
◆ beginValueOn()
ValueOnIterator beginValueOn |
( |
| ) |
|
|
inline |
◆ cbeginValueAll()
ValueIterator cbeginValueAll |
( |
| ) |
const |
|
inline |
◆ cbeginValueOff()
ValueOffIterator cbeginValueOff |
( |
| ) |
const |
|
inline |
◆ cbeginValueOn()
ValueOnIterator cbeginValueOn |
( |
| ) |
const |
|
inline |
◆ CoordToOffset()
static uint32_t CoordToOffset |
( |
const Coord & |
ijk | ) |
|
|
inlinestatic |
Return the linear offset corresponding to the given coordinate.
◆ get()
template<typename OpT , typename... ArgsT>
auto get |
( |
const Coord & |
ijk, |
|
|
ArgsT &&... |
args |
|
) |
| const |
|
inline |
◆ getFirstValue()
bool getFirstValue |
( |
| ) |
const |
|
inline |
◆ getLastValue()
bool getLastValue |
( |
| ) |
const |
|
inline |
◆ getValue() [1/2]
bool getValue |
( |
const Coord & |
ijk | ) |
const |
|
inline |
◆ getValue() [2/2]
bool getValue |
( |
uint32_t |
i | ) |
const |
|
inline |
◆ getValueAndCache()
template<typename AccT >
bool getValueAndCache |
( |
const Coord & |
ijk, |
|
|
const AccT & |
|
|
) |
| const |
|
inline |
◆ getValueMask()
◆ isActiveAndCache()
template<typename AccT >
bool isActiveAndCache |
( |
const Coord & |
ijk, |
|
|
const AccT & |
|
|
) |
| const |
|
inline |
◆ localToGlobalCoord()
void localToGlobalCoord |
( |
Coord & |
ijk | ) |
const |
|
inline |
◆ merge()
◆ offsetToGlobalCoord()
Coord offsetToGlobalCoord |
( |
uint32_t |
n | ) |
const |
|
inline |
◆ OffsetToLocalCoord()
static Coord OffsetToLocalCoord |
( |
uint32_t |
n | ) |
|
|
inlinestatic |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ origin()
const Coord & origin |
( |
| ) |
const |
|
inline |
◆ set()
template<typename OpT , typename... ArgsT>
auto set |
( |
const Coord & |
ijk, |
|
|
ArgsT &&... |
args |
|
) |
| |
|
inline |
◆ setValue() [1/2]
void setValue |
( |
const Coord & |
ijk | ) |
|
|
inline |
◆ setValue() [2/2]
void setValue |
( |
uint32_t |
n, |
|
|
bool |
|
|
) |
| |
|
inline |
◆ setValueAndCache()
template<typename AccT >
void setValueAndCache |
( |
const Coord & |
ijk, |
|
|
bool |
, |
|
|
const AccT & |
|
|
) |
| |
|
inline |
◆ setValueOnAndCache()
template<typename AccT >
void setValueOnAndCache |
( |
const Coord & |
ijk, |
|
|
const AccT & |
|
|
) |
| |
|
inline |
◆ valueMask()
◆ []
union nanovdb::build::LeafNode< ValueMask > { ... } |
◆ DIM
constexpr uint32_t DIM = 1u << TOTAL |
|
staticconstexpr |
◆ LEVEL
constexpr uint32_t LEVEL = 0 |
|
staticconstexpr |
◆ LOG2DIM
constexpr uint32_t LOG2DIM = 3 |
|
staticconstexpr |
◆ MASK
constexpr uint32_t MASK = DIM - 1 |
|
staticconstexpr |
◆ mDstNode
◆ mDstOffset
◆ mOrigin
◆ mValueMask
◆ NUM_VALUES
constexpr uint64_t NUM_VALUES = uint64_t(1) << (3 * TOTAL) |
|
staticconstexpr |
◆ SIZE
constexpr uint32_t SIZE = 1u << 3 * LOG2DIM |
|
staticconstexpr |
◆ TOTAL