![]() |
Stellarium 0.11.1 | ||
| Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure |
#include <StelCore.hpp>
Main class for Stellarium core processing.
This class provides services like management of sky projections, tone conversion, or reference frame conversion. It is used by the various StelModules to update and display themself. There is currently only one StelCore instance in Stellarium, but in the future they may be more, allowing for example to display several independent views of the sky at the same time.
| void StelCore::addSiderealDay | ( | ) | [inline, slot] |
Add one sidereal day to the simulation time.
The length of time depends on the current planetary body on which the observer is located.
| void StelCore::addSiderealDays | ( | double | d | ) | [slot] |
Add a number of sidereal days to the current simulation time, based on the observer body's rotational period.
| d | the decimal number of sidereal days to add (use negative values to subtract) |
| void StelCore::addSiderealWeek | ( | ) | [inline, slot] |
Add one sidereal week to the simulation time.
The length of time depends on the current planetary body on which the observer is located.
| void StelCore::addSolarDays | ( | double | d | ) | [slot] |
Add a number of Earth Solar days to the current simulation time.
| d | the decimal number of days to add (use negative values to subtract) |
| bool StelCore::getFlipHorz | ( | void | ) | const [inline, slot] |
Get the state of the horizontal flip.
| bool StelCore::getFlipVert | ( | void | ) | const [inline, slot] |
Get the state of the vertical flip.
| void StelCore::moveObserverToSelected | ( | ) | [slot] |
Move the observer to the selected object.
This will only do something if the selected object is of the correct type - i.e. a planet.
| void StelCore::setFlagGravityLabels | ( | bool | gravity | ) | [inline, slot] |
Set the flag with decides whether to arrage labels so that they are aligned with the bottom of a 2d screen, or a 3d dome.
| void StelCore::setFlipHorz | ( | bool | flip | ) | [inline, slot] |
Set the horizontal flip status.
| flip | The new value (true = flipped, false = unflipped). |
| void StelCore::setFlipVert | ( | bool | flip | ) | [inline, slot] |
Set the vertical flip status.
| flip | The new value (true = flipped, false = unflipped). |
| void StelCore::subtractSiderealDay | ( | ) | [inline, slot] |
Subtract one sidereal week to the simulation time.
The length of time depends on the current planetary body on which the observer is located.
| void StelCore::subtractSiderealWeek | ( | ) | [inline, slot] |
Subtract one sidereal week to the simulation time.
The length of time depends on the current planetary body on which the observer is located.
1.7.6.1