25 #include "StelObject.hpp"
73 typedef QFlags<CatalogGroupFlags> CatalogGroup;
99 virtual QString
getType()
const {
return "Nebula";}
111 void setLabelColor(
const Vec3f& v) {labelColor = v;}
112 void setCircleColor(
const Vec3f& v) {circleColor = v;}
122 float getSurfaceBrightness(
const StelCore* core)
const;
123 float getSurfaceBrightnessWithExtinction(
const StelCore* core)
const;
129 void setProperName(QString name) { englishName = name; }
132 friend struct DrawNebulaFuncObject;
172 void readDSO(QDataStream& in);
174 void drawLabel(
StelPainter& sPainter,
float maxMagLabel);
175 void drawHints(
StelPainter& sPainter,
float maxMagHints);
177 bool objectInDisplayedType()
const;
181 QString getMorphologicalTypeDescription()
const;
206 int orientationAngle;
227 static float hintsBrightness;
229 static Vec3f labelColor;
230 static Vec3f circleColor;
231 static Vec3f galaxyColor;
232 static Vec3f radioGalaxyColor;
233 static Vec3f activeGalaxyColor;
234 static Vec3f interactingGalaxyColor;
235 static Vec3f quasarColor;
236 static Vec3f nebulaColor;
237 static Vec3f planetaryNebulaColor;
238 static Vec3f reflectionNebulaColor;
239 static Vec3f bipolarNebulaColor;
240 static Vec3f emissionNebulaColor;
241 static Vec3f darkNebulaColor;
242 static Vec3f hydrogenRegionColor;
243 static Vec3f supernovaRemnantColor;
244 static Vec3f interstellarMatterColor;
245 static Vec3f clusterWithNebulosityColor;
246 static Vec3f clusterColor;
247 static Vec3f openClusterColor;
248 static Vec3f globularClusterColor;
249 static Vec3f stellarAssociationColor;
250 static Vec3f starCloudColor;
251 static Vec3f emissionObjectColor;
252 static Vec3f blLacObjectColor;
253 static Vec3f blazarColor;
254 static Vec3f molecularCloudColor;
255 static Vec3f youngStellarObjectColor;
256 static Vec3f possibleQuasarColor;
257 static Vec3f possiblePlanetaryNebulaColor;
258 static Vec3f protoplanetaryNebulaColor;
259 static Vec3f starColor;
261 static float circleScale;
262 static bool drawHintProportional;
263 static bool surfaceBrightnessUsage;
265 static bool flagUsageTypeFilter;
266 static CatalogGroup catalogFilters;
267 static TypeGroup typeFilters;
270 Q_DECLARE_OPERATORS_FOR_FLAGS(Nebula::CatalogGroup)
271 Q_DECLARE_OPERATORS_FOR_FLAGS(
Nebula::TypeGroup)
273 #endif // _NEBULA_HPP_
HYPERLEDA. I. Catalog of galaxies (PGC)
A catalogue of Hα-emission regions in the southern Milky Way (RCW)
virtual float getVMagnitude(const StelCore *core) const
Return object's apparent V magnitude as seen from observer, without including extinction.
Sharpless Catalogue (Sh 2)
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.
Class used to translate strings to any language.
virtual QString getType() const
Return object's type. It should be the name of the class.
The Uppsala General Catalogue of Galaxies.
virtual SphericalRegionP getRegion() const
Default implementation of the getRegion method.
Cederblad Catalog of bright diffuse Galactic nebulae (Ced)
New General Catalogue (NGC)
Different Active Galaxies.
The base abstract class for sky objects used in Stellarium like Stars, Planets, Constellations etc...
Van den Bergh Catalogue of reflection nebulae (VdB)
A shared pointer on a SphericalRegion.
virtual double getCloseViewFov(const StelCore *core=NULL) const
Return the best FOV in degree to use for a close view of the object.
Define the StelTextureSP type.
float getSurfaceArea(void) const
Get the surface area.
QString getMorphologicalTypeString() const
Get the printable morphological nebula Type.
Main class for Stellarium core processing.
virtual QString getNameI18n() const
Return translated object's name.
virtual Vec3d getJ2000EquatorialPos(const StelCore *) const
Get observer-centered equatorial coordinates at equinox J2000.
Define some translation macros.
virtual QString getEnglishName() const
Return object's name in english.
virtual QString getInfoString(const StelCore *core, const InfoStringGroup &flags) const
Nebula support the following InfoStringGroup flags:
Provides functions for performing openGL drawing operations.
virtual double getAngularSize(const StelCore *) const
Return the angular radius of a circle containing the object as seen from the observer with the circle...
Collinder Catalogue (Cr or Col)
Different Active Galaxies.
Lynds' Catalogue of Bright Nebulae (LBN)
QString qtranslate(const QString &s, const QString &c=QString()) const
Translate input message and return it as a QString.
QString getTypeString() const
Get the printable nebula Type.
Lynds' Catalogue of Dark Nebulae (LDN)
QSharedPointer< StelTexture > StelTextureSP
Use shared pointer to simplify memory managment.
Melotte Catalogue of Deep Sky Objects (Mel)
virtual Vec3f getInfoColor() const
Get a color used to display info about the object.
Manage a collection of nebulae.