• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kstars

Public Member Functions | Protected Member Functions | List of all members
SatellitesComponent Class Reference

#include <satellitescomponent.h>

Inheritance diagram for SatellitesComponent:
Inheritance graph
[legend]

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 &region)
 
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.

Author
Jérôme SONRIER
Version
1.0

Definition at line 36 of file satellitescomponent.h.

Constructor & Destructor Documentation

SatellitesComponent::SatellitesComponent ( SkyComposite *  parent)
explicit

Constructor.

Parameters
parentpointer 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

void SatellitesComponent::draw ( SkyPainter *  skyp)
virtual

Draw all satellites.

Parameters
skypSkyPainter 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
satThe satellite
posThe position of the satellite

Definition at line 100 of file satellitescomponent.cpp.

void SatellitesComponent::drawTrails ( SkyPainter *  skyp)
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
nameThe 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.

SkyObject * SatellitesComponent::objectNearest ( SkyPoint *  p,
double &  maxrad 
)
virtual

Search the nearest satellite from point p.

Parameters
p
maxrad

Reimplemented from SkyComponent.

Definition at line 156 of file satellitescomponent.cpp.

bool SatellitesComponent::selected ( )
virtual
Returns
true if satellites must be draw.

Reimplemented from SkyComponent.

Definition at line 64 of file satellitescomponent.cpp.

void SatellitesComponent::update ( KSNumbers *  num)
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:
  • satellitescomponent.h
  • satellitescomponent.cpp
This file is part of the KDE documentation.
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.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal