kstars
solarsystemcomposite.cpp
Go to the documentation of this file.
41 m_Earth = new KSPlanet( I18N_NOOP( "Earth" ), QString(), QColor( "white" ), 12756.28 /*diameter in km*/ );
47 addComponent( new SolarSystemSingleComponent( this, new KSPlanet( KSPlanetBase::MERCURY ), Options::showMercury ) );
48 addComponent( new SolarSystemSingleComponent( this, new KSPlanet( KSPlanetBase::VENUS ), Options::showVenus ) );
49 addComponent( new SolarSystemSingleComponent( this, new KSPlanet( KSPlanetBase::MARS ), Options::showMars ) );
50 SolarSystemSingleComponent *jup = new SolarSystemSingleComponent( this, new KSPlanet( KSPlanetBase::JUPITER ), Options::showJupiter );
54 SolarSystemSingleComponent *sat = new SolarSystemSingleComponent( this, new KSPlanet( KSPlanetBase::SATURN ), Options::showSaturn );
56 addComponent( new SolarSystemSingleComponent( this, new KSPlanet( KSPlanetBase::URANUS ), Options::showUranus ) );
57 addComponent( new SolarSystemSingleComponent( this, new KSPlanet( KSPlanetBase::NEPTUNE ), Options::showNeptune ) );
void findPosition(const KSNumbers *num, const dms *lat=0, const dms *LST=0, const KSPlanetBase *Earth=0)
Find position, including correction for Figure-of-the-Earth.
Definition: ksplanetbase.cpp:122
~SolarSystemComposite()
Definition: solarsystemcomposite.cpp:64
Definition: ksplanetbase.h:82
A subclass of KSPlanetBase for seven of the major planets in the solar system (Earth and Pluto have t...
Definition: ksplanet.h:40
const QList< SkyObject * > & comets() const
Definition: solarsystemcomposite.cpp:118
Definition: ksplanetbase.h:82
virtual void updateMoons(KSNumbers *num)
Definition: solarsystemcomposite.cpp:97
virtual void updateMoons(KSNumbers *num)
Definition: planetmoonscomponent.cpp:76
AsteroidsComponent * asteroidsComponent()
Definition: solarsystemcomposite.cpp:127
Definition: ksplanetbase.h:82
virtual void findPhase(const KSSun *Sun=0)
Determine the phase angle of the moon, and assign the appropriate moon image.
Definition: ksmoon.cpp:243
void addComponent(SkyComponent *comp)
Add a new sub component to the composite comp Pointer to the SkyComponent to be added.
Definition: skycomposite.cpp:31
virtual void update(KSNumbers *num)
Delegate update-position requests to all sub components.
Definition: solarsystemcomposite.cpp:75
virtual void updatePlanets(KSNumbers *num)
Definition: solarsystemcomposite.cpp:89
virtual void update(KSNumbers *num)
Update the sky position(s) of this component.
Definition: planetmoonscomponent.cpp:69
static bool showSolarSystem()
Get Meta-option for all planets in the sky map.
Definition: Options.h:1930
Definition: ksplanetbase.h:82
const QList< SkyObject * > & objectList() const
Definition: listcomponent.h:61
const QList< SkyObject * > & asteroids() const
Definition: solarsystemcomposite.cpp:114
SkyComposite is a kind of container class for SkyComponent objects.
Definition: skycomposite.h:43
void EquatorialToHorizontal(const dms *LST, const dms *lat)
Determine the (Altitude, Azimuth) coordinates of the SkyPoint from its (RA, Dec) coordinates, given the local sidereal time and the observer's latitude.
Definition: skypoint.cpp:55
Definition: ksplanetbase.h:82
There are several time-dependent values used in position calculations, that are not specific to an ob...
Definition: ksnumbers.h:43
virtual void update(KSNumbers *)
Update the sky position(s) of this component.
Definition: skycomponent.h:74
A subclass of SkyObject that provides information needed for the Moon.
Definition: ksmoon.h:36
SolarSystemComposite(SkyComposite *parent)
Definition: solarsystemcomposite.cpp:37
Represents the planetmoons on the sky map.
Definition: planetmoonscomponent.h:41
This class encapsulates some methods which are shared between all single-object solar system componen...
Definition: solarsystemsinglecomponent.h:40
virtual void emitProgressText(const QString &message)
Emit signal about progress.
Definition: skycomponent.cpp:35
CometsComponent * cometsComponent()
Definition: solarsystemcomposite.cpp:122
Definition: ksplanetbase.h:82
Definition: ksplanetbase.h:82
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.