Kstars
skycomponent.h
23 * The SkyComponent uses the composite design pattern. So if a new object type is needed, it has to
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 void objectsInArea(QList< SkyObject * > &list, const SkyRegion ®ion)
Searches the region(s) and appends the SkyObjects found to the list of sky objects.
Definition skycomponent.cpp:37
virtual SkyObject * objectNearest(SkyPoint *p, double &maxrad)
Find the SkyObject nearest the given SkyPoint.
Definition skycomponent.cpp:28
virtual SkyObject * findByName(const QString &name, bool exact=true)
Search the children of this SkyComponent for a SkyObject whose name matches the argument name the nam...
Definition skycomponent.cpp:23
virtual void update(KSNumbers *)
Update the sky position(s) of this component.
Definition skycomponent.h:126
SkyComponent(SkyComposite *parent=nullptr)
Constructor parent pointer to the parent SkyComposite.
Definition skycomponent.cpp:13
virtual void emitProgressText(const QString &message)
Emit signal about progress.
Definition skycomponent.cpp:18
SkyComposite is a kind of container class for SkyComponent objects.
Definition skycomposite.h:30
Provides all necessary information about an object in the sky: its coordinates, name(s),...
Definition skyobject.h:42
VehicleSection::Type type(QStringView coachNumber, QStringView coachClassification)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 12:01:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 12:01:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.