![]() |
Stellarium 0.11.1 | ||
| Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure |
#include <NebulaMgr.hpp>
Public Slots | |
| void | setCirclesColor (const Vec3f &c) |
| const Vec3f & | getCirclesColor (void) const |
| void | setCircleScale (float scale) |
| float | getCircleScale (void) const |
| void | setHintsFadeDuration (float duration) |
| void | setFlagHints (bool b) |
| bool | getFlagHints (void) const |
| void | setFlagShow (bool b) |
| bool | getFlagShow (void) const |
| void | setLabelsColor (const Vec3f &c) |
| const Vec3f & | getLabelsColor (void) const |
| void | setFlagDisplayNoTexture (bool b) |
| bool | getFlagDisplayNoTexture (void) const |
| void | setLabelsAmount (float a) |
| float | getLabelsAmount (void) const |
| void | setHintsAmount (float f) |
| float | getHintsAmount (void) const |
Public Member Functions | |
| virtual void | init () |
| virtual void | draw (StelCore *core) |
| virtual void | update (double deltaTime) |
| virtual double | getCallOrder (StelModuleActionName actionName) const |
| virtual QList< StelObjectP > | searchAround (const Vec3d &v, double limitFov, const StelCore *core) const |
| virtual StelObjectP | searchByNameI18n (const QString &nameI18n) const |
| virtual StelObjectP | searchByName (const QString &name) const |
| virtual QStringList | listMatchingObjectsI18n (const QString &objPrefix, int maxNbItem=5) const |
Manage a collection of nebulae.
This class is used to display the NGC catalog with information, and textures for some of them.
| float NebulaMgr::getHintsAmount | ( | void | ) | const [inline, slot] |
Get the amount of nebulae labels.
The real amount is also proportional with FOV.
| float NebulaMgr::getLabelsAmount | ( | void | ) | const [inline, slot] |
Get the amount of nebulae labels.
The real amount is also proportional with FOV.
| virtual void NebulaMgr::init | ( | ) | [virtual] |
Initialize the NebulaMgr object.
Implements StelModule.
| virtual QStringList NebulaMgr::listMatchingObjectsI18n | ( | const QString & | objPrefix, |
| int | maxNbItem = 5 |
||
| ) | const [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 |
Implements StelObjectModule.
| virtual QList<StelObjectP> NebulaMgr::searchAround | ( | const Vec3d & | v, |
| double | limitFov, | ||
| const StelCore * | core | ||
| ) | const [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 StelObjectP NebulaMgr::searchByName | ( | const QString & | name | ) | const [virtual] |
Return the matching nebula if exists or NULL.
| name | The case in-sensistive standard program name |
Implements StelObjectModule.
| virtual StelObjectP NebulaMgr::searchByNameI18n | ( | const QString & | nameI18n | ) | const [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.
| void NebulaMgr::setHintsAmount | ( | float | f | ) | [inline, slot] |
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 |
| void NebulaMgr::setLabelsAmount | ( | float | a | ) | [inline, slot] |
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 |
1.7.6.1