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

A Nova object represents one nova on the sky. More...

#include <Nova.hpp>

Public Member Functions

 Nova (const QVariantMap &map)
 
QVariantMap getMap (void)
 Get a QVariantMap which describes the nova. 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
 
QString getDesignation (void) const
 
void update (double deltaTime)
 

Detailed Description

A Nova object represents one nova on the sky.

Details about the novae are passed using a QVariant which contains a map of data from the json file.

Definition at line 46 of file Nova.hpp.

Constructor & Destructor Documentation

Nova::Nova ( const QVariantMap &  map)
Parameters
idThe official designation for a nova, e.g. "........"

Member Function Documentation

virtual QString Nova::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 Nova::getMap ( void  )

Get a QVariantMap which describes the nova.

Could be used to create a duplicate.


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