SatellitesComponent
#include <satellitescomponent.h>
Protected Member Functions | |
void | drawTrails (SkyPainter *skyp) override |
Detailed Description
Represents artificial satellites on the sky map.
- Version
- 1.0
Definition at line 23 of file satellitescomponent.h.
Constructor & Destructor Documentation
◆ SatellitesComponent()
|
explicit |
Constructor.
- Parameters
-
parent pointer to the parent SkyComposite
Definition at line 23 of file satellitescomponent.cpp.
◆ ~SatellitesComponent()
|
override |
Destructor.
Definition at line 32 of file satellitescomponent.cpp.
Member Function Documentation
◆ draw()
|
overridevirtual |
Draw all satellites.
- Parameters
-
skyp SkyPainter to use
Implements SkyComponent.
Definition at line 94 of file satellitescomponent.cpp.
◆ drawLabel()
Draw label of a satellite.
- Parameters
-
sat The satellite pos The position of the satellite
Definition at line 132 of file satellitescomponent.cpp.
◆ drawTrails()
|
overrideprotectedvirtual |
Draw trails for objects.
Reimplemented from SkyComponent.
Definition at line 139 of file satellitescomponent.cpp.
◆ findByName()
|
overridevirtual |
Return object given name.
- Parameters
-
name object name exact
If true, it will return an exact match, otherwise it can return a partial match.
- Returns
- object if found, otherwise nullptr
Reimplemented from SkyComponent.
Definition at line 250 of file satellitescomponent.cpp.
◆ findSatellite()
Search a satellite by name.
- Parameters
-
name The name of the satellite
- Returns
- Satellite that was find or 0
Definition at line 200 of file satellitescomponent.cpp.
◆ groups()
QList< SatelliteGroup * > SatellitesComponent::groups | ( | ) |
- Returns
- The list of all groups
Definition at line 195 of file satellitescomponent.cpp.
◆ loadData()
void SatellitesComponent::loadData | ( | ) |
Definition at line 38 of file satellitescomponent.cpp.
◆ objectNearest()
Search the nearest satellite from point p.
- Parameters
-
p maxrad
Reimplemented from SkyComponent.
Definition at line 215 of file satellitescomponent.cpp.
◆ selected()
|
overridevirtual |
- Returns
- true if satellites must be draw.
Reimplemented from SkyComponent.
Definition at line 77 of file satellitescomponent.cpp.
◆ update()
|
overridevirtual |
Update satellites position.
- Parameters
-
num
Reimplemented from SkyComponent.
Definition at line 82 of file satellitescomponent.cpp.
◆ updateTLEs()
void SatellitesComponent::updateTLEs | ( | ) |
Download new TLE files.
Definition at line 144 of file satellitescomponent.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.