Gyoto
|
Class to specify a set of points on the Screen. More...
#include <GyotoScreen.h>
Public Member Functions | |
Coord2dSet (CoordType_e k) | |
Set kind at initialisation. | |
virtual | ~Coord2dSet () |
Virtual destructor. | |
virtual Coord2dSet & | operator++ ()=0 |
Increment pointer. More... | |
virtual GYOTO_ARRAY< size_t, 2 > | operator* () const |
Get pixel coordinates. More... | |
virtual GYOTO_ARRAY< double, 2 > | angles () const |
Get angle coordinates. More... | |
virtual void | begin ()=0 |
Reset pointer. More... | |
virtual bool | valid ()=0 |
Whether the end has not been passed. More... | |
virtual size_t | size ()=0 |
Number of positions contained. More... | |
Public Attributes | |
const CoordType_e | kind |
Whether this set holds pixels or angle specifications. | |
Class to specify a set of points on the Screen.
Container (array-like) holding several 2D points. Can be a 2D grid of pixel coordinates or a vector of floating-point (alpha, delta) pairs, for instance.
|
virtual |
Get angle coordinates.
Reimplemented in Gyoto::Screen::Bucket.
|
pure virtual |
Reset pointer.
Implemented in Gyoto::Screen::Grid, Gyoto::Screen::Bucket, and Gyoto::Screen::Empty.
|
virtual |
Get pixel coordinates.
Reimplemented in Gyoto::Screen::Grid, and Gyoto::Screen::Bucket.
|
pure virtual |
Increment pointer.
Implemented in Gyoto::Screen::Grid, Gyoto::Screen::Bucket, and Gyoto::Screen::Empty.
|
pure virtual |
Number of positions contained.
Implemented in Gyoto::Screen::Grid, Gyoto::Screen::Bucket, and Gyoto::Screen::Empty.
|
pure virtual |
Whether the end has not been passed.
Implemented in Gyoto::Screen::Grid, Gyoto::Screen::Bucket, and Gyoto::Screen::Empty.