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

A Quasar object represents one Quasar on the sky. More...

#include <Quasar.hpp>

Public Member Functions

 Quasar (const QVariantMap &map)
 
QVariantMap getMap (void)
 Get a QVariantMap which describes the Quasar. More...
 
virtual QString getType (void) const
 
virtual float getSelectPriority (const StelCore *core) 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 Quasar object represents one Quasar on the sky.

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

Definition at line 41 of file Quasar.hpp.

Constructor & Destructor Documentation

Quasar::Quasar ( const QVariantMap &  map)
Parameters
idThe official designation for a quasar, e.g. "RXS J00066+4342"

Member Function Documentation

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

Get a QVariantMap which describes the Quasar.

Could be used to create a duplicate.


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