kstars
solarsystemsinglecomponent.cpp
Go to the documentation of this file.
35 SolarSystemSingleComponent::SolarSystemSingleComponent(SolarSystemComposite *parent, KSPlanetBase *kspb, bool (*visibleMethod)()) :
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
SolarSystemSingleComponent(SolarSystemComposite *, KSPlanetBase *kspb, bool(*visibleMethod)())
Initialize visible method, minimum size and sizeScale.
Definition: solarsystemsinglecomponent.cpp:35
virtual void update(KSNumbers *num)
Update the sky position(s) of this component.
Definition: solarsystemsinglecomponent.cpp:76
virtual ~SolarSystemSingleComponent()
Definition: solarsystemsinglecomponent.cpp:48
virtual void draw(SkyPainter *skyp)
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
Definition: solarsystemsinglecomponent.cpp:92
virtual void drawTrails(SkyPainter *skyp)
Draw trails for objects.
Definition: solarsystemsinglecomponent.cpp:105
void updateTrail(dms *LST, const dms *lat)
update Horizontal coords of the trail
Definition: trailobject.cpp:45
virtual void updatePlanets(KSNumbers *num)
Definition: solarsystemsinglecomponent.cpp:82
virtual SkyObject * objectNearest(SkyPoint *p, double &maxrad)
Find the SkyObject nearest the given SkyPoint.
Definition: solarsystemsinglecomponent.cpp:67
void removeFromNames(const SkyObject *obj)
Definition: skycomponent.cpp:58
Definition: skylabeler.h:123
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
There are several time-dependent values used in position calculations, that are not specific to an ob...
Definition: ksnumbers.h:43
virtual SkyObject * findByName(const QString &name)
Search the children of this SkyComponent for a SkyObject whose name matches the argument name the nam...
Definition: solarsystemsinglecomponent.cpp:58
A subclass of TrailObject that provides additional information needed for most solar system objects...
Definition: ksplanetbase.h:63
virtual bool loadData()=0
Provides all necessary information about an object in the sky: its coordinates, name(s), type, magnitude, and QStringLists of URLs for images and webpages regarding the object.
Definition: skyobject.h:46
virtual bool selected()
Definition: solarsystemsinglecomponent.cpp:54
dms angularDistanceTo(const SkyPoint *sp, double *const positionAngle=0) const
Computes the angular distance between two SkyObjects.
Definition: skypoint.cpp:608
The solar system composite manages all planets, asteroids and comets.
Definition: solarsystemcomposite.h:41
static void AddLabel(SkyObject *obj, label_t type)
static version of addLabel() below.
Definition: skylabeler.h:149
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.