kstars
#include <asteroidscomponent.h>

Public Member Functions | |
AsteroidsComponent (SolarSystemComposite *parent) | |
virtual | ~AsteroidsComponent () |
QString | ans () |
virtual void | draw (SkyPainter *skyp) |
virtual SkyObject * | objectNearest (SkyPoint *p, double &maxrad) |
virtual bool | selected () |
void | updateDataFile () |
![]() | |
SolarSystemListComponent (SolarSystemComposite *parent) | |
virtual | ~SolarSystemListComponent () |
virtual void | update (KSNumbers *num) |
virtual void | updatePlanets (KSNumbers *num) |
![]() | |
ListComponent (SkyComposite *parent) | |
virtual | ~ListComponent () |
void | clear () |
virtual SkyObject * | findByName (const QString &name) |
const QList< SkyObject * > & | objectList () const |
![]() | |
SkyComponent (SkyComposite *parent) | |
virtual | ~SkyComponent () |
virtual void | emitProgressText (const QString &message) |
QHash< int, QStringList > & | objectNames () |
QStringList & | objectNames (int type) |
virtual void | objectsInArea (QList< SkyObject * > &list, const SkyRegion ®ion) |
SkyComposite * | parent () |
virtual void | updateMoons (KSNumbers *) |
Additional Inherited Members | |
![]() | |
void | drawTrails (SkyPainter *skyp) |
![]() | |
void | removeFromNames (const SkyObject *obj) |
![]() | |
QList< SkyObject * > | m_ObjectList |
Detailed Description
Represents the asteroids on the sky map.
- Version
- 0.1
Definition at line 32 of file asteroidscomponent.h.
Constructor & Destructor Documentation
|
explicit |
Default constructor.
parent
pointer to the parent SolarSystemComposite
Definition at line 39 of file asteroidscomponent.cpp.
|
virtual |
Definition at line 44 of file asteroidscomponent.cpp.
Member Function Documentation
QString AsteroidsComponent::ans | ( | ) |
|
virtual |
Draw the object on the SkyMap skyp
a pointer to the SkyPainter to use.
Implements SkyComponent.
Definition at line 176 of file asteroidscomponent.cpp.
Find the SkyObject nearest the given SkyPoint.
Look for a SkyObject that is nearer to point p than maxrad. If one is found, then maxrad is reset to the separation of the new nearest object. p
pointer to the SkyPoint to search around maxrad
reference to current search radius
- Returns
- a pointer to the nearest SkyObject
- Note
- This function simply returns a NULL pointer; it is reimplemented in various sub-classes.
Reimplemented from ListComponent.
Definition at line 206 of file asteroidscomponent.cpp.
|
virtual |
- Returns
- true if component is to be drawn on the map.
Reimplemented from SkyComponent.
Definition at line 47 of file asteroidscomponent.cpp.
void AsteroidsComponent::updateDataFile | ( | ) |
Definition at line 224 of file asteroidscomponent.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:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.