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. | |
virtual GYOTO_ARRAY< size_t, 2 > | operator* () const |
Get pixel coordinates. | |
virtual GYOTO_ARRAY< double, 2 > | angles () const |
Get angle coordinates. | |
virtual void | begin ()=0 |
Reset pointer. | |
virtual bool | valid ()=0 |
Whether the end has not been passed. | |
virtual size_t | size ()=0 |
Number of positions contained. | |
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.