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

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

#include <Pulsar.hpp>

Public Member Functions

 Pulsar (const QVariantMap &map)
 
QVariantMap getMap (void)
 Get a QVariantMap which describes the pulsar. 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 of pulsar. More...
 
virtual float getVMagnitudeWithExtinction (const StelCore *core) const
 
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 of pulsar. More...
 
void update (double deltaTime)
 

Detailed Description

A Pulsar object represents one pulsar on the sky.

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

Definition at line 41 of file Pulsar.hpp.

Constructor & Destructor Documentation

Pulsar::Pulsar ( const QVariantMap &  map)
Parameters
idThe official designation for a pulsar, e.g. "PSR J1919+21"

Member Function Documentation

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

Get the angular size of pulsar.

virtual QString Pulsar::getEnglishName ( void  ) const
inlinevirtual

Get the english name of pulsar.

Implements StelObject.

Definition at line 81 of file Pulsar.hpp.

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

Get a QVariantMap which describes the pulsar.

Could be used to create a duplicate.

virtual QString Pulsar::getNameI18n ( void  ) const
inlinevirtual

Get the localized name of pulsar.

Implements StelObject.

Definition at line 76 of file Pulsar.hpp.

virtual QString Pulsar::getType ( void  ) const
inlinevirtual

Get the type of object.

Implements StelObject.

Definition at line 54 of file Pulsar.hpp.

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

Get the visual magnitude of pulsar.


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