Gyoto
Public Member Functions | Public Attributes | List of all members
Gyoto::Screen::Coord2dSet Class Referenceabstract

Class to specify a set of points on the Screen. More...

#include <GyotoScreen.h>

Inheritance diagram for Gyoto::Screen::Coord2dSet:
Gyoto::Screen::Bucket Gyoto::Screen::Empty Gyoto::Screen::Grid

Public Member Functions

 Coord2dSet (CoordType_e k)
 Set kind at initialisation.
 
virtual ~Coord2dSet ()
 Virtual destructor.
 
virtual Coord2dSetoperator++ ()=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.
 

Detailed Description

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.


The documentation for this class was generated from the following file: