|
| | BOOST_STATIC_ASSERT (ValueIterT::NodeType::LEVEL==ROOT_LEVEL) |
| |
| | TreeValueIteratorBase (TreeT &) |
| |
| | TreeValueIteratorBase (const TreeValueIteratorBase &other) |
| |
| TreeValueIteratorBase & | operator= (const TreeValueIteratorBase &other) |
| |
| void | setMinDepth (Index minDepth) |
| | Specify the depth of the highest level of the tree to which to ascend (depth 0 = root). More...
|
| |
| Index | getMinDepth () const |
| | Return the depth of the highest level of the tree to which this iterator ascends. More...
|
| |
| void | setMaxDepth (Index maxDepth) |
| | Specify the depth of the lowest level of the tree to which to descend (depth 0 = root). More...
|
| |
| Index | getMaxDepth () const |
| | Return the depth of the lowest level of the tree to which this iterator ascends. More...
|
| |
| bool | next () |
| | Advance to the next tile or voxel value. Return true if this iterator is not yet exhausted. More...
|
| |
| TreeValueIteratorBase & | operator++ () |
| | Advance to the next tile or voxel value. More...
|
| |
| Index | getLevel () const |
| | Return the level in the tree (0 = leaf) of the node to which this iterator is currently pointing. More...
|
| |
| Index | getDepth () const |
| | Return the depth in the tree (0 = root) of the node to which this iterator is currently pointing. More...
|
| |
| template<typename NodeType > |
| void | getNode (NodeType *&node) const |
| | Return in node a pointer to the node over which this iterator is currently iterating or one of that node's parents, as determined by NodeType. More...
|
| |
| Coord | getCoord () const |
| | Return the global coordinates of the voxel or tile to which this iterator is currently pointing. More...
|
| |
| bool | getBoundingBox (CoordBBox &) const |
| | Return in bbox the axis-aligned bounding box of the voxel or tile to which this iterator is currently pointing. More...
|
| |
| CoordBBox | getBoundingBox () const |
| | Return the axis-aligned bounding box of the voxel or tile to which this iterator is currently pointing. More...
|
| |
| Index64 | getVoxelCount () const |
| | Return the number of (virtual) voxels corresponding to the value. More...
|
| |
| bool | isTileValue () const |
| | Return true if this iterator is currently pointing to a (non-leaf) tile value. More...
|
| |
| bool | isVoxelValue () const |
| | Return true if this iterator is currently pointing to a (leaf) voxel value. More...
|
| |
| bool | isValueOn () const |
| | Return true if the value to which this iterator is currently pointing is active. More...
|
| |
| void | setValue (const ValueT &val) const |
| | Change the tile or voxel value to which this iterator is currently pointing and mark it as active. More...
|
| |
| void | setActiveState (bool on) const |
| | Change the active/inactive state of the tile or voxel value to which this iterator is currently pointing. More...
|
| |
| void | setValueOff () const |
| | Mark the tile or voxel value to which this iterator is currently pointing as inactive. More...
|
| |
| template<typename ModifyOp > |
| void | modifyValue (const ModifyOp &op) const |
| | Apply a functor to the item to which this iterator is pointing. (Not valid for const iterators.) More...
|
| |
| TreeT * | getTree () const |
| | Return a pointer to the tree over which this iterator is iterating. More...
|
| |
| std::string | summary () const |
| | Return a string (for debugging, mainly) describing this iterator's current state. More...
|
| |
|
| bool | test () const |
| | Return true if this iterator is not yet exhausted. More...
|
| |
| | operator bool () const |
| | Return true if this iterator is not yet exhausted. More...
|
| |
|
| const ValueT & | getValue () const |
| | Return the tile or voxel value to which this iterator is currently pointing. More...
|
| |
| const ValueT & | operator* () const |
| | Return the tile or voxel value to which this iterator is currently pointing. More...
|
| |
| const ValueT * | operator-> () const |
| | Return the tile or voxel value to which this iterator is currently pointing. More...
|
| |
template<typename _TreeT, typename ValueIterT>
class openvdb::v2_3_0::tree::TreeValueIteratorBase< _TreeT, ValueIterT >
Base class for tree-traversal iterators over tile and voxel values.