20 #define _QUASAR_HPP_ 1 24 #include <QStringList> 29 #include "StelObject.hpp" 31 #include "StelFader.hpp" 45 static const QString QUASAR_TYPE;
48 Quasar(
const QVariantMap& map);
59 QVariantMap
getMap(
void)
const;
66 virtual QString
getID(
void)
const 99 void update(
double deltaTime);
108 static bool distributionMode;
109 static Vec3f markerColor;
114 unsigned char BvToColorIndex(
float b_v);
128 #endif // _QUASAR_HPP_ 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.
virtual void draw(StelCore *core)
Execute all the drawing functions for this module.
Implementation of StelFader which implements a linear transition.
The base abstract class for sky objects used in Stellarium like Stars, Planets, Constellations etc...
Define the StelTextureSP type.
virtual double getAngularSize(const StelCore *core) const
Return the angular radius of a circle containing the object as seen from the observer with the circle...
virtual Vec3d getJ2000EquatorialPos(const StelCore *) const
Get observer-centered equatorial coordinates at equinox J2000.
Main class for Stellarium core processing.
virtual QString getEnglishName(void) const
Return object's name in english.
virtual QVariantMap getInfoMap(const StelCore *core) const
Return a map like StelObject::getInfoMap(), but with a few extra tags also available in getMap()...
A Quasar object represents one Quasar on the sky.
virtual QString getInfoString(const StelCore *core, const InfoStringGroup &flags) const
Get an HTML string to describe the object.
Provides functions for performing openGL drawing operations.
Main class of the Quasars plugin.
virtual void update(double)
Update the module with respect to the time.
QVariantMap getMap(void) const
Get a QVariantMap which describes the Quasar.
virtual QString getType(void) const
Return object's type. It should be the name of the class.
virtual float getVMagnitude(const StelCore *core) const
Return object's apparent V magnitude as seen from observer, without including extinction.
QSharedPointer< StelTexture > StelTextureSP
Use shared pointer to simplify memory managment.
virtual QString getID(void) const
Returns a unique identifier for this object.
Quasar(const QVariantMap &map)
virtual Vec3f getInfoColor(void) const
Get a color used to display info about the object.
virtual QString getNameI18n(void) const
Return translated object's name.