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

Octree iterator class More...

#include <octree_iterator.h>

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

List of all members.

Classes

struct  FIFOElement

Public Member Functions

 OctreeBreadthFirstIterator (OctreeT &octree_arg)
 Constructor.
OctreeBreadthFirstIteratoroperator++ ()
 Preincrement operator.
OctreeBreadthFirstIterator operator++ (int)
 postincrement operator.
void reset ()
 Reset the iterator to the root node of the octree.
virtual ~OctreeBreadthFirstIterator ()
 Empty deconstructor.

Protected Member Functions

void addChildNodesToFIFO (const OctreeNode *node)
 Add children of node to FIFO.

Protected Attributes

std::deque< FIFOElementFIFO_

Private Types

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

Detailed Description

template<typename DataT, typename OctreeT>
class pcl::octree::OctreeBreadthFirstIterator< DataT, 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 338 of file octree_iterator.h.


Member Typedef Documentation

template<typename DataT , typename OctreeT >
typedef OctreeIteratorBase<DataT, OctreeT>::BranchNode pcl::octree::OctreeBreadthFirstIterator< DataT, OctreeT >::BranchNode [private]

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

Definition at line 341 of file octree_iterator.h.

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

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

Definition at line 342 of file octree_iterator.h.


Constructor & Destructor Documentation

template<typename DataT , typename OctreeT >
pcl::octree::OctreeBreadthFirstIterator< DataT, OctreeT >::OctreeBreadthFirstIterator ( OctreeT &  octree_arg) [explicit]

Constructor.

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

Definition at line 227 of file octree_iterator.hpp.

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

Empty deconstructor.

Definition at line 239 of file octree_iterator.hpp.


Member Function Documentation

template<typename DataT , typename OctreeT >
void pcl::octree::OctreeBreadthFirstIterator< DataT, OctreeT >::addChildNodesToFIFO ( const OctreeNode node) [protected]

Add children of node to FIFO.

Parameters:
[in]node,:node with children to be added to FIFO

Definition at line 245 of file octree_iterator.hpp.

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

Preincrement operator.

Note:
step to next octree node

Definition at line 297 of file octree_iterator.hpp.

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

postincrement operator.

Note:
step to next octree node

Definition at line 377 of file octree_iterator.h.

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

Reset the iterator to the root node of the octree.

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

Definition at line 286 of file octree_iterator.hpp.


Member Data Documentation

template<typename DataT , typename OctreeT >
std::deque<FIFOElement> pcl::octree::OctreeBreadthFirstIterator< DataT, OctreeT >::FIFO_ [protected]

FIFO list

Definition at line 392 of file octree_iterator.h.


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


pcl
Author(s): Open Perception
autogenerated on Mon Oct 6 2014 03:20:18