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

Octree leaf node iterator class. More...

`#include <octree_iterator.h>`

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

## Public Member Functions | |

OctreeLeafNodeIterator (OctreeT &octree_arg) | |

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 < DataT, OctreeT >::BranchNode | BranchNode |

typedef OctreeDepthFirstIterator < DataT, OctreeT >::LeafNode | LeafNode |

class pcl::octree::OctreeLeafNodeIterator< DataT, 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 403 of file octree_iterator.h.

template<typename DataT , typename OctreeT >

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

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

Definition at line 405 of file octree_iterator.h.

template<typename DataT , typename OctreeT >

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

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

Definition at line 406 of file octree_iterator.h.

template<typename DataT , typename OctreeT >

pcl::octree::OctreeLeafNodeIterator< DataT, OctreeT >::OctreeLeafNodeIterator | ( | OctreeT & | octree_arg | ) | ` [inline, explicit]` |

Constructor.

**Parameters:**-
[in] octree_arg Octree to be iterated. Initially the iterator is set to its root node.

Definition at line 413 of file octree_iterator.h.

template<typename DataT , typename OctreeT >

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

Empty deconstructor.

Definition at line 421 of file octree_iterator.h.

template<typename DataT , typename OctreeT >

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

*operator.

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

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

Definition at line 462 of file octree_iterator.h.

template<typename DataT , typename OctreeT >

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

Preincrement operator.

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

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

Definition at line 437 of file octree_iterator.h.

template<typename DataT , typename OctreeT >

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

postincrement operator.

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

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

Definition at line 451 of file octree_iterator.h.

template<typename DataT , typename OctreeT >

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

Reset the iterator to the root node of the octree.

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

Definition at line 428 of file octree_iterator.h.

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