Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://astro.uni-altai.ru/~aw/stellarium/api/classSolarSystem.html
Дата изменения: Unknown Дата индексирования: Fri Feb 28 07:25:38 2014 Кодировка: Поисковые слова: moon |
![]() |
Stellarium 0.12.3
|
This StelObjectModule derivative is used to model SolarSystem bodies. More...
#include <SolarSystem.hpp>
Public Slots | |
void | setFlagPlanets (bool b) |
Set flag which determines if planets are drawn or hidden. More... | |
bool | getFlagPlanets () const |
Get the current value of the flag which determines if planet are drawn or hidden. More... | |
void | setFlagTrails (bool b) |
Set flag which determines if planet trails are drawn or hidden. More... | |
bool | getFlagTrails () const |
Get the current value of the flag which determines if planet trails are drawn or hidden. More... | |
void | setFlagHints (bool b) |
Set flag which determines if planet hints are drawn or hidden along labels. More... | |
bool | getFlagHints () const |
Get the current value of the flag which determines if planet hints are drawn or hidden along labels. More... | |
void | setFlagLabels (bool b) |
Set flag which determines if planet labels are drawn or hidden. More... | |
bool | getFlagLabels () const |
Get the current value of the flag which determines if planet labels are drawn or hidden. More... | |
void | setLabelsAmount (float a) |
Set the amount of planet labels. More... | |
float | getLabelsAmount (void) const |
Get the amount of planet labels. More... | |
void | setFlagOrbits (bool b) |
Set flag which determines if planet orbits are drawn or hidden. More... | |
bool | getFlagOrbits () const |
Get the current value of the flag which determines if planet orbits are drawn or hidden. More... | |
void | setFlagLightTravelTime (bool b) |
Set flag which determines if the light travel time calculation is used or not. More... | |
bool | getFlagLightTravelTime (void) const |
Get the current value of the flag which determines if light travel time calculation is used or not. More... | |
void | setFontSize (float newFontSize) |
Set planet names font size. More... | |
void | setLabelsColor (const Vec3f &c) |
Set the color used to draw planet labels. More... | |
const Vec3f & | getLabelsColor (void) const |
Get the current color used to draw planet labels. More... | |
void | setOrbitsColor (const Vec3f &c) |
Set the color used to draw planet orbit lines. More... | |
Vec3f | getOrbitsColor (void) const |
Get the current color used to draw planet orbit lines. More... | |
void | setTrailsColor (const Vec3f &c) |
Set the color used to draw planet trails lines. More... | |
Vec3f | getTrailsColor () const |
Get the current color used to draw planet trails lines. More... | |
void | setFlagMoonScale (bool b) |
Set flag which determines if Earth's moon is scaled or not. More... | |
bool | getFlagMoonScale (void) const |
Get the current value of the flag which determines if Earth's moon is scaled or not. More... | |
void | setMoonScale (float f) |
Set the display scaling factor for Earth's moon. More... | |
float | getMoonScale (void) const |
Get the display scaling factor for Earth's oon. More... | |
void | updateI18n () |
Translate names. (public so that SolarSystemEditor can call it). More... | |
float | getPlanetVMagnitude (QString planetName, bool withExtinction=false) const |
Get the V magnitude for Solar system bodies from scripts. More... | |
double | getDistanceToPlanet (QString planetName) const |
Get distance to Solar system bodies from scripts. More... | |
double | getElongationForPlanet (QString planetName) const |
Get elongation for Solar system bodies from scripts. More... | |
double | getPhaseAngleForPlanet (QString planetName) const |
Get phase angle for Solar system bodies from scripts. More... | |
float | getPhaseForPlanet (QString planetName) const |
Get phase for Solar system bodies from scripts. More... | |
Public Member Functions | |
virtual void | init () |
Initialize the SolarSystem. More... | |
virtual void | draw (StelCore *core, class StelRenderer *renderer) |
Draw SolarSystem objects (planets). More... | |
virtual void | update (double deltaTime) |
Update time-varying components. More... | |
virtual double | getCallOrder (StelModuleActionName actionName) const |
Used to determine what order to draw the various StelModules. More... | |
virtual QList< StelObjectP > | searchAround (const Vec3d &v, double limitFov, const StelCore *core) const |
Search for SolarSystem objects in some area around a point. More... | |
virtual StelObjectP | searchByNameI18n (const QString &nameI18n) const |
Search for a SolarSystem object based on the localised name. More... | |
virtual StelObjectP | searchByName (const QString &name) const |
Search for a SolarSystem object based on the English name. More... | |
virtual QStringList | listMatchingObjectsI18n (const QString &objPrefix, int maxNbItem=5) const |
Find objects by translated name prefix. More... | |
virtual QStringList | listMatchingObjects (const QString &objPrefix, int maxNbItem=5) const |
Find objects by translated name prefix. More... | |
virtual QStringList | listAllObjects (bool inEnglish) const |
virtual QString | getName () const |
PlanetP | searchByEnglishName (QString planetEnglishName) const |
Get a pointer to a Planet object. More... | |
PlanetP |