20 #define _PULSAR_HPP_ 1 24 #include <QStringList> 29 #include "StelObject.hpp" 31 #include "StelFader.hpp" 46 Pulsar(
const QVariantMap& map);
69 QVariantMap
getMap(
void)
const;
92 virtual float getVMagnitudeWithExtinction(
const StelCore *core)
const;
106 void update(
double deltaTime);
115 static bool distributionMode;
116 static bool glitchFlag;
117 static Vec3f markerColor;
118 static Vec3f glitchColor;
147 double getEdot(
double p0,
double p1)
const;
152 double getP1(
double p0,
double f1)
const;
156 QString getPulsarTypeInfoString(QString pcode)
const;
160 #endif // _PULSAR_HPP_ virtual QString getNameI18n(void) const
Get the localized name of pulsar.
Implementation of StelFader which implements a linear transition.
The base abstract class for sky objects used in Stellarium like Stars, Planets, Constellations etc...
virtual float getSelectPriority(const StelCore *core) const
Return a priority value which is used to discriminate objects by priority As for magnitudes, the lower is the higher priority.
Define the StelTextureSP type.
virtual Vec3f getInfoColor(void) const
Get a color used to display info about the object.
Main class of the Pulsars plugin.
virtual double getAngularSize(const StelCore *core) const
Get the angular size of pulsar.
Main class for Stellarium core processing.
virtual void update(double)
Update the module with respect to the time.
A Pulsar object represents one pulsar on the sky.
virtual QString getType(void) const
Get the type of object.
Provides functions for performing openGL drawing operations.
virtual float getVMagnitude(const StelCore *core) const
Get the visual magnitude of pulsar.
virtual void draw(StelCore *core)
Execute all the drawing functions for this module.
QVariantMap getMap(void) const
Get a QVariantMap which describes the pulsar. Could be used to create a duplicate.
QSharedPointer< StelTexture > StelTextureSP
Use shared pointer to simplify memory managment.
virtual QString getEnglishName(void) const
Get the english name of pulsar.
virtual QVariantMap getInfoMap(const StelCore *core) const
Return a map like StelObject::getInfoMap(), but with a few extra tags also available in getMap()...
Pulsar(const QVariantMap &map)
virtual Vec3d getJ2000EquatorialPos(const StelCore *) const
Get observer-centered equatorial coordinates at equinox J2000.
virtual QString getInfoString(const StelCore *core, const InfoStringGroup &flags) const
Get an HTML string to describe the object.