Stellarium 0.11.4
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure

MilkyWay Class Reference

Manages the displaying of the Milky Way. More...

#include <MilkyWay.hpp>

List of all members.

Public Slots

float getIntensity () const
 Get Milky Way intensity.
void setIntensity (float aintensity)
 Set Milky Way intensity.
Vec3f getColor () const
 Get the color used for rendering the milky way.
void setColor (const Vec3f &c)
 Sets the color to use for rendering the milky way.
void setFlagShow (bool b)
 Sets whether to show the Milky Way.
bool getFlagShow (void) const
 Gets whether the Milky Way is displayed.

Public Member Functions

virtual void init ()
 Initialize the class.
virtual void draw (StelCore *core)
 Draw the Milky Way.
virtual void update (double deltaTime)
 Update and time-dependent state.
virtual double getCallOrder (StelModuleActionName actionName) const
 Used to determine the order in which the various modules are drawn.

Detailed Description

Manages the displaying of the Milky Way.


Member Function Documentation

virtual void MilkyWay::draw ( StelCore core  )  [virtual]

Draw the Milky Way.

Reimplemented from StelModule.

virtual double MilkyWay::getCallOrder ( StelModuleActionName  actionName  )  const [inline, virtual]

Used to determine the order in which the various modules are drawn.

Reimplemented from StelModule.

Vec3f MilkyWay::getColor (  )  const [inline, slot]

Get the color used for rendering the milky way.

bool MilkyWay::getFlagShow ( void   )  const [slot]

Gets whether the Milky Way is displayed.

float MilkyWay::getIntensity (  )  const [inline, slot]

Get Milky Way intensity.

virtual void MilkyWay::init (  )  [virtual]

Initialize the class.

Here we load the texture for the Milky Way and get the display settings from application settings, namely the flag which determines if the Milky Way is displayed or not, and the intensity setting.

Implements StelModule.

void MilkyWay::setColor ( const Vec3f c  )  [inline, slot]

Sets the color to use for rendering the milky way.

void MilkyWay::setFlagShow ( bool  b  )  [slot]

Sets whether to show the Milky Way.

void MilkyWay::setIntensity ( float  aintensity  )  [inline, slot]

Set Milky Way intensity.

virtual void MilkyWay::update ( double  deltaTime  )  [virtual]

Update and time-dependent state.

Updates the fade level while the Milky way rendering is being changed from on to off or off to on.

Implements StelModule.

Generated on Sat Aug 25 22:13:31 2012 for Stellarium by  doxygen 1.6.3