Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://astro.uni-altai.ru/~aw/stellarium/api/classNebulaMgr.html
Дата изменения: Unknown Дата индексирования: Fri Feb 28 07:21:43 2014 Кодировка: Поисковые слова: moon |
Stellarium 0.12.3
|
Manage a collection of nebulae. More...
#include <NebulaMgr.hpp>
Public Slots | |
void | setCirclesColor (const Vec3f &c) |
Set the color used to draw the nebula symbols (circles, boxes. etc). More... | |
const Vec3f & | getCirclesColor (void) const |
Get current value of the nebula circle 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 | 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 | 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, class StelRenderer *renderer) |
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) 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) 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 QString | getName () const |
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... | |
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 45 of file NebulaMgr.hpp.
|
virtual |
Draws all nebula objects.
Reimplemented from StelModule.
|
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.
|
inlineslot |
Get flag for displaying Nebulae Hints.
Definition at line 125 of file NebulaMgr.hpp.
|
inlineslot |
Get value of flag used to turn on and off Nebula rendering.
Definition at line 130 of file NebulaMgr.hpp.
|
inlineslot |
Get the amount of nebulae labels.
The real amount is also proportional with FOV.
Definition at line 151 of file NebulaMgr.hpp.
|
inlineslot |
Get the amount of nebulae labels.
The real amount is also proportional with FOV.
Definition at line 143 of file NebulaMgr.hpp.
|
slot |
Get current value of the nebula label color.
|
virtual |
Initialize the NebulaMgr object.
Implements StelModule.
|
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 |
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 |
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 Nebulae Hints circle scale.
|
slot |
Set the color used to draw the nebula symbols (circles, boxes. etc).
|
inlineslot |
Set flag for displaying Nebulae Hints.
Definition at line 123 of file NebulaMgr.hpp.
|
inlineslot |
Set flag used to turn on and off Nebula rendering.
Definition at line 128 of file NebulaMgr.hpp.
|
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 148 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 120 of file NebulaMgr.hpp.
|
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 140 of file NebulaMgr.hpp.
|
slot |
Set the color used to draw nebula labels.
|
inlinevirtual |
Update state which is time dependent.
Implements StelModule.
Definition at line 68 of file NebulaMgr.hpp.