Point Cloud Library (PCL)
1.13.1dev

Octree leaf node iterator class. More...
#include <pcl/octree/octree_iterator.h>
Public Member Functions  
OctreeLeafNodeDepthFirstIterator (uindex_t max_depth_arg=0)  
Empty constructor. More...  
OctreeLeafNodeDepthFirstIterator (OctreeT *octree_arg, uindex_t max_depth_arg=0)  
Constructor. More...  
OctreeLeafNodeDepthFirstIterator (OctreeT *octree_arg, uindex_t max_depth_arg, IteratorState *current_state, const std::vector< IteratorState > &stack=std::vector< IteratorState >())  
Constructor. More...  
void  reset () 
Reset the iterator to the root node of the octree. More...  
OctreeLeafNodeDepthFirstIterator &  operator++ () 
Preincrement operator. More...  
OctreeLeafNodeDepthFirstIterator  operator++ (int) 
postincrement operator. More...  
OctreeNode *  operator* () const override 
*operator. More...  
Public Member Functions inherited from pcl::octree::OctreeDepthFirstIterator< OctreeT >  
OctreeDepthFirstIterator (uindex_t max_depth_arg=0)  
Empty constructor. More...  
OctreeDepthFirstIterator (OctreeT *octree_arg, uindex_t max_depth_arg=0)  
Constructor. More...  
OctreeDepthFirstIterator (OctreeT *octree_arg, uindex_t max_depth_arg, IteratorState *current_state, const std::vector< IteratorState > &stack=std::vector< IteratorState >())  
Constructor. More...  
OctreeDepthFirstIterator (const OctreeDepthFirstIterator &other)  
Copy Constructor. More...  
OctreeDepthFirstIterator &  operator= (const OctreeDepthFirstIterator &src) 
Copy assignment. More...  
OctreeDepthFirstIterator  operator++ (int) 
postincrement operator. More...  
void  skipChildVoxels () 
Skip all child voxels of current node and return to parent node. More...  
Public Member Functions inherited from pcl::octree::OctreeIteratorBase< OctreeT >  
OctreeIteratorBase ()  
Empty constructor. More...  
OctreeIteratorBase (uindex_t max_depth_arg)  
Constructor. More...  
OctreeIteratorBase (OctreeT *octree_arg)  
Constructor. More...  
OctreeIteratorBase (OctreeT *octree_arg, uindex_t max_depth_arg)  
Constructor. More...  
OctreeIteratorBase (OctreeT *octree_arg, uindex_t max_depth_arg, IteratorState *current_state)  
Constructor. More...  
virtual  ~OctreeIteratorBase ()=default 
Empty deconstructor. More...  
bool  operator== (const OctreeIteratorBase &other) const 
Equal comparison operator. More...  
bool  operator!= (const OctreeIteratorBase &other) const 
Inequal comparison operator. More...  
void  reset () 
Reset iterator. More...  
const OctreeKey &  getCurrentOctreeKey () const 
Get octree key for the current iterator octree node. More...  
uindex_t  getCurrentOctreeDepth () const 
Get the current depth level of octree. More...  
OctreeNode *  getCurrentOctreeNode () const 
Get the current octree node. More...  
bool  isBranchNode () const 
check if current node is a branch node More...  
bool  isLeafNode () const 
check if current node is a branch node More...  
char  getNodeConfiguration () const 
Get bit pattern of children configuration of current node. More...  
const LeafContainer &  getLeafContainer () const 
Method for retrieving a single leaf container from the octree leaf node. More...  
LeafContainer &  getLeafContainer () 
Method for retrieving a single leaf container from the octree leaf node. More...  
const BranchContainer &  getBranchContainer () const 
Method for retrieving the container from an octree branch node. More...  
BranchContainer &  getBranchContainer () 
Method for retrieving the container from an octree branch node. More...  
virtual unsigned long  getNodeID () const 
get a integer identifier for current node (note: identifier depends on tree depth). More...  
Additional Inherited Members  
Public Types inherited from pcl::octree::OctreeDepthFirstIterator< OctreeT >  
using  LeafNode = typename OctreeIteratorBase< OctreeT >::LeafNode 
using  BranchNode = typename OctreeIteratorBase< OctreeT >::BranchNode 
Public Types inherited from pcl::octree::OctreeIteratorBase< OctreeT >  
using  iterator_category = std::forward_iterator_tag 
using  value_type = const OctreeNode 
using  difference_type = void 
using  pointer = const OctreeNode * 
using  reference = const OctreeNode & 
using  LeafNode = typename OctreeT::LeafNode 
using  BranchNode = typename OctreeT::BranchNode 
using  LeafContainer = typename OctreeT::LeafContainer 
using  BranchContainer = typename OctreeT::BranchContainer 
Protected Attributes inherited from pcl::octree::OctreeDepthFirstIterator< OctreeT >  
std::vector< IteratorState >  stack_ 
Stack structure. More...  
Protected Attributes inherited from pcl::octree::OctreeIteratorBase< OctreeT >  
OctreeT *  octree_ 
Reference to octree class. More...  
IteratorState *  current_state_ 
Pointer to current iterator state. More...  
uindex_t  max_octree_depth_ 
Maximum octree depth. More...  
Octree leaf node iterator class.
Definition at line 673 of file octree_iterator.h.

