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

Octree leaf node iterator class. More...

`#include <octree_iterator.h>`

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

## Public Member Functions | |

OctreeLeafNodeIterator (unsigned int max_depth_arg=0) | |

Empty constructor. | |

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

Constructor. | |

OctreeNode * | operator* () const |

*operator. | |

OctreeLeafNodeIterator & | operator++ () |

Preincrement operator. | |

OctreeLeafNodeIterator | operator++ (int) |

postincrement operator. | |

void | reset () |

Reset the iterator to the root node of the octree. | |

virtual | ~OctreeLeafNodeIterator () |

Empty deconstructor. | |

## Private Types | |

typedef OctreeDepthFirstIterator < OctreeT >::BranchNode | BranchNode |

typedef OctreeDepthFirstIterator < OctreeT >::LeafNode | LeafNode |

class pcl::octree::OctreeLeafNodeIterator< OctreeT >

Octree leaf node iterator class.

**Note:**- This class implements a forward iterator for traversing the leaf nodes of an octree data structure.

Definition at line 536 of file octree_iterator.h.

template<typename OctreeT >

typedef OctreeDepthFirstIterator<OctreeT>::BranchNode pcl::octree::OctreeLeafNodeIterator< OctreeT >::BranchNode` [private]` |

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

Definition at line 538 of file octree_iterator.h.

template<typename OctreeT >

typedef OctreeDepthFirstIterator<OctreeT>::LeafNode pcl::octree::OctreeLeafNodeIterator< OctreeT >::LeafNode` [private]` |

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

Definition at line 539 of file octree_iterator.h.

template<typename OctreeT >

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

Empty constructor.

**Parameters:**-
[in] max_depth_arg Depth limitation during traversal

Definition at line 546 of file octree_iterator.h.

template<typename OctreeT >

pcl::octree::OctreeLeafNodeIterator< OctreeT >::OctreeLeafNodeIterator | ( | OctreeT * | octree_arg, |

unsigned int | max_depth_arg = `0` |
||

) | ` [inline, 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 557 of file octree_iterator.h.

template<typename OctreeT >

virtual pcl::octree::OctreeLeafNodeIterator< OctreeT >::~OctreeLeafNodeIterator | ( | ) | ` [inline, virtual]` |

Empty deconstructor.

Definition at line 565 of file octree_iterator.h.

template<typename OctreeT >

OctreeNode* pcl::octree::OctreeLeafNodeIterator< OctreeT >::operator* | ( | ) | const` [inline]` |

*operator.

**Returns:**- pointer to the current octree leaf node

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

Definition at line 607 of file octree_iterator.h.

template<typename OctreeT >

OctreeLeafNodeIterator& pcl::octree::OctreeLeafNodeIterator< OctreeT >::operator++ | ( | ) | ` [inline]` |

Preincrement operator.

**Note:**- recursively step to next octree leaf node

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

Definition at line 582 of file octree_iterator.h.

template<typename OctreeT >

OctreeLeafNodeIterator pcl::octree::OctreeLeafNodeIterator< OctreeT >::operator++ | ( | int | ) | ` [inline]` |

postincrement operator.

**Note:**- step to next octree node

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

Definition at line 596 of file octree_iterator.h.

template<typename OctreeT >

void pcl::octree::OctreeLeafNodeIterator< OctreeT >::reset | ( | ) | ` [inline, virtual]` |

Reset the iterator to the root node of the octree.

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

Definition at line 572 of file octree_iterator.h.

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