kstars
solarsystemsinglecomponent.h
Go to the documentation of this file.
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
A subclass of KSPlanetBase for seven of the major planets in the solar system (Earth and Pluto have t...
Definition: ksplanet.h:40
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
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
There are several time-dependent values used in position calculations, that are not specific to an ob...
Definition: ksnumbers.h:43
This class encapsulates some methods which are shared between all single-object solar system componen...
Definition: solarsystemsinglecomponent.h:40
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
KSPlanetBase * planet()
Return pointer to stored planet object.
Definition: solarsystemsinglecomponent.h:49
The purpose of this class is to prevent labels from overlapping.
Definition: skylabeler.h:112
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
The solar system composite manages all planets, asteroids and comets.
Definition: solarsystemcomposite.h:41
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.