inlineexplicit 
Empty constructor.
[in]  max_depth_arg  Depth limitation during traversal 
Definition at line 681 of file octree_iterator.h.
References pcl::octree::OctreeLeafNodeDepthFirstIterator< OctreeT >::reset().

inlineexplicit 
Constructor.
[in]  octree_arg  Octree to be iterated. Initially the iterator is set to its root node. 
[in]  max_depth_arg  Depth limitation during traversal 
Definition at line 692 of file octree_iterator.h.
References pcl::octree::OctreeLeafNodeDepthFirstIterator< OctreeT >::reset().

inlineexplicit 
Constructor.
[in]  octree_arg  Octree to be iterated. Initially the iterator is set to its root node. 
[in]  max_depth_arg  Depth limitation during traversal 
[in]  current_state  A pointer to the current iterator state 
Definition at line 707 of file octree_iterator.h.

inlineoverridevirtual 
*operator.
Reimplemented from pcl::octree::OctreeIteratorBase< OctreeT >.
Definition at line 753 of file octree_iterator.h.
References pcl::octree::OctreeIteratorBase< OctreeT >::current_state_, pcl::octree::OctreeNode::getNodeType(), pcl::octree::LEAF_NODE, and pcl::octree::IteratorState::node_.

inlinevirtual 
Preincrement operator.
Reimplemented from pcl::octree::OctreeDepthFirstIterator< OctreeT >.
Definition at line 728 of file octree_iterator.h.
References pcl::octree::OctreeIteratorBase< OctreeT >::current_state_, pcl::octree::OctreeNode::getNodeType(), pcl::octree::LEAF_NODE, pcl::octree::IteratorState::node_, and pcl::octree::OctreeDepthFirstIterator< OctreeT >::operator++().
Referenced by pcl::octree::OctreeLeafNodeDepthFirstIterator< OctreeT >::reset().

inline 
postincrement operator.
Definition at line 742 of file octree_iterator.h.

inlinevirtual 
Reset the iterator to the root node of the octree.
Reimplemented from pcl::octree::OctreeDepthFirstIterator< OctreeT >.
Definition at line 718 of file octree_iterator.h.
References pcl::octree::OctreeLeafNodeDepthFirstIterator< OctreeT >::operator++(), and pcl::octree::OctreeDepthFirstIterator< OctreeT >::reset().
Referenced by pcl::octree::OctreeLeafNodeDepthFirstIterator< OctreeT >::OctreeLeafNodeDepthFirstIterator().