20 #ifndef _ASTERISM_HPP_ 21 #define _ASTERISM_HPP_ 23 #include "StelObject.hpp" 24 #include "StelUtils.hpp" 25 #include "StelFader.hpp" 27 #include "AsterismMgr.hpp" 46 static const QString ASTERISM_TYPE;
57 virtual QString getInfoString(
const StelCore*,
const InfoStringGroup& flags)
const;
61 virtual QString getType()
const {
return ASTERISM_TYPE;}
62 virtual QString getID()
const {
return abbreviation; }
65 virtual Vec3d getJ2000EquatorialPos(
const StelCore*)
const {
return XYZname;}
67 virtual double getAngularSize(
const StelCore*)
const {Q_ASSERT(0);
return 0;}
76 bool read(
const QString& record,
StarMgr *starMgr);
89 QString getNameI18n()
const {
return nameI18;}
91 QString getEnglishName()
const {
return englishName;}
97 void update(
int deltaTime);
117 bool isAsterism()
const {
return flagAsterism; }
126 QString abbreviation;
133 unsigned int numberOfSegments;
146 static Vec3f lineColor;
147 static Vec3f rayHelperColor;
148 static Vec3f labelColor;
151 #endif // _ASTERISM_HPP_ void setFlagLabels(const bool displayed)
Set whether asterism names will be displayed.
void setFlagLines(const bool displayed)
Set whether asterism lines will be displayed.
Implementation of StelFader which implements a linear transition.
The base abstract class for sky objects used in Stellarium like Stars, Planets, Constellations etc...
A SphericalCap is defined by a direction and an aperture.
Main class for Stellarium core processing.
virtual void update(double deltaTime)
Updates time-varying state for each Constellation.
bool getFlagLines(void) const
Get whether asterism lines are displayed.
Provides functions for performing openGL drawing operations.
Display and manage the asterisms.
The Asterism class models a grouping of stars in a Sky Culture.
Stores the star catalogue data.
bool getFlagRayHelpers(void) const
Get whether ray helpers are displayed.
void setFlagRayHelpers(const bool displayed)
Set whether ray helpers will be displayed.
bool getFlagLabels(void) const
Set whether asterism names are displayed.
Define all SphericalGeometry primitives as well as the SphericalRegionP type.