Stellarium 0.14.3
|
A Supernova object represents one supernova on the sky. More...
#include <Supernova.hpp>
Public Member Functions | |
Supernova (const QVariantMap &map) | |
QVariantMap | getMap (void) |
Get a QVariantMap which describes the supernova. More... | |
virtual QString | getType (void) const |
virtual QString | getInfoString (const StelCore *core, const InfoStringGroup &flags) const |
Get an HTML string to describe the object. More... | |
virtual Vec3f | getInfoColor (void) const |
virtual Vec3d | getJ2000EquatorialPos (const StelCore *) const |
virtual float | getVMagnitude (const StelCore *core) const |
virtual double | getAngularSize (const StelCore *core) const |
virtual QString | getNameI18n (void) const |
virtual QString | getEnglishName (void) const |
void | update (double deltaTime) |
A Supernova object represents one supernova on the sky.
Details about the supernovas are passed using a QVariant which contains a map of data from the json file.
Definition at line 41 of file Supernova.hpp.
Supernova::Supernova | ( | const QVariantMap & | map | ) |
id | The official designation for a supernova, e.g. "SN 1054A" |
|
virtual |
Get an HTML string to describe the object.
core | A pointer to the core a set of flags with information types to include. |
Implements StelObject.
QVariantMap Supernova::getMap | ( | void | ) |
Get a QVariantMap which describes the supernova.
Could be used to create a duplicate.