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

Class containing arbitrary 2D-points. More...

#include <GyotoScreen.h>

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

Public Member Functions

 Bucket (Coord1dSet &iset, Coord1dSet &jset)
 
virtual Coord2dSetoperator++ ()
 Increment pointer. More...
 
virtual GYOTO_ARRAY< double, 2 > angles () const
 Get angle coordinates. 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...
 

Public Attributes

const CoordType_e kind
 Whether this set holds pixels or angle specifications.
 

Protected Attributes

Coord1dSetalpha_
 
Coord1dSetdelta_
 

Detailed Description

Class containing arbitrary 2D-points.

ispec_ and jspec_ must be the same size.

Member Function Documentation

◆ angles()

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

Get angle coordinates.

Reimplemented from Gyoto::Screen::Coord2dSet.

◆ begin()

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

Reset pointer.

Implements Gyoto::Screen::Coord2dSet.

◆ operator*()

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

Get pixel coordinates.

Reimplemented from Gyoto::Screen::Coord2dSet.

◆ operator++()

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

Increment pointer.

Implements Gyoto::Screen::Coord2dSet.

◆ size()

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

Number of positions contained.

Implements Gyoto::Screen::Coord2dSet.

◆ valid()

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

Whether the end has not been passed.

Implements Gyoto::Screen::Coord2dSet.


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