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

A exoplanet object represents one pulsar on the sky. More...

#include <Exoplanet.hpp>

Public Member Functions

 Exoplanet (const QVariantMap &map)
 
QVariantMap getMap (void)
 Get a QVariantMap which describes the exoplanet. More...
 
virtual QString getType (void) const
 Get the type of object. More...
 
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
 Get the visual magnitude. More...
 
virtual double getAngularSize (const StelCore *core) const
 Get the angular size of pulsar. More...
 
virtual QString getNameI18n (void) const
 Get the localized name of pulsar. More...
 
virtual QString getEnglishName (void) const
 Get the english name. More...
 
bool isDiscovered (const StelCore *core)
 
void update (double deltaTime)
 
int getCountExoplanets (void) const
 
int getCountHabitableExoplanets (void) const
 

Detailed Description

A exoplanet object represents one pulsar on the sky.

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

Definition at line 58 of file Exoplanet.hpp.

Constructor & Destructor Documentation

Exoplanet::Exoplanet ( const QVariantMap &  map)
Parameters
idThe official designation for a exoplanet, e.g. "Kepler-10 b"

Member Function Documentation

virtual double Exoplanet::getAngularSize ( const StelCore core) const
virtual

Get the angular size of pulsar.

virtual QString Exoplanet::getEnglishName ( void  ) const
inlinevirtual

Get the english name.

Implements StelObject.

Definition at line 94 of file Exoplanet.hpp.

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

Get a QVariantMap which describes the exoplanet.

Could be used to create a duplicate.

virtual QString Exoplanet::getNameI18n ( void  ) const
virtual

Get the localized name of pulsar.

Implements StelObject.

virtual QString Exoplanet::getType ( void  ) const
inlinevirtual

Get the type of object.

Implements StelObject.

Definition at line 71 of file Exoplanet.hpp.

virtual float Exoplanet::getVMagnitude ( const StelCore core) const
virtual

Get the visual magnitude.


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