![]() |
Home · All Namespaces · All Classes · Functions · Coding Style · Plugins · File Structure |
#include <MilkyWay.hpp>
Inherits StelModule.
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 void | updateI18n () |
virtual void | updateSkyCulture () |
virtual double | getCallOrder (StelModuleActionName actionName) const |
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::draw | ( | StelCore * | core | ) | [virtual] |
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.
virtual void MilkyWay::updateI18n | ( | ) | [inline, virtual] |
virtual void MilkyWay::updateSkyCulture | ( | ) | [inline, virtual] |
virtual double MilkyWay::getCallOrder | ( | StelModuleActionName | actionName | ) | const [inline, virtual] |
float MilkyWay::getIntensity | ( | ) | const [inline, slot] |
Get Milky Way intensity.
void MilkyWay::setIntensity | ( | float | aintensity | ) | [inline, slot] |
Set Milky Way intensity.
Vec3f MilkyWay::getColor | ( | ) | const [inline, slot] |
Get the color used for rendering the milky way.
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.
bool MilkyWay::getFlagShow | ( | void | ) | const [slot] |
Gets whether the Milky Way is displayed.