kstars
#include <satellitescomponent.h>

Public Member Functions | |
| SatellitesComponent (SkyComposite *parent) | |
| ~SatellitesComponent () | |
| virtual void | draw (SkyPainter *skyp) |
| void | drawLabel (Satellite *sat, QPointF pos) |
| Satellite * | findSatellite (QString name) |
| QList< SatelliteGroup * > | groups () |
| SkyObject * | objectNearest (SkyPoint *p, double &maxrad) |
| virtual bool | selected () |
| virtual void | update (KSNumbers *num) |
| void | updateTLEs () |
Public Member Functions inherited from SkyComponent | |
| SkyComponent (SkyComposite *parent) | |
| virtual | ~SkyComponent () |
| virtual void | emitProgressText (const QString &message) |
| virtual SkyObject * | findByName (const QString &name) |
| QHash< int, QStringList > & | objectNames () |
| QStringList & | objectNames (int type) |
| virtual void | objectsInArea (QList< SkyObject * > &list, const SkyRegion ®ion) |
| SkyComposite * | parent () |
| virtual void | updateMoons (KSNumbers *) |
| virtual void | updatePlanets (KSNumbers *) |
Protected Member Functions | |
| virtual void | drawTrails (SkyPainter *skyp) |
Protected Member Functions inherited from SkyComponent | |
| void | removeFromNames (const SkyObject *obj) |
Detailed Description
Represents artificial satellites on the sky map.
- Version
- 1.0
Definition at line 36 of file satellitescomponent.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
- Parameters
-
parent pointer to the parent SkyComposite
Definition at line 38 of file satellitescomponent.cpp.
| SatellitesComponent::~SatellitesComponent | ( | ) |
Destructor.
Definition at line 59 of file satellitescomponent.cpp.
Member Function Documentation
|
virtual |
Draw all satellites.
- Parameters
-
skyp SkyPainter to use
Implements SkyComponent.
Definition at line 79 of file satellitescomponent.cpp.
| void SatellitesComponent::drawLabel | ( | Satellite * | sat, |
| QPointF | pos | ||
| ) |
Draw label of a satellite.
- Parameters
-
sat The satellite pos The position of the satellite
Definition at line 100 of file satellitescomponent.cpp.
|
protectedvirtual |
Draw trails for objects.
Reimplemented from SkyComponent.
Definition at line 107 of file satellitescomponent.cpp.
| Satellite * SatellitesComponent::findSatellite | ( | QString | name | ) |
Search a satellite by name.
- Parameters
-
name The name of the satellite
- Returns
- Satellite that was find or 0
Definition at line 143 of file satellitescomponent.cpp.
| QList< SatelliteGroup * > SatellitesComponent::groups | ( | ) |
- Returns
- The list of all groups
Definition at line 138 of file satellitescomponent.cpp.
Search the nearest satellite from point p.
- Parameters
-
p maxrad
Reimplemented from SkyComponent.
Definition at line 156 of file satellitescomponent.cpp.
|
virtual |
- Returns
- true if satellites must be draw.
Reimplemented from SkyComponent.
Definition at line 64 of file satellitescomponent.cpp.
|
virtual |
Update satellites position.
- Parameters
-
num
Reimplemented from SkyComponent.
Definition at line 68 of file satellitescomponent.cpp.
| void SatellitesComponent::updateTLEs | ( | ) |
Download new TLE files.
Definition at line 111 of file satellitescomponent.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:23 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference
Public Member Functions inherited from