![]() |
Stellarium 0.12.0 | ||
| Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · Renderer · File Structure |
Manages the displaying of the Milky Way. More...
#include <MilkyWay.hpp>
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, class StelRenderer *renderer) |
| 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. | |
Manages the displaying of the Milky Way.
Definition at line 31 of file MilkyWay.hpp.
| virtual void MilkyWay::draw | ( | StelCore * | core, | |
| class StelRenderer * | renderer | |||
| ) | [virtual] |
Draw the Milky Way.
| core | The StelCore object. | |
| renderer | Renderer to draw with. |
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.
Definition at line 57 of file MilkyWay.hpp.
| Vec3f MilkyWay::getColor | ( | ) | const [inline, slot] |
Get the color used for rendering the milky way.
Definition at line 68 of file MilkyWay.hpp.
| bool MilkyWay::getFlagShow | ( | void | ) | const [slot] |
Gets whether the Milky Way is displayed.
| float MilkyWay::getIntensity | ( | ) | const [inline, slot] |
Get Milky Way intensity.
Definition at line 63 of file MilkyWay.hpp.
| 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.
Definition at line 70 of file MilkyWay.hpp.
| void MilkyWay::setFlagShow | ( | bool | b | ) | [slot] |
Sets whether to show the Milky Way.
| void MilkyWay::setIntensity | ( | float | aintensity | ) | [inline, slot] |
Set Milky Way intensity.
Definition at line 65 of file MilkyWay.hpp.
| 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.
1.6.3