Octree iterator class More...
#include <octree_iterator.h>
Public Types | |
typedef OctreeIteratorBase < OctreeT >::BranchNode | BranchNode |
typedef OctreeIteratorBase < OctreeT >::LeafNode | LeafNode |
Public Member Functions | |
OctreeDepthFirstIterator (unsigned int max_depth_arg=0) | |
Empty constructor. | |
OctreeDepthFirstIterator (OctreeT *octree_arg, unsigned int max_depth_arg=0) | |
Constructor. | |
OctreeDepthFirstIterator & | operator++ () |
Preincrement operator. | |
OctreeDepthFirstIterator | operator++ (int) |
postincrement operator. | |
OctreeDepthFirstIterator & | operator= (const OctreeDepthFirstIterator &src) |
Copy operator. | |
virtual void | reset () |
Reset the iterator to the root node of the octree. | |
void | skipChildVoxels () |
Skip all child voxels of current node and return to parent node. | |
virtual | ~OctreeDepthFirstIterator () |
Empty deconstructor. | |
Protected Attributes | |
std::vector< IteratorState > | stack_ |
Octree iterator class
Definition at line 368 of file octree_iterator.h.
typedef OctreeIteratorBase<OctreeT>::BranchNode pcl::octree::OctreeDepthFirstIterator< OctreeT >::BranchNode |
Reimplemented from pcl::octree::OctreeIteratorBase< OctreeT >.
Reimplemented in pcl::octree::OctreeLeafNodeIterator< OctreeT >.
Definition at line 374 of file octree_iterator.h.
typedef OctreeIteratorBase<OctreeT>::LeafNode pcl::octree::OctreeDepthFirstIterator< OctreeT >::LeafNode |
Reimplemented from pcl::octree::OctreeIteratorBase< OctreeT >.
Reimplemented in pcl::octree::OctreeLeafNodeIterator< OctreeT >.
Definition at line 373 of file octree_iterator.h.
pcl::octree::OctreeDepthFirstIterator< OctreeT >::OctreeDepthFirstIterator | ( | unsigned int | max_depth_arg = 0 | ) | [explicit] |
Empty constructor.
[in] | max_depth_arg | Depth limitation during traversal |
Definition at line 53 of file octree_iterator.hpp.
pcl::octree::OctreeDepthFirstIterator< OctreeT >::OctreeDepthFirstIterator | ( | OctreeT * | octree_arg, |
unsigned int | max_depth_arg = 0 |
||
) | [explicit] |
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 62 of file octree_iterator.hpp.
pcl::octree::OctreeDepthFirstIterator< OctreeT >::~OctreeDepthFirstIterator | ( | ) | [virtual] |
Empty deconstructor.
Definition at line 71 of file octree_iterator.hpp.
OctreeDepthFirstIterator< OctreeT > & pcl::octree::OctreeDepthFirstIterator< OctreeT >::operator++ | ( | ) |
Preincrement operator.
Reimplemented in pcl::octree::OctreeLeafNodeIterator< OctreeT >.
Definition at line 130 of file octree_iterator.hpp.
OctreeDepthFirstIterator pcl::octree::OctreeDepthFirstIterator< OctreeT >::operator++ | ( | int | ) | [inline] |
postincrement operator.
Reimplemented in pcl::octree::OctreeLeafNodeIterator< OctreeT >.
Definition at line 430 of file octree_iterator.h.
OctreeDepthFirstIterator& pcl::octree::OctreeDepthFirstIterator< OctreeT >::operator= | ( | const OctreeDepthFirstIterator< OctreeT > & | src | ) | [inline] |
Copy operator.
[in] | src | the iterator to copy into this |
Definition at line 397 of file octree_iterator.h.
void pcl::octree::OctreeDepthFirstIterator< OctreeT >::reset | ( | ) | [virtual] |
Reset the iterator to the root node of the octree.
Reimplemented from pcl::octree::OctreeIteratorBase< OctreeT >.
Reimplemented in pcl::octree::OctreeLeafNodeIterator< OctreeT >.
Definition at line 77 of file octree_iterator.hpp.
void pcl::octree::OctreeDepthFirstIterator< OctreeT >::skipChildVoxels | ( | ) |
Skip all child voxels of current node and return to parent node.
Definition at line 104 of file octree_iterator.hpp.
std::vector<IteratorState> pcl::octree::OctreeDepthFirstIterator< OctreeT >::stack_ [protected] |
Stack structure.
Definition at line 444 of file octree_iterator.h.