Gyoto
|
Class containing 2D-points organized in a grid. More...
#include <GyotoScreen.h>
Public Member Functions | |
Grid (Coord1dSet &iset, Coord1dSet &jset, const char *const p=NULL) | |
virtual Coord2dSet & | operator++ () |
Increment pointer. More... | |
virtual GYOTO_ARRAY< size_t, 2 > | operator* () const |
Get pixel coordinates. More... | |
virtual void | begin () |
Reset pointer. More... | |
virtual bool | valid () |
Whether the end has not been passed. More... | |
virtual size_t | size () |
Number of positions contained. More... | |
virtual GYOTO_ARRAY< double, 2 > | angles () const |
Get angle coordinates. More... | |
Public Attributes | |
const CoordType_e | kind |
Whether this set holds pixels or angle specifications. | |
Protected Attributes | |
char * | prefix_ |
If non-NULL, cout j each tims it is incremented. | |
Coord1dSet & | iset_ |
Coord1dSet & | jset_ |
Class containing 2D-points organized in a grid.
|
virtualinherited |
Get angle coordinates.
Reimplemented in Gyoto::Screen::Bucket.
|
virtual |
Reset pointer.
Implements Gyoto::Screen::Coord2dSet.
|
virtual |
Get pixel coordinates.
Reimplemented from Gyoto::Screen::Coord2dSet.
|
virtual |
Increment pointer.
Implements Gyoto::Screen::Coord2dSet.
|
virtual |
Number of positions contained.
Implements Gyoto::Screen::Coord2dSet.
|
virtual |
Whether the end has not been passed.
Implements Gyoto::Screen::Coord2dSet.