HDK
|
The initial element of a compile-time linked list of iterators to nodes of different types. More...
#include <TreeIterator.h>
Public Types | |
using | PrevIterT = typename PrevItemT::IterT |
The type of iterator stored in the previous list item. More... | |
using | _NodeT = typename NodeVecT::Front |
The type of node (non-const) whose iterator is stored in this list item. More... | |
using | IterT = typename IterTraits< typename PrevIterT::NonConstNodeType, PrevIterT >::template NodeConverter< _NodeT >::Type |
The type of iterator stored in this list item (e.g., InternalNode::ValueOnCIter) More... | |
using | NodeT = typename IterT::NodeType |
The type of node (const or non-const) over which IterT iterates (e.g., const RootNode<...>) More... | |
using | NCNodeT = typename IterT::NonConstNodeType |
The type of the node with const qualifiers removed ("Non-Const") More... | |
using | NCValueT = typename IterT::NonConstValueType |
The type of value (with const qualifiers removed) to which the iterator points. More... | |
using | ITraits = IterTraits< NCNodeT, IterT > |
Public Member Functions | |
IterListItem (PrevItemT *) | |
IterListItem (const IterListItem &other) | |
IterListItem & | operator= (const IterListItem &other) |
void | updateBackPointers (PrevItemT *=nullptr) |
void | setIter (const IterT &iter) |
template<typename OtherIterT > | |
void | setIter (const OtherIterT &iter) |
void | getNode (Index lvl, NodeT *&node) const |
template<typename OtherNodeT > | |
void | getNode (Index lvl, OtherNodeT *&node) const |
template<typename OtherIterListItemT > | |
void | initLevel (Index lvl, OtherIterListItemT &otherListItem) |
Index | pos (Index lvl) const |
bool | test (Index lvl) const |
bool | next (Index lvl) |
bool | down (Index lvl) |
Coord | getCoord (Index lvl) const |
Index | getChildDim (Index lvl) const |
Index64 | getVoxelCount (Index lvl) const |
bool | isValueOn (Index lvl) const |
const NCValueT & | getValue (Index lvl) const |
void | setValue (Index lvl, const NCValueT &val) const |
void | setValueOn (Index lvl, bool on=true) const |
void | setValueOff (Index lvl) const |
template<typename ModifyOp > | |
void | modifyValue (Index lvl, const ModifyOp &op) const |
Static Public Attributes | |
static const Index | Level = 0 |
NodeT's level in its tree (0 = LeafNode) More... | |
The initial element of a compile-time linked list of iterators to nodes of different types.
Definition at line 378 of file TreeIterator.h.
using openvdb::OPENVDB_VERSION_NAME::tree::IterListItem< PrevItemT, NodeVecT, VecSize, 0U >::_NodeT = typename NodeVecT::Front |
The type of node (non-const) whose iterator is stored in this list item.
Definition at line 384 of file TreeIterator.h.
using openvdb::OPENVDB_VERSION_NAME::tree::IterListItem< PrevItemT, NodeVecT, VecSize, 0U >::IterT = typename IterTraits<typename PrevIterT::NonConstNodeType, PrevIterT>::template NodeConverter<_NodeT>::Type |
The type of iterator stored in this list item (e.g., InternalNode::ValueOnCIter)
Definition at line 387 of file TreeIterator.h.
using openvdb::OPENVDB_VERSION_NAME::tree::IterListItem< PrevItemT, NodeVecT, VecSize, 0U >::ITraits = IterTraits<NCNodeT, IterT> |
Definition at line 395 of file TreeIterator.h.
using openvdb::OPENVDB_VERSION_NAME::tree::IterListItem< PrevItemT, NodeVecT, VecSize, 0U >::NCNodeT = typename IterT::NonConstNodeType |
The type of the node with const qualifiers removed ("Non-Const")
Definition at line 392 of file TreeIterator.h.
using openvdb::OPENVDB_VERSION_NAME::tree::IterListItem< PrevItemT, NodeVecT, VecSize, 0U >::NCValueT = typename IterT::NonConstValueType |
The type of value (with const qualifiers removed) to which the iterator points.
Definition at line 394 of file TreeIterator.h.
using openvdb::OPENVDB_VERSION_NAME::tree::IterListItem< PrevItemT, NodeVecT, VecSize, 0U >::NodeT = typename IterT::NodeType |
The type of node (const or non-const) over which IterT iterates (e.g., const RootNode<...>)
Definition at line 390 of file TreeIterator.h.
using openvdb::OPENVDB_VERSION_NAME::tree::IterListItem< PrevItemT, NodeVecT, VecSize, 0U >::PrevIterT = typename PrevItemT::IterT |
The type of iterator stored in the previous list item.
Definition at line 382 of file TreeIterator.h.
|
inline |
Definition at line 399 of file TreeIterator.h.
|
inline |
Definition at line 401 of file TreeIterator.h.
|
inline |
Definition at line 447 of file TreeIterator.h.
|
inline |
Definition at line 453 of file TreeIterator.h.
|
inline |
Definition at line 449 of file TreeIterator.h.
|
inline |
Definition at line 422 of file TreeIterator.h.
|
inline |
Definition at line 427 of file TreeIterator.h.
|
inline |
Definition at line 468 of file TreeIterator.h.
|
inline |
Definition at line 458 of file TreeIterator.h.
|
inline |
Definition at line 430 of file TreeIterator.h.
|
inline |
Definition at line 463 of file TreeIterator.h.
|
inline |
Definition at line 488 of file TreeIterator.h.
|
inline |
Definition at line 445 of file TreeIterator.h.
|
inline |
Definition at line 403 of file TreeIterator.h.
|
inline |
Definition at line 441 of file TreeIterator.h.
|
inline |
Definition at line 418 of file TreeIterator.h.
|
inline |
Definition at line 420 of file TreeIterator.h.
|
inline |
Definition at line 474 of file TreeIterator.h.
|
inline |
Definition at line 482 of file TreeIterator.h.
|
inline |
Definition at line 478 of file TreeIterator.h.
|
inline |
Definition at line 443 of file TreeIterator.h.
|
inline |
Definition at line 413 of file TreeIterator.h.
|
static |
NodeT's level in its tree (0 = LeafNode)
Definition at line 397 of file TreeIterator.h.