This class is the base for implementing ways to navigate over the band with spatial restriction, e.g. through a line, inside a bounding box or polygon, etc. More...
#include <PositionIterator.h>
  
 Public Member Functions | |
| AbstractPositionIterator () | |
| Constructor.  More... | |
| AbstractPositionIterator (const te::rst::Raster *r) | |
| Constructor.  More... | |
| AbstractPositionIterator (const AbstractPositionIterator &rhs) | |
| Copy constructor.  More... | |
| virtual unsigned int | getColumn () const =0 | 
| Returns the current column in iterator.  More... | |
| virtual unsigned int | getRow () const =0 | 
| Returns the current row in iterator.  More... | |
| virtual bool | operator!= (const AbstractPositionIterator &rhs) const | 
| Difference operator.  More... | |
| virtual const std::vector< T > | operator* () const =0 | 
| Returns a vector of the values in current position (column, row) from iterator.  More... | |
| virtual void | operator++ ()=0 | 
| Advances to the next position.  More... | |
| virtual void | operator-- ()=0 | 
| Returns to the previous position.  More... | |
| AbstractPositionIterator & | operator= (const AbstractPositionIterator &rhs) | 
| Assignment operator.  More... | |
| virtual T | operator[] (const unsigned int i) const =0 | 
| Returns the value in current position (column, row, band) from iterator.  More... | |
| virtual void | setEnd ()=0 | 
| Sets the iterator position to the end of the current band.  More... | |
| ~AbstractPositionIterator () | |
| Destructor.  More... | |
Protected Attributes | |
| const te::rst::Raster * | m_raster | 
| The band from where to get the values.  More... | |
This class is the base for implementing ways to navigate over the band with spatial restriction, e.g. through a line, inside a bounding box or polygon, etc.
Definition at line 56 of file PositionIterator.h.
| te::rst::AbstractPositionIterator< T >::AbstractPositionIterator | ( | ) | 
Constructor.
Definition at line 344 of file PositionIterator.h.
| te::rst::AbstractPositionIterator< T >::AbstractPositionIterator | ( | const te::rst::Raster * | r | ) | 
| te::rst::AbstractPositionIterator< T >::AbstractPositionIterator | ( | const AbstractPositionIterator< T > & | rhs | ) | 
Copy constructor.
| rhs | The right-hand-side copy used to copy from. | 
Definition at line 354 of file PositionIterator.h.
| te::rst::AbstractPositionIterator< T >::~AbstractPositionIterator | ( | ) | 
Destructor.
Definition at line 359 of file PositionIterator.h.
      
  | 
  pure virtual | 
Returns the current column in iterator.
Implemented in te::rst::PointSetIterator< T >, te::rst::LineIterator< T >, and te::rst::PolygonIterator< T >.
      
  | 
  pure virtual | 
Returns the current row in iterator.
Implemented in te::rst::PointSetIterator< T >, te::rst::LineIterator< T >, and te::rst::PolygonIterator< T >.
      
  | 
  virtual | 
Difference operator.
| rhs | The right-hand side to compare. | 
Definition at line 371 of file PositionIterator.h.
References te::rst::AbstractPositionIterator< T >::m_raster.
      
  | 
  pure virtual | 
Returns a vector of the values in current position (column, row) from iterator.
Implemented in te::rst::PointSetIterator< T >, te::rst::LineIterator< T >, and te::rst::PolygonIterator< T >.
      
  | 
  pure virtual | 
Advances to the next position.
Implemented in te::rst::PointSetIterator< T >, te::rst::LineIterator< T >, and te::rst::PolygonIterator< T >.
      
  | 
  pure virtual | 
Returns to the previous position.
Implemented in te::rst::PointSetIterator< T >, te::rst::LineIterator< T >, and te::rst::PolygonIterator< T >.
| te::rst::AbstractPositionIterator< T > & te::rst::AbstractPositionIterator< T >::operator= | ( | const AbstractPositionIterator< T > & | rhs | ) | 
Assignment operator.
| rhs | The right-hand-side copy used to copy from. | 
Definition at line 363 of file PositionIterator.h.
References te::rst::AbstractPositionIterator< T >::m_raster.
Referenced by te::rst::PolygonIterator< T >::operator=(), te::rst::LineIterator< T >::operator=(), and te::rst::PointSetIterator< T >::operator=().
      
  | 
  pure virtual | 
Returns the value in current position (column, row, band) from iterator.
| i | The band index. | 
Implemented in te::rst::PointSetIterator< T >, te::rst::LineIterator< T >, and te::rst::PolygonIterator< T >.
      
  | 
  pure virtual | 
Sets the iterator position to the end of the current band.
| b | The band to retrieve the end information. | 
Implemented in te::rst::PointSetIterator< T >, te::rst::LineIterator< T >, and te::rst::PolygonIterator< T >.
      
  | 
  protected | 
The band from where to get the values.
Definition at line 131 of file PositionIterator.h.
Referenced by te::rst::LineIterator< T >::LineIterator(), te::rst::AbstractPositionIterator< T >::operator!=(), te::rst::AbstractPositionIterator< T >::operator=(), and te::rst::PointSetIterator< T >::PointSetIterator().