Visits all values in a leaf node, i.e. both active and inactive values. More...
#include <nanovdb/util/GridBuilder.h>
Public Types | |
using | BuildType |
using | ValueType |
using | LeafNodeType |
using | NodeMaskType |
using | MaskIterT |
using | NanoLeafT |
Public Member Functions | |
ValueIterator () | |
ValueIterator (const LeafNode *parent) | |
ValueIterator & | operator= (const ValueIterator &)=default |
bool | operator* () const |
Coord | getCoord () const |
bool | isActive () const |
operator bool () const | |
ValueIterator & | operator++ () |
ValueIterator | operator++ (int) |
ValueIterator () | |
ValueIterator (const LeafNode *parent) | |
ValueIterator & | operator= (const ValueIterator &)=default |
ValueType | operator* () const |
Coord | getCoord () const |
bool | isActive () const |
operator bool () const | |
ValueIterator & | operator++ () |
ValueIterator | operator++ (int) |
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 |
auto | get (const Coord &ijk, ArgsT &&... args) const |
auto | set (const Coord &ijk, ArgsT &&... args) |
const ValueType & | getValueAndCache (const Coord &ijk, const AccT &) const |
void | setValueAndCache (const Coord &ijk, const ValueType &value, const AccT &) |
void | setValueOnAndCache (const Coord &ijk, const 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) |
std::enable_if< std::is_floating_point< T >::value >::type | signedFloodFill (T outside) |
Static Public Member Functions | |
static uint32_t | CoordToOffset (const Coord &ijk) |
Return the linear offset corresponding to the given coordinate. | |
static Coord | OffsetToLocalCoord (uint32_t n) |
Public Attributes | ||
Coord | mOrigin | |
Mask< LOG2DIM > | mValueMask | |
ValueType | mValues [SIZE] | |
NanoLeafT * | mDstNode | |
uint64_t | mDstOffset | |
union { | ||
NanoLeafT * mDstNode | ||
uint64_t mDstOffset | ||
}; | ||
Static Public Attributes | |
static constexpr uint32_t | LOG2DIM |
static constexpr uint32_t | TOTAL |
static constexpr uint32_t | DIM |
static constexpr uint32_t | SIZE |
static constexpr uint32_t | MASK |
static constexpr uint32_t | LEVEL |
static constexpr uint64_t | NUM_VALUES |
Visits all values in a leaf node, i.e. both active and inactive values.
using BuildType |
using LeafNodeType |
using MaskIterT |
using NanoLeafT |
using NodeMaskType |
using ValueType |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
Return the linear offset corresponding to the given coordinate.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
union { ... } |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
NanoLeafT* mDstNode |
uint64_t mDstOffset |
Coord mOrigin |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |