Abstract class for iterating over lines. More...
#include <abstract_line_iterator.h>

Public Member Functions | |
| AbstractLineIterator () | |
| Public Constructor. More... | |
| virtual nav_grid::SignedIndex | getFinalIndex () const =0 |
| virtual void | increment ()=0 |
| Increase the iterator to the next element. More... | |
| bool | isFinished () |
| const nav_grid::SignedIndex & | operator* () const |
| Dereference the iterator. More... | |
Protected Member Functions | |
| AbstractLineIterator (nav_grid::SignedIndex index) | |
| Protected Constructor - takes arbitrary index. More... | |
Protected Attributes | |
| nav_grid::SignedIndex | index_ |
Abstract class for iterating over lines.
Not constrained by a bounding box from NavGridInfo, i.e. can include positive and negative indexes
Definition at line 48 of file abstract_line_iterator.h.
|
inline |
Public Constructor.
Definition at line 54 of file abstract_line_iterator.h.
|
inlineexplicitprotected |
Protected Constructor - takes arbitrary index.
Definition at line 78 of file abstract_line_iterator.h.
|
pure virtual |
Implemented in nav_grid_iterators::Bresenham, and nav_grid_iterators::RayTrace.
|
pure virtual |
Increase the iterator to the next element.
Implemented in nav_grid_iterators::Bresenham, and nav_grid_iterators::RayTrace.
|
inline |
Definition at line 64 of file abstract_line_iterator.h.
|
inline |
Dereference the iterator.
Definition at line 60 of file abstract_line_iterator.h.
|
protected |
Definition at line 79 of file abstract_line_iterator.h.