Gyoto
Public Member Functions | Public Attributes | Protected Attributes | List of all members
Gyoto::Screen::Grid Class Reference

Class containing 2D-points organized in a grid. More...

#include <GyotoScreen.h>

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

Public Member Functions

 Grid (Coord1dSet &iset, Coord1dSet &jset, const char *const p=NULL)
 
virtual Coord2dSetoperator++ ()
 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.
 
Coord1dSetiset_
 
Coord1dSetjset_
 

Detailed Description

Class containing 2D-points organized in a grid.

Member Function Documentation

◆ angles()

virtual GYOTO_ARRAY< double, 2 > Gyoto::Screen::Coord2dSet::angles ( ) const
virtualinherited

Get angle coordinates.

Reimplemented in Gyoto::Screen::Bucket.

◆ begin()

virtual void Gyoto::Screen::Grid::begin ( )
virtual

Reset pointer.

Implements Gyoto::Screen::Coord2dSet.

◆ operator*()

virtual GYOTO_ARRAY< size_t, 2 > Gyoto::Screen::Grid::operator* ( ) const
virtual

Get pixel coordinates.

Reimplemented from Gyoto::Screen::Coord2dSet.

◆ operator++()

virtual Coord2dSet & Gyoto::Screen::Grid::operator++ ( )
virtual

Increment pointer.

Implements Gyoto::Screen::Coord2dSet.

◆ size()

virtual size_t Gyoto::Screen::Grid::size ( )
virtual

Number of positions contained.

Implements Gyoto::Screen::Coord2dSet.

◆ valid()

virtual bool Gyoto::Screen::Grid::valid ( )
virtual

Whether the end has not been passed.

Implements Gyoto::Screen::Coord2dSet.


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