kstars
skycomposite.cpp
Go to the documentation of this file.
virtual void update(KSNumbers *num=0)
Delegate update-position requests to all sub components.
Definition: skycomposite.cpp:50
virtual void draw(SkyPainter *skyp)
Delegate draw requests to all sub components psky Reference to the QPainter on which to paint...
Definition: skycomposite.cpp: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: skycomponent.cpp:39
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 SkyObject * objectNearest(SkyPoint *p, double &maxrad)
Find the SkyObject nearest the given SkyPoint.
Definition: skycomponent.cpp:43
SkyComposite(SkyComposite *parent)
Constructor parent pointer to the parent SkyComponent.
Definition: skycomposite.cpp:22
virtual SkyObject * objectNearest(SkyPoint *p, double &maxrad)
Identify the nearest SkyObject to the given SkyPoint, among the children of this SkyComposite p point...
Definition: skycomposite.cpp:64
void removeComponent(SkyComponent *comp)
Remove a sub component from the composite comp Pointer to the SkyComponent to be removed.
Definition: skycomposite.cpp:36
SkyComposite is a kind of container class for SkyComponent objects.
Definition: skycomposite.h:43
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
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 void draw(SkyPainter *skyp)=0
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
virtual SkyObject * findByName(const QString &name)
Search the children of this SkyComposite for a SkyObject whose name matches the argument.
Definition: skycomposite.cpp:56
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:20 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:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.