19 #ifndef _SUPERNOVA_HPP_ 20 #define _SUPERNOVA_HPP_ 1 24 #include <QStringList> 29 #include "StelObject.hpp" 31 #include "StelFader.hpp" 58 QVariantMap
getMap(
void)
const;
86 void update(
double deltaTime);
109 QString getMaxBrightnessDate(
const double JD)
const;
112 #endif // _SUPERNOVA_HPP_ virtual Vec3d getJ2000EquatorialPos(const StelCore *) const
Get observer-centered equatorial coordinates at equinox J2000.
Implementation of StelFader which implements a linear transition.
virtual QString getInfoString(const StelCore *core, const InfoStringGroup &flags) const
Get an HTML string to describe the object.
The base abstract class for sky objects used in Stellarium like Stars, Planets, Constellations etc...
virtual QString getType(void) const
Return object's type. It should be the name of the class.
virtual QString getNameI18n(void) const
Return translated object's name.
Define the StelTextureSP type.
virtual QVariantMap getInfoMap(const StelCore *core) const
Return a map like StelObject::getInfoMap(), but with a few extra tags also available in getMap()...
Main class for Stellarium core processing.
virtual QString getEnglishName(void) const
Return object's name in english.
Supernova(const QVariantMap &map)
A Supernova object represents one supernova on the sky.
Provides functions for performing openGL drawing operations.
Main class of the Historical Supernovae plugin.
virtual float getVMagnitude(const StelCore *core) const
Return object's apparent V magnitude as seen from observer, without including extinction.
virtual void draw(StelCore *core)
Execute all the drawing functions for this module.
virtual void update(double)
Update the module with respect to the time.
QVariantMap getMap(void) const
Get a QVariantMap which describes the supernova.
QSharedPointer< StelTexture > StelTextureSP
Use shared pointer to simplify memory managment.
virtual double getAngularSize(const StelCore *core) const
Return the angular radius of a circle containing the object as seen from the observer with the circle...
virtual Vec3f getInfoColor(void) const
Get a color used to display info about the object.