SolarSystemListComponent
#include <solarsystemlistcomponent.h>
Public Member Functions | |
SolarSystemListComponent (SolarSystemComposite *parent) | |
void | update (KSNumbers *num) override |
void | updateSolarSystemBodies (KSNumbers *num) override |
Public Member Functions inherited from ListComponent | |
ListComponent (SkyComposite *parent) | |
void | appendListObject (SkyObject *object) |
void | clear () |
SkyObject * | findByName (const QString &name, bool exact=true) override |
const QList< SkyObject * > & | objectList () const |
SkyObject * | objectNearest (SkyPoint *p, double &maxrad) override |
Public Member Functions inherited from SkyComponent | |
SkyComponent (SkyComposite *parent=nullptr) | |
virtual void | draw (SkyPainter *skyp)=0 |
virtual void | emitProgressText (const QString &message) |
QHash< int, QVector< QPair< QString, const SkyObject * > > > & | objectLists () |
QVector< QPair< QString, const SkyObject * > > & | objectLists (int type) |
QHash< int, QStringList > & | objectNames () |
QStringList & | objectNames (int type) |
virtual void | objectsInArea (QList< SkyObject * > &list, const SkyRegion ®ion) |
SkyComposite * | parent () |
void | removeFromLists (const SkyObject *obj) |
void | removeFromNames (const SkyObject *obj) |
virtual bool | selected () |
virtual void | updateMoons (KSNumbers *) |
Protected Member Functions | |
void | drawTrails (SkyPainter *skyp) override |
Additional Inherited Members | |
Protected Attributes inherited from ListComponent | |
QHash< QString, SkyObject * > | m_ObjectHash |
QList< SkyObject * > | m_ObjectList |
Detailed Description
- Version
- 1.0
Definition at line 20 of file solarsystemlistcomponent.h.
Constructor & Destructor Documentation
◆ SolarSystemListComponent()
|
explicit |
Definition at line 22 of file solarsystemlistcomponent.cpp.
◆ ~SolarSystemListComponent()
|
override |
Definition at line 26 of file solarsystemlistcomponent.cpp.
Member Function Documentation
◆ drawTrails()
|
overrideprotectedvirtual |
Draw trails for objects.
Reimplemented from SkyComponent.
Definition at line 64 of file solarsystemlistcomponent.cpp.
◆ update()
|
overridevirtual |
Update the sky positions of this component.
This function usually just updates the Horizontal (Azimuth/Altitude) coordinates of the objects in this component. If the KSNumbers* argument is not nullptr, this function also recomputes precession and nutation for the date in KSNumbers. num
Pointer to the KSNumbers object
- Note
- By default, the num parameter is nullptr, indicating that Precession/Nutation computation should be skipped; this computation is only occasionally required.
Reimplemented from ListComponent.
Definition at line 31 of file solarsystemlistcomponent.cpp.
◆ updateSolarSystemBodies()
|
overridevirtual |
Update the coordinates of the solar system bodies in this component.
This function updates the position of the moving solar system bodies. data
Pointer to the KStarsData object num
Pointer to the KSNumbers object
Reimplemented from SkyComponent.
Definition at line 47 of file solarsystemlistcomponent.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.