Stellarium 0.14.3
List of all members | Public Member Functions
Supernova Class Reference

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)
 

Detailed Description

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.

Constructor & Destructor Documentation

Supernova::Supernova ( const QVariantMap &  map)
Parameters
idThe official designation for a supernova, e.g. "SN 1054A"

Member Function Documentation

virtual QString Supernova::getInfoString ( const StelCore core,
const InfoStringGroup &  flags 
) const
virtual

Get an HTML string to describe the object.

Parameters
coreA 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.


The documentation for this class was generated from the following file: