Public Member Functions | Protected Attributes | Private Types
pcl::octree::OctreeBreadthFirstIterator< OctreeT > Class Template Reference

Octree iterator class More...

#include <octree_iterator.h>

Inheritance diagram for pcl::octree::OctreeBreadthFirstIterator< OctreeT >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 OctreeBreadthFirstIterator (unsigned int max_depth_arg=0)
 Empty constructor.
 OctreeBreadthFirstIterator (OctreeT *octree_arg, unsigned int max_depth_arg=0)
 Constructor.
OctreeBreadthFirstIteratoroperator++ ()
 Preincrement operator.
OctreeBreadthFirstIterator operator++ (int)
 postincrement operator.
OctreeBreadthFirstIteratoroperator= (const OctreeBreadthFirstIterator &src)
 Copy operator.
void reset ()
 Reset the iterator to the root node of the octree.
virtual ~OctreeBreadthFirstIterator ()
 Empty deconstructor.

Protected Attributes

std::deque< IteratorStateFIFO_

Private Types

typedef OctreeIteratorBase
< OctreeT >::BranchNode 
BranchNode
typedef OctreeIteratorBase
< OctreeT >::LeafNode 
LeafNode

Detailed Description

template<typename OctreeT>
class pcl::octree::OctreeBreadthFirstIterator< OctreeT >

Octree iterator class

Note:
This class implements a forward iterator for traversing octrees in a breadth-first manner.
Author:
Julius Kammerl (julius@kammerl.de)

Definition at line 454 of file octree_iterator.h.


Member Typedef Documentation

Reimplemented from pcl::octree::OctreeIteratorBase< OctreeT >.

Definition at line 457 of file octree_iterator.h.

template<typename OctreeT >
typedef OctreeIteratorBase<OctreeT>::LeafNode pcl::octree::OctreeBreadthFirstIterator< OctreeT >::LeafNode [private]

Reimplemented from pcl::octree::OctreeIteratorBase< OctreeT >.

Definition at line 458 of file octree_iterator.h.


Constructor & Destructor Documentation

template<typename OctreeT >
pcl::octree::OctreeBreadthFirstIterator< OctreeT >::OctreeBreadthFirstIterator ( unsigned int  max_depth_arg = 0) [explicit]

Empty constructor.

Parameters:
[in]max_depth_argDepth limitation during traversal

Definition at line 185 of file octree_iterator.hpp.

template<typename OctreeT >
pcl::octree::OctreeBreadthFirstIterator< OctreeT >::OctreeBreadthFirstIterator ( OctreeT octree_arg,
unsigned int  max_depth_arg = 0 
) [explicit]

Constructor.

Parameters:
[in]octree_argOctree to be iterated. Initially the iterator is set to its root node.
[in]max_depth_argDepth limitation during traversal

Definition at line 196 of file octree_iterator.hpp.

template<typename OctreeT >
pcl::octree::OctreeBreadthFirstIterator< OctreeT >::~OctreeBreadthFirstIterator ( ) [virtual]

Empty deconstructor.

Definition at line 207 of file octree_iterator.hpp.


Member Function Documentation

template<typename OctreeT >
OctreeBreadthFirstIterator< OctreeT > & pcl::octree::OctreeBreadthFirstIterator< OctreeT >::operator++ ( )

Preincrement operator.

Note:
step to next octree node

Definition at line 237 of file octree_iterator.hpp.

template<typename OctreeT >
OctreeBreadthFirstIterator pcl::octree::OctreeBreadthFirstIterator< OctreeT >::operator++ ( int  ) [inline]

postincrement operator.

Note:
step to next octree node

Definition at line 516 of file octree_iterator.h.

template<typename OctreeT >
OctreeBreadthFirstIterator& pcl::octree::OctreeBreadthFirstIterator< OctreeT >::operator= ( const OctreeBreadthFirstIterator< OctreeT > &  src) [inline]

Copy operator.

Parameters:
[in]srcthe iterator to copy into this

Definition at line 483 of file octree_iterator.h.

template<typename OctreeT >
void pcl::octree::OctreeBreadthFirstIterator< OctreeT >::reset ( )

Reset the iterator to the root node of the octree.

Reimplemented from pcl::octree::OctreeIteratorBase< OctreeT >.

Definition at line 213 of file octree_iterator.hpp.


Member Data Documentation

template<typename OctreeT >
std::deque<IteratorState> pcl::octree::OctreeBreadthFirstIterator< OctreeT >::FIFO_ [protected]

FIFO list

Definition at line 525 of file octree_iterator.h.


The documentation for this class was generated from the following files:


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:44:28