pcl::octree::OctreeBreadthFirstIterator< OctreeT > Class Template Reference

**Octree** iterator class
More...

`#include <octree_iterator.h>`

Inheritance diagram for pcl::octree::OctreeBreadthFirstIterator< OctreeT >:

## Public Member Functions | |

OctreeBreadthFirstIterator (unsigned int max_depth_arg=0) | |

Empty constructor. | |

OctreeBreadthFirstIterator (OctreeT *octree_arg, unsigned int max_depth_arg=0) | |

Constructor. | |

OctreeBreadthFirstIterator & | operator++ () |

Preincrement operator. | |

OctreeBreadthFirstIterator | operator++ (int) |

postincrement operator. | |

OctreeBreadthFirstIterator & | operator= (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< IteratorState > | FIFO_ |

## Private Types | |

typedef OctreeIteratorBase < OctreeT >::BranchNode | BranchNode |

typedef OctreeIteratorBase < OctreeT >::LeafNode | LeafNode |

class pcl::octree::OctreeBreadthFirstIterator< OctreeT >

**Octree** iterator class

**Note:**- This class implements a forward iterator for traversing octrees in a breadth-first manner.

Definition at line 454 of file octree_iterator.h.

template<typename OctreeT >

typedef OctreeIteratorBase<OctreeT>::BranchNode pcl::octree::OctreeBreadthFirstIterator< OctreeT >::BranchNode` [private]` |

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.

template<typename OctreeT >

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

Empty constructor.

**Parameters:**-
[in] max_depth_arg Depth 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_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 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.

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] src the 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.

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: