21 #ifndef _SOLARSYSTEM_HPP_ 22 #define _SOLARSYSTEM_HPP_ 28 #include "StelObjectModule.hpp" 31 #include "StelGui.hpp" 42 typedef QSharedPointer<Planet> PlanetP;
50 Q_PROPERTY(
bool labelsDisplayed
53 NOTIFY labelsDisplayedChanged)
54 Q_PROPERTY(
bool flagOrbits
57 NOTIFY flagOrbitsChanged)
58 Q_PROPERTY(
bool trailsDisplayed
61 NOTIFY trailsDisplayedChanged)
62 Q_PROPERTY(
bool flagHints
65 NOTIFY flagHintsChanged)
66 Q_PROPERTY(
bool flagPointer
69 NOTIFY flagPointerChanged)
70 Q_PROPERTY(
bool flagNativePlanetNames
73 NOTIFY flagNativePlanetNamesChanged)
74 Q_PROPERTY(
bool flagTranslatedNames
77 NOTIFY flagTranslatedNamesChanged)
78 Q_PROPERTY(
bool planetsDisplayed
81 NOTIFY flagPlanetsDisplayedChanged
83 Q_PROPERTY(
bool flagIsolatedOrbits
86 NOTIFY flagIsolatedOrbitsChanged
88 Q_PROPERTY(
bool flagIsolatedTrails
91 NOTIFY flagIsolatedTrailsChanged
93 Q_PROPERTY(
bool flagLightTravelTime
96 NOTIFY flagLightTravelTimeChanged
98 Q_PROPERTY(
bool flagUseObjModels
101 NOTIFY flagUseObjModelsChanged
103 Q_PROPERTY(
bool flagShowObjSelfShadows
106 NOTIFY flagShowObjSelfShadowsChanged
108 Q_PROPERTY(
bool flagMoonScale
111 NOTIFY flagMoonScaleChanged
113 Q_PROPERTY(
double moonScale
116 NOTIFY moonScaleChanged
118 Q_PROPERTY(
bool flagMinorBodyScale
121 NOTIFY flagMinorBodyScaleChanged
123 Q_PROPERTY(
double minorBodyScale
126 NOTIFY minorBodyScaleChanged
131 NOTIFY labelsAmountChanged
133 Q_PROPERTY(
bool ephemerisMarkersDisplayed
134 READ getFlagEphemerisMarkers
135 WRITE setFlagEphemerisMarkers
136 NOTIFY ephemerisMarkersChanged
138 Q_PROPERTY(
bool ephemerisHorizontalCoordinates
139 READ getFlagEphemerisHorizontalCoordinates
140 WRITE setFlagEphemerisHorizontalCoordinates
141 NOTIFY ephemerisHorizontalCoordinatesChanged
143 Q_PROPERTY(
bool ephemerisDatesDisplayed
144 READ getFlagEphemerisDates
145 WRITE setFlagEphemerisDates
146 NOTIFY ephemerisDatesChanged
148 Q_PROPERTY(
bool ephemerisMagnitudesDisplayed
149 READ getFlagEphemerisMagnitudes
150 WRITE setFlagEphemerisMagnitudes
151 NOTIFY ephemerisMagnitudesChanged
154 Q_PROPERTY(
bool flagCustomGrsSettings
157 NOTIFY flagCustomGrsSettingsChanged
159 Q_PROPERTY(
int customGrsLongitude
162 NOTIFY customGrsLongitudeChanged
164 Q_PROPERTY(
double customGrsDrift
167 NOTIFY customGrsDriftChanged
169 Q_PROPERTY(
double customGrsJD
172 NOTIFY customGrsJDChanged
176 Q_PROPERTY(
Vec3f orbitsColor
179 NOTIFY orbitsColorChanged
181 Q_PROPERTY(
Vec3f majorPlanetsOrbitsColor
184 NOTIFY majorPlanetsOrbitsColorChanged
186 Q_PROPERTY(
Vec3f minorPlanetsOrbitsColor
189 NOTIFY minorPlanetsOrbitsColorChanged
191 Q_PROPERTY(
Vec3f dwarfPlanetsOrbitsColor
194 NOTIFY dwarfPlanetsOrbitsColorChanged
196 Q_PROPERTY(
Vec3f moonsOrbitsColor
199 NOTIFY moonsOrbitsColorChanged
201 Q_PROPERTY(
Vec3f cubewanosOrbitsColor
204 NOTIFY cubewanosOrbitsColorChanged
206 Q_PROPERTY(
Vec3f plutinosOrbitsColor
209 NOTIFY plutinosOrbitsColorChanged
211 Q_PROPERTY(
Vec3f scatteredDiskObjectsOrbitsColor
214 NOTIFY scatteredDiskObjectsOrbitsColorChanged
216 Q_PROPERTY(
Vec3f oortCloudObjectsOrbitsColor
219 NOTIFY oortCloudObjectsOrbitsColorChanged
221 Q_PROPERTY(
Vec3f cometsOrbitsColor
224 NOTIFY cometsOrbitsColorChanged
226 Q_PROPERTY(
Vec3f sednoidsOrbitsColor
229 NOTIFY sednoidsOrbitsColorChanged
231 Q_PROPERTY(
Vec3f mercuryOrbitColor
234 NOTIFY mercuryOrbitColorChanged
236 Q_PROPERTY(
Vec3f venusOrbitColor
239 NOTIFY venusOrbitColorChanged
241 Q_PROPERTY(
Vec3f earthOrbitColor
244 NOTIFY earthOrbitColorChanged
246 Q_PROPERTY(
Vec3f marsOrbitColor
249 NOTIFY marsOrbitColorChanged
251 Q_PROPERTY(
Vec3f jupiterOrbitColor
254 NOTIFY jupiterOrbitColorChanged
256 Q_PROPERTY(
Vec3f saturnOrbitColor
259 NOTIFY saturnOrbitColorChanged
261 Q_PROPERTY(
Vec3f uranusOrbitColor
264 NOTIFY uranusOrbitColorChanged
266 Q_PROPERTY(
Vec3f neptuneOrbitColor
269 NOTIFY neptuneOrbitColorChanged
273 Q_PROPERTY(QString orbitColorStyle
276 NOTIFY orbitColorStyleChanged
281 virtual ~SolarSystem();
302 virtual
void update(
double deltaTime);
336 virtual QString
getName()
const {
return "Solar System"; }
377 void setFlagPointer(
bool b) {
if (b!=flagPointer) { flagPointer=b; emit flagPointerChanged(b); }}
388 void setFlagUseObjModels(
bool b) {
if(b!=flagUseObjModels) { flagUseObjModels = b; emit flagUseObjModelsChanged(b); } }
774 void labelsDisplayedChanged(
bool b);
775 void flagOrbitsChanged(
bool b);
776 void flagHintsChanged(
bool b);
777 void trailsDisplayedChanged(
bool b);
778 void flagPointerChanged(
bool b);
779 void flagNativePlanetNamesChanged(
bool b);
780 void flagTranslatedNamesChanged(
bool b);
781 void flagPlanetsDisplayedChanged(
bool b);
782 void flagIsolatedOrbitsChanged(
bool b);
783 void flagIsolatedTrailsChanged(
bool b);
784 void flagLightTravelTimeChanged(
bool b);
785 void flagUseObjModelsChanged(
bool b);
786 void flagShowObjSelfShadowsChanged(
bool b);
787 void flagMoonScaleChanged(
bool b);
788 void moonScaleChanged(
double f);
789 void flagMinorBodyScaleChanged(
bool b);
790 void minorBodyScaleChanged(
double f);
791 void labelsAmountChanged(
double f);
792 void ephemerisMarkersChanged(
bool b);
793 void ephemerisHorizontalCoordinatesChanged(
bool b);
794 void ephemerisDatesChanged(
bool b);
795 void ephemerisMagnitudesChanged(
bool b);
796 void flagCustomGrsSettingsChanged(
bool b);
797 void customGrsLongitudeChanged(
int l);
798 void customGrsDriftChanged(
double drift);
799 void customGrsJDChanged(
double JD);
801 void orbitsColorChanged(
const Vec3f & color)
const;
802 void majorPlanetsOrbitsColorChanged(
const Vec3f & color)
const;
803 void minorPlanetsOrbitsColorChanged(
const Vec3f & color)
const;
804 void dwarfPlanetsOrbitsColorChanged(
const Vec3f & color)
const;
805 void moonsOrbitsColorChanged(
const Vec3f & color)
const;
806 void cubewanosOrbitsColorChanged(
const Vec3f & color)
const;
807 void plutinosOrbitsColorChanged(
const Vec3f & color)
const;
808 void scatteredDiskObjectsOrbitsColorChanged(
const Vec3f & color)
const;
809 void oortCloudObjectsOrbitsColorChanged(
const Vec3f & color)
const;
810 void cometsOrbitsColorChanged(
const Vec3f & color)
const;
811 void sednoidsOrbitsColorChanged(
const Vec3f & color)
const;
812 void mercuryOrbitColorChanged(
const Vec3f & color)
const;
813 void venusOrbitColorChanged(
const Vec3f & color)
const;
814 void earthOrbitColorChanged(
const Vec3f & color)
const;
815 void marsOrbitColorChanged(
const Vec3f & color)
const;
816 void jupiterOrbitColorChanged(
const Vec3f & color)
const;
817 void saturnOrbitColorChanged(
const Vec3f & color)
const;
818 void uranusOrbitColorChanged(
const Vec3f & color)
const;
819 void neptuneOrbitColorChanged(
const Vec3f & color)
const;
821 void orbitColorStyleChanged(QString style)
const;
823 void solarSystemDataReloaded();
833 PlanetP searchMinorPlanetByEnglishName(QString planetEnglishName)
const;
887 void updateSkyCulture(
const QString& skyCultureDir);
890 void reloadShaders();
892 void setFlagEphemerisMarkers(
bool b);
893 bool getFlagEphemerisMarkers()
const;
895 void setFlagEphemerisHorizontalCoordinates(
bool b);
896 bool getFlagEphemerisHorizontalCoordinates()
const;
898 void setFlagEphemerisDates(
bool b);
899 bool getFlagEphemerisDates()
const;
901 void setFlagEphemerisMagnitudes(
bool b);
902 bool getFlagEphemerisMagnitudes()
const;
914 void computeTransMatrices(
double dateJDE,
const Vec3d& observerPos =
Vec3d(0.));
917 void drawPointer(
const StelCore* core);
926 bool loadPlanets(
const QString& filePath);
928 void recreateTrails();
932 unsigned char BvToColorIndex(
float bV);
935 void setFlagPermanentOrbits(
bool b);
938 int shadowPlanetCount;
945 void setSelected(
const QString& englishName);
947 void setSelected(PlanetP obj);
949 PlanetP getSelected(
void)
const {
return selected;}
957 bool flagMinorBodyScale;
958 double minorBodyScale;
960 QFont planetNameFont;
966 QList<PlanetP> systemPlanets;
968 QList<PlanetP> systemMinorBodies;
972 bool flagLightTravelTime;
973 bool flagUseObjModels;
974 bool flagShowObjSelfShadows;
982 bool flagNativePlanetNames;
983 bool flagTranslatedNames;
984 bool flagIsolatedTrails;
985 bool flagIsolatedOrbits;
986 bool ephemerisMarkersDisplayed;
987 bool ephemerisDatesDisplayed;
988 bool ephemerisMagnitudesDisplayed;
989 bool ephemerisHorizontalCoordinates;
998 QHash<QString, QString> planetNativeNamesMap;
999 QStringList minorBodies;
1001 Vec3d lightTimeSunPosition;
1010 QList<Orbit*> orbits;
1014 #endif // _SOLARSYSTEM_HPP_ double getElongationForPlanet(QString planetName) const
Get elongation for Solar system bodies from scripts.
void setPointerColor(const Vec3f &c)
Set the color used to draw planet pointers.
float getPhaseForPlanet(QString planetName) const
Get phase for Solar system bodies from scripts.
bool getFlagTranslatedNames(void) const
Get the current value of the flag which enables showing translated names for planets or not...
virtual void update(double deltaTime)
Update time-varying components.
QStringList getAllPlanetEnglishNames() const
Get the list of all the planet english names.
void setFlagUseObjModels(bool b)
Set flag whether to use OBJ models for rendering, where available.
void setFlagOrbits(bool b)
Set flag which determines if planet orbits are drawn or hidden.
bool getFlagMoonScale(void) const
Get the current value of the flag which determines if Earth's moon is scaled or not.
Vec3f getDwarfPlanetsOrbitsColor(void) const
Get the current color used to draw orbits lines of the dwarf planets.
QString getApparentMagnitudeAlgorithmOnEarth() const
Get the algorithm used for computation of apparent magnitudes for planets in case observer on the Ear...
virtual double getCallOrder(StelModuleActionName actionName) const
Used to determine what order to draw the various StelModules.
void setFlagMoonScale(bool b)
Set flag which determines if Earth's moon is scaled or not.
Vec3f getPointerColor() const
Get the current color used to draw planet pointers.
void setFlagIsolatedOrbits(bool b)
Set flag which enabled the showing of isolated orbits for selected objects only or not...
PlanetP getSun() const
Get the Planet object pointer for the Sun.
PlanetP getEarth() const
Get the Planet object pointer for the Earth.
Class used to translate strings to any language.
void setMinorBodyScale(double f)
Set the display scaling factor for minor bodies.
Implementation of StelFader which implements a linear transition.
double getCustomGrsDrift()
Get speed of annual drift for Great Red Spot (System II is used)
double getLabelsAmount(void) const
Get the amount of planet labels.
The base abstract class for sky objects used in Stellarium like Stars, Planets, Constellations etc...
Vec3f getPlutinosOrbitsColor(void) const
Get the current color used to draw orbits lines of plutinos.
void reloadPlanets()
Reload the planets.
Define the StelTextureSP type.
Vec3f getNeptuneOrbitColor(void) const
Get the current color used to draw Neptune orbit line.
bool getFlagCustomGrsSettings()
Get the current value of the flag which determines if custom settings for Great Red Spot on Jupiter i...
void setMinorPlanetsOrbitsColor(const Vec3f &c)
Set the color used to draw orbits lines of the minor planets.
bool nearLunarEclipse()
Determine if a lunar eclipse is close at hand?
double getCustomGrsJD()
Get initial JD for calculation of position of Great Red Spot.
double getMinorBodyScale(void) const
Get the display scaling factor for minor bodies.
void setCubewanosOrbitsColor(const Vec3f &c)
Set the color used to draw orbits lines of cubewanos.
Vec3f getMoonsOrbitsColor(void) const
Get the current color used to draw orbits lines of moons of planets.
Vec3f getOortCloudObjectsOrbitsColor(void) const
Get the current color used to draw orbits lines of Oort cloud objects.
Vec3f getSaturnOrbitColor(void) const
Get the current color used to draw Saturn orbit line.
int getCustomGrsLongitude()
Get longitude of Great Red Spot (System II is used)
void setEarthOrbitColor(const Vec3f &c)
Set the color used to draw Earth orbit line.
Main class for Stellarium core processing.
PlanetP getMoon() const
Get the Planet object pointer for Earth's moon.
void setOortCloudObjectsOrbitsColor(const Vec3f &c)
Set the color used to draw orbits lines of Oort cloud objects.
virtual QString getName() const
Gets a user-displayable name of the object category.
bool getFlagTrails() const
Get the current value of the flag which determines if planet trails are drawn or hidden.
void setFlagHints(bool b)
Set flag which determines if planet hints are drawn or hidden along labels.
void setCustomGrsLongitude(int longitude)
Set longitude of Great Red Spot (System II is used)
bool getFlagLightTravelTime(void) const
Get the current value of the flag which determines if light travel time calculation is used or not...
void setFlagLabels(bool b)
Set flag which determines if planet labels are drawn or hidden.
Vec3f getUranusOrbitColor(void) const
Get the current color used to draw Uranus orbit line.
void setScatteredDiskObjectsOrbitsColor(const Vec3f &c)
Set the color used to draw orbits lines of scattered disk objects.
void setApparentMagnitudeAlgorithmOnEarth(QString algorithm)
Set the algorithm for computation of apparent magnitudes for planets in case observer on the Earth...
Vec3f getMercuryOrbitColor(void) const
Get the current color used to draw Mercury orbit line.
bool getFlagLabels() const
Get the current value of the flag which determines if planet labels are drawn or hidden.
bool getFlagPlanets() const
Get the current value of the flag which determines if planet are drawn or hidden. ...
Vec3f getCometsOrbitsColor(void) const
Get the current color used to draw comet orbit lines.
Specialization of StelModule which manages a collection of StelObject.
virtual QList< StelObjectP > searchAround(const Vec3d &v, double limitFov, const StelCore *core) const
Search for SolarSystem objects in some area around a point.
const QList< PlanetP > & getAllPlanets() const
Get the list of all the bodies of the solar system.
void setVenusOrbitColor(const Vec3f &c)
Set the color used to draw Venus orbit line.
QStringList getObjectsList(QString objType="all") const
Get list of objects by type.
QStringList getAllMinorPlanetCommonEnglishNames() const
Get the list of all the minor planet common english names.
void setJupiterOrbitColor(const Vec3f &c)
Set the color used to draw Jupiter orbit line.
void setOrbitsColor(const Vec3f &c)
Set the color used to draw solar system object orbit lines.
This StelObjectModule derivative is used to model SolarSystem bodies.
void setFlagPointer(bool b)
Set flag which determines if the planet pointer (red cross) is drawn or hidden on a selected planet...
virtual QStringList listAllObjects(bool inEnglish) const
List all StelObjects.
void setNeptuneOrbitColor(const Vec3f &c)
Set the color used to draw Neptune orbit line.
bool getFlagMinorBodyScale(void) const
Get the current value of the flag which determines if minor bodies (everything except the 8 planets) ...
Vec3f getSednoidsOrbitsColor(void) const
Get the current color used to draw sednoid orbit lines.
void setFlagIsolatedTrails(bool b)
Set flag which enabled the showing of isolated trails for selected objects only or not...
const QList< PlanetP > & getAllMinorBodies() const
Get the list of all the bodies of the solar system.
Vec3f getTrailsColor() const
Get the current color used to draw planet trails lines.
void setFlagCustomGrsSettings(bool b)
Set flag which determines if custom settings is using for Great Red Spot on Jupiter.
virtual QString getStelObjectType() const
Returns the name that will be returned by StelObject::getType() for the objects this module manages...
Vec3f getJupiterOrbitColor(void) const
Get the current color used to draw Jupiter orbit line.
void setSednoidsOrbitsColor(const Vec3f &c)
Set the color used to draw sednoid orbit lines.
double getEclipseFactor(const StelCore *core) const
Determines relative amount of sun visible from the observer's position.
bool getFlagUseObjModels(void) const
Get the current value of the flag which determines wether to use OBJ models for rendering, where available.
Provide the main interface to all operations of projecting coordinates from sky to screen...
bool getFlagIsolatedTrails(void) const
Get the current value of the flag which enables showing of isolated trails for selected objects only ...
const QStringList getMinorBodiesList() const
Get the list of all minor bodies names.
bool removeMinorPlanet(QString name)
New 0.16: delete a planet from the solar system. Writes a warning to log if this is not a minor objec...
virtual StelObjectP searchByID(const QString &id) const
Return the StelObject with the given ID if exists or the empty StelObject if not found.
double getMoonScale(void) const
Get the display scaling factor for Earth's moon.
bool getFlagIsolatedOrbits(void) const
Get the current value of the flag which enables showing of isolated orbits for selected objects only ...
void setFlagTranslatedNames(bool b)
Set flag which enable use translated names for planets or not.
double getDistanceToPlanet(QString planetName) const
Get distance to Solar system bodies from scripts.
Vec3f getMinorPlanetsOrbitsColor(void) const
Get the current color used to draw orbits lines of the minor planets.
void setPlutinosOrbitsColor(const Vec3f &c)
Set the color used to draw orbits lines of plutinos.
QStringList getAllPlanetLocalizedNames() const
Get the list of all the planet localized names.
Vec3f getOrbitsColor(void) const
Get the current color used to draw solar system object orbit lines.
Vec3f getMajorPlanetsOrbitsColor(void) const
Get the current color used to draw orbits lines of the major planets.
void setFlagNativePlanetNames(bool b)
Set flag which enable use native names for planets or not.
double getPhaseAngleForPlanet(QString planetName) const
Get phase angle for Solar system bodies from scripts.
bool getFlagShowObjSelfShadows(void) const
Get the current value of the flag which determines whether OBJ models should render self-shadowing (u...
virtual void init()
Initialize the SolarSystem.
StelModuleActionName
Define the possible action for which an order is defined.
Vec3f getVenusOrbitColor(void) const
Get the current color used to draw Venus orbit line.
Vec3f getScatteredDiskObjectsOrbitsColor(void) const
Get the current color used to draw orbits lines of scattered disk objects.
void computePositions(double dateJDE, PlanetP observerPlanet)
Compute the position and transform matrix for every element of the solar system.
void setMarsOrbitColor(const Vec3f &c)
Set the color used to draw Mars orbit line.
virtual StelObjectP searchByNameI18n(const QString &nameI18n) const
Search for a SolarSystem object based on the localised name.
Vec3f getCubewanosOrbitsColor(void) const
Get the current color used to draw orbits lines of cubewanos.
void setMajorPlanetsOrbitsColor(const Vec3f &c)
Set the color used to draw orbits lines of the major planets.
Vec3f getMarsOrbitColor(void) const
Get the current color used to draw Mars orbit line.
void setLabelsColor(const Vec3f &c)
Set the color used to draw planet labels.
void setOrbitColorStyle(QString style)
Set style of colors of orbits for Solar system bodies.
StelModuleSelectAction
Enum used when selecting objects to define whether to add to, replace, or remove from the existing se...
double labelsAmount
The amount of planets labels (between 0 and 10).
void setTrailsColor(const Vec3f &c)
Set the color used to draw planet trails lines.
void setLabelsAmount(double a)
Set the amount of planet labels.
void setFontSize(float newFontSize)
Set planet names font size.
bool getFlagOrbits() const
Get the current value of the flag which determines if planet orbits are drawn or hidden.
void setSaturnOrbitColor(const Vec3f &c)
Set the color used to draw Saturn orbit line.
void setMoonsOrbitsColor(const Vec3f &c)
Set the color used to draw orbits lines of moons of planets.
void setFlagMinorBodyScale(bool b)
Set flag which determines if minor bodies (everything except the 8 planets) are drawn scaled or not...
void setMoonScale(double f)
Set the display scaling factor for Earth's moon.
void setFlagShowObjSelfShadows(bool b)
Set flag whether OBJ models should render self-shadowing (using a shadow map)
void updateI18n()
Translate names. (public so that SolarSystemEditor can call it).
QString getOrbitColorStyle() const
Get style of colors of orbits for Solar system bodies.
virtual void deinit()
Called before the module will be delete, and before the openGL context is suppressed.
QSharedPointer< StelTexture > StelTextureSP
Use shared pointer to simplify memory managment.
void setMercuryOrbitColor(const Vec3f &c)
Set the color used to draw Mercury orbit line.
bool getFlagHints() const
Get the current value of the flag which determines if planet hints are drawn or hidden along labels...
virtual QStringList listAllObjectsByType(const QString &objType, bool inEnglish) const
List all StelObjects by type.
Main class for the GUI based on QGraphicView.
void setCometsOrbitsColor(const Vec3f &c)
Set the color used to draw comet orbit lines.
void setFlagPlanets(bool b)
Set flag which determines if planets are drawn or hidden.
QString getPlanetType(QString planetName) const
Get type for Solar system bodies from scripts.
float getPlanetVMagnitude(QString planetName, bool withExtinction=false) const
Get the V magnitude for Solar system bodies from scripts.
void setCustomGrsDrift(double drift)
Set speed of annual drift for Great Red Spot (System II is used)
bool getFlagPointer() const
Get the current value of the flag which determines if planet pointers are drawn or hidden...
bool getFlagNativePlanetNames(void) const
Get the current value of the flag which enables showing native names for planets or not...
void setCustomGrsJD(double JD)
Set initial JD for calculation of position of Great Red Spot.
const Vec3f & getLabelsColor(void) const
Get the current color used to draw planet labels.
Vec3f getEarthOrbitColor(void) const
Get the current color used to draw Earth orbit line.
void setUranusOrbitColor(const Vec3f &c)
Set the color used to draw Uranus orbit line.
void setFlagTrails(bool b)
Set flag which determines if planet trails are drawn or hidden.
void setDwarfPlanetsOrbitsColor(const Vec3f &c)
Set the color used to draw orbits lines of the dwarf planets.
void setFlagLightTravelTime(bool b)
Set flag which determines if the light travel time calculation is used or not.
PlanetP searchByEnglishName(QString planetEnglishName) const
Get a pointer to a Planet object.
const Vec3d getLightTimeSunPosition() const
Get lighttime corrected solar position (essential to draw the sun during solar eclipse and compute th...
virtual void draw(StelCore *core)
Draw SolarSystem objects (planets).
virtual StelObjectP searchByName(const QString &name) const
Search for a SolarSystem object based on the English name.