SolarSystemComposite
#include <solarsystemcomposite.h>
Detailed Description
The solar system composite manages all planets, asteroids and comets.
As every sub component of solar system needs the earth , the composite is managing this object by itself.
- Version
- 0.1
Definition at line 30 of file solarsystemcomposite.h.
Constructor & Destructor Documentation
◆ SolarSystemComposite()
|
explicit |
Definition at line 23 of file solarsystemcomposite.cpp.
◆ ~SolarSystemComposite()
|
override |
Definition at line 95 of file solarsystemcomposite.cpp.
Member Function Documentation
◆ asteroids()
Definition at line 153 of file solarsystemcomposite.cpp.
◆ asteroidsComponent()
AsteroidsComponent * SolarSystemComposite::asteroidsComponent | ( | ) |
Definition at line 178 of file solarsystemcomposite.cpp.
◆ comets()
Definition at line 158 of file solarsystemcomposite.cpp.
◆ cometsComponent()
CometsComponent * SolarSystemComposite::cometsComponent | ( | ) |
Definition at line 173 of file solarsystemcomposite.cpp.
◆ drawTrails()
|
overridevirtual |
Draw trails for objects.
Reimplemented from SkyComponent.
Definition at line 144 of file solarsystemcomposite.cpp.
◆ earth()
|
inline |
Definition at line 37 of file solarsystemcomposite.h.
◆ earthShadow()
|
inline |
Definition at line 40 of file solarsystemcomposite.h.
◆ moon()
|
inline |
Definition at line 39 of file solarsystemcomposite.h.
◆ moons()
Definition at line 168 of file solarsystemcomposite.cpp.
◆ planetObjects()
Definition at line 163 of file solarsystemcomposite.cpp.
◆ planets()
const QList< SolarSystemSingleComponent * > & SolarSystemComposite::planets | ( | ) | const |
Definition at line 183 of file solarsystemcomposite.cpp.
◆ selected()
|
overridevirtual |
- Returns
- true if component is to be drawn on the map.
Reimplemented from SkyComponent.
Definition at line 100 of file solarsystemcomposite.cpp.
◆ sun()
|
inline |
Definition at line 38 of file solarsystemcomposite.h.
◆ update()
|
overridevirtual |
Delegate update-position requests to all sub components.
This function usually just updates the Horizontal (Azimuth/Altitude) coordinates. However, the precession and nutation must also be recomputed periodically. Requests to do so are sent through the doPrecess parameter. num
Pointer to the KSNumbers object
- See also
- updatePlanets()
- updateMoons()
- Note
- By default, the num parameter is nullptr, indicating that Precession/Nutation computation should be skipped; this computation is only occasionally required.
Reimplemented from SkyComposite.
Definition at line 109 of file solarsystemcomposite.cpp.
◆ updateMoons()
|
overridevirtual |
Reimplemented from SkyComponent.
Definition at line 133 of file solarsystemcomposite.cpp.
◆ updateSolarSystemBodies()
|
overridevirtual |
Reimplemented from SkyComponent.
Definition at line 124 of file solarsystemcomposite.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.