Stellarium 0.14.3
|
Manage a collection of nebulae. More...
#include <NebulaMgr.hpp>
Public Slots | |
void | setCirclesColor (const Vec3f &c) |
Set the default color used to draw the nebula symbols (default circles, etc). More... | |
const Vec3f & | getCirclesColor (void) const |
Get current value of the nebula circle color. More... | |
void | setGalaxyColor (const Vec3f &c) |
Set the color used to draw the galaxy symbols (ellipses). More... | |
const Vec3f & | getGalaxyColor (void) const |
Get current value of the galaxy symbol color. More... | |
void | setActiveGalaxyColor (const Vec3f &c) |
Set the color used to draw the active galaxy symbols (ellipses). More... | |
const Vec3f & | getActiveGalaxyColor (void) const |
Get current value of the active galaxy symbol color. More... | |
void | setInteractingGalaxyColor (const Vec3f &c) |
Set the color used to draw the interacting galaxy symbols (ellipses). More... | |
const Vec3f & | getInteractingGalaxyColor (void) const |
Get current value of the interacting galaxy symbol color. More... | |
void | setRadioGalaxyColor (const Vec3f &c) |
Set the color used to draw the radio galaxy symbols (ellipses). More... | |
const Vec3f & | getRadioGalaxyColor (void) const |
Get current value of the radio galaxy symbol color. More... | |
void | setQuasarColor (const Vec3f &c) |
Set the color used to draw the quasars symbols (ellipses). More... | |
const Vec3f & | getQuasarColor (void) const |
Get current value of the quasar symbol color. More... | |
void | setBrightNebulaColor (const Vec3f &c) |
Set the color used to draw the bright nebula symbols (emission nebula boxes, planetary nebulae circles). More... | |
const Vec3f & | getBrightNebulaColor (void) const |
Get current value of the nebula circle color. More... | |
void | setNebulaColor (const Vec3f &c) |
Set the color used to draw the bright nebula symbols (emission nebula boxes, planetary nebulae circles). More... | |
const Vec3f & | getNebulaColor (void) const |
Get current value of the nebula circle color. More... | |
void | setPlanetaryNebulaColor (const Vec3f &c) |
Set the color used to draw the planetary nebulae symbols. More... | |
const Vec3f & | getPlanetaryNebulaColor (void) const |
Get current value of the planetary nebula circle color. More... | |
void | setReflectionNebulaColor (const Vec3f &c) |
Set the color used to draw the reflection nebulae symbols. More... | |
const Vec3f & | getReflectionNebulaColor (void) const |
Get current value of the reflection nebula circle color. More... | |
void | setBipolarNebulaColor (const Vec3f &c) |
Set the color used to draw the bipolar nebulae symbols. More... | |
const Vec3f & | getBipolarNebulaColor (void) const |
Get current value of the bipolar nebula circle color. More... | |
void | setEmissionNebulaColor (const Vec3f &c) |
Set the color used to draw the emission nebulae symbols. More... | |
const Vec3f & | getEmissionNebulaColor (void) const |
Get current value of the emission nebula circle color. More... | |
void | setHydrogenRegionColor (const Vec3f &c) |
Set the color used to draw the ionized hydrogen region symbols. More... | |
const Vec3f & | getHydrogenRegionColor (void) const |
Get current value of the hydrogen region symbol color. More... | |
void | setSupernovaRemnantColor (const Vec3f &c) |
Set the color used to draw the supernova remnant symbols. More... | |
const Vec3f & | getSupernovaRemnantColor (void) const |
Get current value of the supernova remnant symbol color. More... | |
void | setInterstellarMatterColor (const Vec3f &c) |
Set the color used to draw the interstellar matter symbols. More... | |
const Vec3f & | getInterstellarMatterColor (void) const |
Get current value of the interstellar matter symbol color. More... | |
void | setDarkNebulaColor (const Vec3f &c) |
Set the color used to draw the dark nebula symbols (gray boxes). More... | |
const Vec3f & | getDarkNebulaColor (void) const |
Get current value of the dark nebula color. More... | |
void | setClusterWithNebulosityColor (const Vec3f &c) |
Set the color used to draw the cluster associated with nebulosity symbols. More... | |
const Vec3f & | getClusterWithNebulosityColor (void) const |
Get current value of the cluster associated with nebulosity color. More... | |
void | setClusterColor (const Vec3f &c) |
Set the color used to draw the star cluster symbols (Open/Globular). More... | |
const Vec3f & | getClusterColor (void) const |
Get current value of the star cluster symbol color. More... | |
void | setOpenClusterColor (const Vec3f &c) |
Set the color used to draw the open star cluster symbols. More... | |
const Vec3f & | getOpenClusterColor (void) const |
Get current value of the open star cluster symbol color. More... | |
void | setGlobularClusterColor (const Vec3f &c) |
Set the color used to draw the globular star cluster symbols. More... | |
const Vec3f & | getGlobularClusterColor (void) const |
Get current value of the globular star cluster symbol color. More... | |
void | setStellarAssociationColor (const Vec3f &c) |
Set the color used to draw the stellar associations symbols. More... | |
const Vec3f & | getStellarAssociationColor (void) const |
Get current value of the stellar association symbol color. More... | |
void | setStarCloudColor (const Vec3f &c) |
Set the color used to draw the star clouds symbols. More... | |
const Vec3f & | getStarCloudColor (void) const |
Get current value of the star cloud symbol color. More... | |
void | setEmissionObjectColor (const Vec3f &c) |
Set the color used to draw the emission objects symbols. More... | |
const Vec3f & | getEmissionObjectColor (void) const |
Get current value of the emission object symbol color. More... | |
void | setBlLacObjectColor (const Vec3f &c) |
Set the color used to draw the BL Lac objects symbols. More... | |
const Vec3f & | getBlLacObjectColor (void) const |
Get current value of the BL Lac object symbol color. More... | |
void | setBlazarColor (const Vec3f &c) |
Set the color used to draw the blazars symbols. More... | |
const Vec3f & | getBlazarColor (void) const |
Get current value of the blazar symbol color. More... | |
void | setMolecularCloudColor (const Vec3f &c) |
Set the color used to draw the molecular clouds symbols. More... | |
const Vec3f & | getMolecularCloudColor (void) const |
Get current value of the molecular cloud symbol color. More... | |
void | setYoungStellarObjectColor (const Vec3f &c) |
Set the color used to draw the young stellar objects symbols. More... | |
const Vec3f & | getYoungStellarObjectColor (void) const |
Get current value of the young stellar object symbol color. More... | |
void | setPossibleQuasarColor (const Vec3f &c) |
Set the color used to draw the possible quasars symbols. More... | |
const Vec3f & | getPossibleQuasarColor (void) const |
Get current value of the possible quasar symbol color. More... | |
void | setPossiblePlanetaryNebulaColor (const Vec3f &c) |
Set the color used to draw the possible planetary nebulae symbols. More... | |
const Vec3f & | getPossiblePlanetaryNebulaColor (void) const |
Get current value of the possible planetary nebula symbol color. More... | |
void | setProtoplanetaryNebulaColor (const Vec3f &c) |
Set the color used to draw the protoplanetary nebulae symbols. More... | |
const Vec3f & | getProtoplanetaryNebulaColor (void) const |
Get current value of the protoplanetary nebula symbol color. More... | |
void | setStarColor (const Vec3f &c) |
Set the color used to draw the stars symbols. More... | |
const Vec3f & | getStarColor (void) const |
Get current value of the star symbol color. More... | |
void | setCircleScale (float scale) |
Set Nebulae Hints circle scale. More... | |
float | getCircleScale (void) const |
Get Nebulae Hints circle scale. More... | |
void | setHintsFadeDuration (float duration) |
Set how long it takes for nebula hints to fade in and out when turned on and off. More... | |
void | setFlagHints (bool b) |
Set flag for displaying Nebulae Hints. More... | |
bool | getFlagHints (void) const |
Get flag for displaying Nebulae Hints. More... | |
void | setHintsProportional (const bool proportional) |
Set whether hints (symbols) should be scaled according to nebula size. More... | |
bool | getHintsProportional (void) const |
Get whether hints (symbols) are scaled according to nebula size. More... | |
void | setFlagSurfaceBrightnessUsage (const bool usage) |
Set whether hints (symbols) should be visible according to surface brightness value. More... | |
bool | getFlagSurfaceBrightnessUsage (void) const |
Get whether hints (symbols) are visible according to surface brightness value. More... | |
void | setFlagShow (bool b) |
Set flag used to turn on and off Nebula rendering. More... | |
bool | getFlagShow (void) const |
Get value of flag used to turn on and off Nebula rendering. More... | |
void | setFlagTypeFiltersUsage (bool b) |
Set flag used to turn on and off DSO type filtering. More... | |
bool | getFlagTypeFiltersUsage (void) const |
Get value of flag used to turn on and off DSO type filtering. More... | |
void | setLabelsColor (const Vec3f &c) |
Set the color used to draw nebula labels. More... | |
const Vec3f & | getLabelsColor (void) const |
Get current value of the nebula label color. More... | |
void | setLabelsAmount (float a) |
Set the amount of nebulae labels. More... | |
float | getLabelsAmount (void) const |
Get the amount of nebulae labels. More... | |
void | setHintsAmount (float f) |
Set the amount of nebulae hints. More... | |
float | getHintsAmount (void) const |
Get the amount of nebulae labels. More... | |
Public Member Functions | |
virtual void | init () |
Initialize the NebulaMgr object. More... | |
virtual void | draw (StelCore *core) |
Draws all nebula objects. More... | |
virtual void | update (double deltaTime) |
Update state which is time dependent. More... | |
virtual double | getCallOrder (StelModuleActionName actionName) const |
Determines the order in which the various modules are drawn. More... | |
virtual QList< StelObjectP > | searchAround (const Vec3d &v, double limitFov, const StelCore *core) const |
Used to get a vector of objects which are near to some position. More... | |
virtual StelObjectP | searchByNameI18n (const QString &nameI18n) const |
Return the matching nebula object's pointer if exists or NULL. More... | |
virtual StelObjectP | searchByName (const QString &name) const |
Return the matching nebula if exists or NULL. More... | |
virtual QStringList | listMatchingObjectsI18n (const QString &objPrefix, int maxNbItem=5, bool useStartOfWords=false) const |
Find and return the list of at most maxNbItem objects auto-completing the passed object I18n name. More... | |
virtual QStringList | listMatchingObjects (const QString &objPrefix, int maxNbItem=5, bool useStartOfWords=false) const |
Find and return the list of at most maxNbItem objects auto-completing the passed object English name. More... | |
virtual QStringList | listAllObjects (bool inEnglish) const |
virtual QStringList | listAllObjectsByType (const QString &objType, bool inEnglish) const |
virtual QString | getName () const |
float | computeMaxMagHint (const class StelSkyDrawer *skyDrawer) const |
Compute the maximum magntiude for which hints will be displayed. More... | |
void | setCatalogFilters (const Nebula::CatalogGroup &cflags) |
const Nebula::CatalogGroup & | getCatalogFilters () const |
void | setTypeFilters (const Nebula::TypeGroup &tflags) |
const Nebula::TypeGroup & | getTypeFilters () const |
bool | objectInDisplayedCatalog (NebulaP n) |
Public Member Functions inherited from StelModule | |
virtual void | deinit () |
Called before the module will be delete, and before the openGL context is suppressed. More... | |
virtual QString | getModuleVersion () const |
Get the version of the module, default is stellarium main version. More... | |
virtual QString | getAuthorName () const |
Get the name of the module author. More... | |
virtual QString | getAuthorEmail () const |
Get the email adress of the module author. More... | |
virtual void | handleMouseClicks (class QMouseEvent *) |
Handle mouse clicks. More... | |
virtual void | handleMouseWheel (class QWheelEvent *) |
Handle mouse wheel. More... | |
virtual bool | handleMouseMoves (int x, int y, Qt::MouseButtons b) |
Handle mouse moves. More... | |
virtual void | handleKeys (class QKeyEvent *e) |
Handle key events. More... | |
virtual bool | handlePinch (qreal scale, bool started) |
Handle pinch gesture events. More... | |
virtual bool | configureGui (bool show=true) |
Detect or show the configuration GUI elements for the module. More... | |
Additional Inherited Members | |
Public Types inherited from StelModule | |
enum | StelModuleSelectAction { AddToSelection, ReplaceSelection, RemoveFromSelection } |
Enum used when selecting objects to define whether to add to, replace, or remove from the existing selection list. More... | |
enum | StelModuleActionName { ActionDraw, ActionUpdate, ActionHandleMouseClicks, ActionHandleMouseMoves, ActionHandleKeys } |
Define the possible action for which an order is defined. More... | |
Protected Member Functions inherited from StelModule | |
class StelAction * | addAction (const QString &id, const QString &groupId, const QString &text, QObject *target, const char *slot, const QString &shortcut="", const QString &altShortcut="") |
convenience methods to add an action to the StelActionMgr object. More... | |
class StelAction * | addAction (const QString &id, const QString &groupId, const QString &text, const char *slot, const QString &shortcut="", const QString &altShortcut="") |
convenience methods to add an action to the StelActionMgr object. More... | |
Manage a collection of nebulae.
This class is used to display the NGC catalog with information, and textures for some of them.
Definition at line 48 of file NebulaMgr.hpp.
float NebulaMgr::computeMaxMagHint | ( | const class StelSkyDrawer * | skyDrawer | ) | const |
Compute the maximum magntiude for which hints will be displayed.
|
virtual |
Draws all nebula objects.
Reimplemented from StelModule.
|
slot |
Get current value of the active galaxy symbol color.
|
slot |
Get current value of the bipolar nebula circle color.
|
slot |
Get current value of the blazar symbol color.
|
slot |
Get current value of the BL Lac object symbol color.
|
slot |
Get current value of the nebula circle color.
|
virtual |
Determines the order in which the various modules are drawn.
Reimplemented from StelModule.
|
slot |
Get Nebulae Hints circle scale.
|
slot |
Get current value of the nebula circle color.
|
slot |
Get current value of the star cluster symbol color.
|
slot |
Get current value of the cluster associated with nebulosity color.
|
slot |
Get current value of the dark nebula color.
|
slot |
Get current value of the emission nebula circle color.
|
slot |
Get current value of the emission object symbol color.
|
inlineslot |
Get flag for displaying Nebulae Hints.
Definition at line 452 of file NebulaMgr.hpp.
|
inlineslot |
Get value of flag used to turn on and off Nebula rendering.
Definition at line 467 of file NebulaMgr.hpp.
|
inlineslot |
Get whether hints (symbols) are visible according to surface brightness value.
Definition at line 462 of file NebulaMgr.hpp.
|
inlineslot |
Get value of flag used to turn on and off DSO type filtering.
Definition at line 472 of file NebulaMgr.hpp.
|
slot |
Get current value of the galaxy symbol color.
|
slot |
Get current value of the globular star cluster symbol color.
|
inlineslot |
Get the amount of nebulae labels.
The real amount is also proportional with FOV.
Definition at line 498 of file NebulaMgr.hpp.
|
slot |
Get whether hints (symbols) are scaled according to nebula size.
|
slot |
Get current value of the hydrogen region symbol color.
|
slot |
Get current value of the interacting galaxy symbol color.
|
slot |
Get current value of the interstellar matter symbol color.
|
inlineslot |
Get the amount of nebulae labels.
The real amount is also proportional with FOV.
Definition at line 490 of file NebulaMgr.hpp.
|
slot |
Get current value of the nebula label color.
|
slot |
Get current value of the molecular cloud symbol color.
|
slot |
Get current value of the nebula circle color.
|
slot |
Get current value of the open star cluster symbol color.
|
slot |
Get current value of the planetary nebula circle color.
|
slot |
Get current value of the possible planetary nebula symbol color.
|
slot |
Get current value of the possible quasar symbol color.
|
slot |
Get current value of the protoplanetary nebula symbol color.
|
slot |
Get current value of the quasar symbol color.
|
slot |
Get current value of the radio galaxy symbol color.
|
slot |
Get current value of the reflection nebula circle color.
|
slot |
Get current value of the star cloud symbol color.
|
slot |
Get current value of the star symbol color.
|
slot |
Get current value of the stellar association symbol color.
|
slot |
Get current value of the supernova remnant symbol color.
|
slot |
Get current value of the young stellar object symbol color.
|
virtual |
Initialize the NebulaMgr object.
Implements StelModule.
|
virtual |
Implements StelObjectModule.
|
virtual |
Find and return the list of at most maxNbItem objects auto-completing the passed object English name.
objPrefix | the case insensitive first letters of the searched object |
maxNbItem | the maximum number of returned object names |
useStartOfWords | the autofill mode for returned objects names |
Implements StelObjectModule.
|
virtual |
Find and return the list of at most maxNbItem objects auto-completing the passed object I18n name.
objPrefix | the case insensitive first letters of the searched object |
maxNbItem | the maximum number of returned object names |
useStartOfWords | the autofill mode for returned objects names |
Implements StelObjectModule.
|
virtual |
Used to get a vector of objects which are near to some position.
v | a vector representing the position in th sky around which to search for nebulae. |
limitFov | the field of view around the position v in which to search for nebulae. |
core | the StelCore to use for computations. |
Implements StelObjectModule.
|
virtual |
Return the matching nebula if exists or NULL.
name | The case in-sensistive standard program name |
Implements StelObjectModule.
|
virtual |
Return the matching nebula object's pointer if exists or NULL.
nameI18n | The case in-sensistive nebula name or NGC M catalog name : format can be M31, M 31, NGC31, NGC 31 |
Implements StelObjectModule.
|
slot |
Set the color used to draw the active galaxy symbols (ellipses).
c | The color of the active galaxy symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the bipolar nebulae symbols.
c | The color of the bipolar nebulae symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the blazars symbols.
c | The color of the blazars symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the BL Lac objects symbols.
c | The color of the BL Lac objects symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the bright nebula symbols (emission nebula boxes, planetary nebulae circles).
c | The color of the nebula symbols // example of usage in scripts
|
|
slot |
Set Nebulae Hints circle scale.
|
slot |
Set the default color used to draw the nebula symbols (default circles, etc).
c | The color of the nebula symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the star cluster symbols (Open/Globular).
c | The color of the cluster symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the cluster associated with nebulosity symbols.
c | The color of the cluster associated with nebulosity symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the dark nebula symbols (gray boxes).
c | The color of the dark nebula symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the emission nebulae symbols.
c | The color of the emission nebulae symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the emission objects symbols.
c | The color of the emission objects symbols // example of usage in scripts
|
|
inlineslot |
Set flag for displaying Nebulae Hints.
Definition at line 450 of file NebulaMgr.hpp.
|
inlineslot |
Set flag used to turn on and off Nebula rendering.
Definition at line 465 of file NebulaMgr.hpp.
|
inlineslot |
Set whether hints (symbols) should be visible according to surface brightness value.
Definition at line 460 of file NebulaMgr.hpp.
|
inlineslot |
Set flag used to turn on and off DSO type filtering.
Definition at line 470 of file NebulaMgr.hpp.
|
slot |
Set the color used to draw the galaxy symbols (ellipses).
c | The color of the galaxy symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the globular star cluster symbols.
c | The color of the globular star cluster symbols // example of usage in scripts
|
|
inlineslot |
Set the amount of nebulae hints.
The real amount is also proportional with FOV. The limit is set in function of the nebulae magnitude
f | the amount between 0 and 10. 0 is no hints, 10 is maximum of hints |
Definition at line 495 of file NebulaMgr.hpp.
|
inlineslot |
Set how long it takes for nebula hints to fade in and out when turned on and off.
duration | given in seconds |
Definition at line 447 of file NebulaMgr.hpp.
|
slot |
Set whether hints (symbols) should be scaled according to nebula size.
|
slot |
Set the color used to draw the ionized hydrogen region symbols.
c | The color of the ionized hydrogen region symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the interacting galaxy symbols (ellipses).
c | The color of the interacting galaxy symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the interstellar matter symbols.
c | The color of the interstellar matter symbols // example of usage in scripts
|
|
inlineslot |
Set the amount of nebulae labels.
The real amount is also proportional with FOV. The limit is set in function of the nebulae magnitude
a | the amount between 0 and 10. 0 is no labels, 10 is maximum of labels |
Definition at line 487 of file NebulaMgr.hpp.
|
slot |
Set the color used to draw nebula labels.
c | The color of the nebula labels // example of usage in scripts
|
|
slot |
Set the color used to draw the molecular clouds symbols.
c | The color of the molecular clouds symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the bright nebula symbols (emission nebula boxes, planetary nebulae circles).
c | The color of the nebula symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the open star cluster symbols.
c | The color of the open star cluster symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the planetary nebulae symbols.
c | The color of the planetary nebulae symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the possible planetary nebulae symbols.
c | The color of the possible planetary nebulae symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the possible quasars symbols.
c | The color of the possible quasars symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the protoplanetary nebulae symbols.
c | The color of the protoplanetary nebulae symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the quasars symbols (ellipses).
c | The color of the quasars symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the radio galaxy symbols (ellipses).
c | The color of the radio galaxy symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the reflection nebulae symbols.
c | The color of the reflection nebulae symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the star clouds symbols.
c | The color of the star clouds symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the stars symbols.
c | The color of the stars symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the stellar associations symbols.
c | The color of the stellar associations symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the supernova remnant symbols.
c | The color of the supernova remnant symbols // example of usage in scripts
|
|
slot |
Set the color used to draw the young stellar objects symbols.
c | The color of the young stellar objects symbols // example of usage in scripts
|
|
inlinevirtual |
Update state which is time dependent.
Implements StelModule.
Definition at line 74 of file NebulaMgr.hpp.