Stellarium 0.11.2
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure
Public Slots | Public Member Functions
MilkyWay Class Reference

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

#include <MilkyWay.hpp>

List of all members.

Public Slots

float getIntensity () const
void setIntensity (float aintensity)
Vec3f getColor () const
void setColor (const Vec3f &c)
void setFlagShow (bool b)
bool getFlagShow (void) const

Public Member Functions

virtual void init ()
virtual void draw (StelCore *core)
virtual void update (double deltaTime)
virtual double getCallOrder (StelModuleActionName actionName) const

Detailed Description

Manages the displaying of the Milky Way.


Member Function Documentation

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.

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.