kstars
#include <supernovaecomponent.h>

Public Slots | |
void | slotTriggerDataFileUpdate () |
Public Member Functions | |
SupernovaeComponent (SkyComposite *parent) | |
virtual | ~SupernovaeComponent () |
virtual void | draw (SkyPainter *skyp) |
virtual SkyObject * | findByName (const QString &name) |
virtual void | notifyNewSupernovae () |
virtual SkyObject * | objectNearest (SkyPoint *p, double &maxrad) |
virtual bool | selected () |
virtual void | update (KSNumbers *num=0) |
![]() | |
ListComponent (SkyComposite *parent) | |
virtual | ~ListComponent () |
void | clear () |
const QList< SkyObject * > & | objectList () const |
![]() | |
SkyComponent (SkyComposite *parent) | |
virtual | ~SkyComponent () |
virtual void | drawTrails (SkyPainter *skyp) |
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 *) |
virtual void | updatePlanets (KSNumbers *) |
Static Public Member Functions | |
static float | zoomMagnitudeLimit () |
Additional Inherited Members | |
![]() | |
void | removeFromNames (const SkyObject *obj) |
![]() | |
QList< SkyObject * > | m_ObjectList |
Detailed Description
Constructor & Destructor Documentation
|
explicit |
Definition at line 33 of file supernovaecomponent.cpp.
|
virtual |
Definition at line 38 of file supernovaecomponent.cpp.
Member Function Documentation
|
virtual |
- Note
- This should actually be implemented in a better manner. Possibly by checking if the host galaxy for the supernova is drawn.
Implements SkyComponent.
Definition at line 178 of file supernovaecomponent.cpp.
|
virtual |
Search the children of this SkyComponent for a SkyObject whose name matches the argument name
the name to be matched.
- Returns
- a pointer to the SkyObject whose name matches the argument, or a NULL pointer if no match was found.
- Note
- This function simply returns the NULL pointer; it is reimplemented in various sub-classes
Reimplemented from ListComponent.
Definition at line 137 of file supernovaecomponent.cpp.
|
virtual |
Definition at line 200 of file supernovaecomponent.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 148 of file supernovaecomponent.cpp.
|
virtual |
- Returns
- true if component is to be drawn on the map.
Reimplemented from SkyComponent.
Definition at line 52 of file supernovaecomponent.cpp.
|
slot |
This initiates updating of the data file by using supernovae_updates_parser.py.
Definition at line 228 of file supernovaecomponent.cpp.
|
virtual |
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 NULL, 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 NULL, indicating that Precession/Nutation computation should be skipped; this computation is only occasionally required.
Reimplemented from ListComponent.
Definition at line 40 of file supernovaecomponent.cpp.
|
static |
- Note
- Basically copy pasted from StarComponent::zoomMagnitudeLimit()
Definition at line 168 of file supernovaecomponent.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.