sky::Sun Class Reference

Sun (stub). More...

#include <_src_sky_sun.hh>

List of all members.

Public Member Functions

 Sun (const Degree lat, const Degree lon)
 ~Sun ()
void SetLatLon (const pair< Degree, Degree > &latLon)
 Set position of sun as (lat,lon).
pair< Degree, Degree > GetLatLon (void)

Private Attributes

Degree mLat
Degree mLon
 position of sun (lat,lon)


Detailed Description

Sun (stub).

Sun is a stub class. It just holds the sun's (lat,lon) coordinates. The sun is actually rendered by SkyDomePainter which paints the sun's aura. In the future, Sun could be improved, perhaps by rendering a Sprite image.

Integration: Sun is to be instantiated and contained by Sky.


Constructor & Destructor Documentation

sky::Sun::Sun ( const Degree  lat,
const Degree  lon 
) [inline]

sky::Sun::~Sun (  )  [inline]


Member Function Documentation

void sky::Sun::SetLatLon ( const pair< Degree, Degree > &  latLon  )  [inline]

Set position of sun as (lat,lon).

pair<Degree,Degree> sky::Sun::GetLatLon ( void   )  [inline]

Returns:
Position sun as (lat,lon).


Member Data Documentation

Degree sky::Sun::mLat [private]

Degree sky::Sun::mLon [private]

position of sun (lat,lon)


The documentation for this class was generated from the following file:
Palomino Flight Simulator documents generated by doxygen 1.5.6 on Tue Sep 28 11:37:50 2010