Gyoto
|
1D specifier for an arbitrary angle coordinate set. More...
#include <GyotoScreen.h>
Public Member Functions | |
Angles (double const *const buf, size_t sz) | |
void | begin () |
Reset specifier to point to the first value. More... | |
bool | valid () |
True if pointing to something, false if end has been reached. More... | |
size_t | size () |
Number of values in this container. More... | |
Coord1dSet & | operator++ () |
Increment iterator (point to next value) More... | |
double | angle () const |
Get double value currently pointed to. More... | |
virtual size_t | index () const |
Get index of value currently pointed to. More... | |
virtual size_t | operator* () const |
Get size_t value currently pointed to. More... | |
Public Attributes | |
const CoordType_e | kind |
Whether this specifier represents angles or pixels. | |
Protected Attributes | |
double * | buf_ |
size_t const | sz_ |
size_t | i_ |
1D specifier for an arbitrary angle coordinate set.
|
virtual |
Get double value currently pointed to.
Reimplemented from Gyoto::Screen::Coord1dSet.
|
virtual |
Reset specifier to point to the first value.
Implements Gyoto::Screen::Coord1dSet.
|
virtual |
Get index of value currently pointed to.
Starts at 0 and is implemented each time operator++ is called. Depending on the implementation, this may be a real index or computed on demand.
Implements Gyoto::Screen::Coord1dSet.
|
virtualinherited |
Get size_t value currently pointed to.
Reimplemented in Gyoto::Screen::Range, and Gyoto::Screen::Indices.
|
virtual |
Increment iterator (point to next value)
Implements Gyoto::Screen::Coord1dSet.
|
virtual |
Number of values in this container.
Implements Gyoto::Screen::Coord1dSet.
|
virtual |
True if pointing to something, false if end has been reached.
Implements Gyoto::Screen::Coord1dSet.