Kstars
skycomposite.cpp
90 0.95; // Set a new maxrad, smaller than original to give priority to the earlier objects in the list.
There are several time-dependent values used in position calculations, that are not specific to an ob...
Definition ksnumbers.h:43
virtual void draw(SkyPainter *skyp)=0
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
virtual SkyObject * objectNearest(SkyPoint *p, double &maxrad)
Find the SkyObject nearest the given SkyPoint.
Definition skycomponent.cpp:28
virtual void update(KSNumbers *)
Update the sky position(s) of this component.
Definition skycomponent.h:126
SkyComposite is a kind of container class for SkyComponent objects.
Definition skycomposite.h:30
void addComponent(SkyComponent *comp, int priority=1024)
Add a new sub component to the composite comp Pointer to the SkyComponent to be added priority A prio...
Definition skycomposite.cpp:22
void removeComponent(SkyComponent *const comp)
Remove a sub component from the composite comp Pointer to the SkyComponent to be removed.
Definition skycomposite.cpp:33
SkyObject * objectNearest(SkyPoint *p, double &maxrad) override
Identify the nearest SkyObject to the given SkyPoint, among the children of this SkyComposite p point...
Definition skycomposite.cpp:76
SkyObject * findByName(const QString &name, bool exact=true) override
Search the children of this SkyComposite for a SkyObject whose name matches the argument.
Definition skycomposite.cpp:65
void draw(SkyPainter *skyp) override
Delegate draw requests to all sub components psky Reference to the QPainter on which to paint.
Definition skycomposite.cpp:50
void update(KSNumbers *num=nullptr) override
Delegate update-position requests to all sub components.
Definition skycomposite.cpp:59
SkyComposite(SkyComposite *parent=nullptr)
Constructor parent pointer to the parent SkyComponent.
Definition skycomposite.cpp:12
Provides all necessary information about an object in the sky: its coordinates, name(s),...
Definition skyobject.h:42
dms angularDistanceTo(const SkyPoint *sp, double *const positionAngle=nullptr) const
Computes the angular distance between two SkyObjects.
Definition skypoint.cpp:899
iterator begin()
void clear()
iterator end()
iterator erase(const_iterator first, const_iterator last)
iterator insert(const Key &key, const T &value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.