MIRA
|
#include <geometry/RasterTransformation.h>
Public Member Functions | |
iterator ()=default | |
Default constructor. More... | |
iterator (const iterator &other)=default | |
Copy constructor. More... | |
iterator (RasterTransformation *rt) | |
Init to begin of rt. More... | |
iterator & | operator= (const iterator &other) |
Assignment operator. More... | |
bool | operator== (const iterator &other) const |
Comparison. More... | |
bool | operator!= (const iterator &other) const |
Comparison. More... | |
const iterator & | operator++ () |
Advances to the next coordinate pair. More... | |
bool | isValid () const |
Valid iterator? More... | |
int | srcX () const |
Return current x coordinate in source raster. More... | |
int | srcY () const |
Return current y coordinate in source raster. More... | |
int | tgtX () const |
Return current x coordinate in target raster. More... | |
int | tgtY () const |
Return current y coordinate in target raster. More... | |
Public Attributes | |
RasterTransformation * | mT = nullptr |
GeneralBresenhamLineIterator< 4, double, 3, 10000 > | mBresenham |
double | mCurrentLine |
int | mTY |
bool | mLineValid = false |
Protected Member Functions | |
bool | initLine () |
void | setToBegin () |
Friends | |
class | RasterTransformation |
|
default |
Default constructor.
|
inline |
Init to begin of rt.
|
inline |
Assignment operator.
bool operator== | ( | const iterator & | other | ) | const |
Comparison.
bool operator!= | ( | const iterator & | other | ) | const |
Comparison.
|
inline |
Advances to the next coordinate pair.
|
inline |
Valid iterator?
|
inline |
Return current x coordinate in source raster.
|
inline |
Return current y coordinate in source raster.
|
inline |
Return current x coordinate in target raster.
|
inline |
Return current y coordinate in target raster.
|
inlineprotected |
|
inlineprotected |
|
friend |
RasterTransformation* mT = nullptr |
GeneralBresenhamLineIterator<4, double, 3, 10000> mBresenham |
double mCurrentLine |
int mTY |
bool mLineValid = false |