Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://astro.uni-altai.ru/~aw/stellarium/api/classGridLinesMgr.html
Дата изменения: Unknown Дата индексирования: Fri Feb 28 07:27:35 2014 Кодировка: Поисковые слова: millennium |
Stellarium 0.12.3
|
The GridLinesMgr controls the drawing of the Azimuthal and Equatorial Grids, as well as the great circles: Meridian Line, Ecliptic Line and Equator Line. More...
#include <GridLinesMgr.hpp>
Public Slots | |
void | setFlagAzimuthalGrid (const bool displayed) |
Setter for displaying Azimuthal Grid. More... | |
bool | getFlagAzimuthalGrid (void) const |
Accessor for displaying Azimuthal Grid. More... | |
Vec3f | getColorAzimuthalGrid (void) const |
Get the current color of the Azimuthal Grid. More... | |
void | setColorAzimuthalGrid (const Vec3f &newColor) |
Set the color of the Azimuthal Grid. More... | |
void | setFlagEquatorGrid (const bool displayed) |
Setter for displaying Equatorial Grid. More... | |
bool | getFlagEquatorGrid (void) const |
Accessor for displaying Equatorial Grid. More... | |
Vec3f | getColorEquatorGrid (void) const |
Get the current color of the Equatorial Grid. More... | |
void | setColorEquatorGrid (const Vec3f &newColor) |
Set the color of the Equatorial Grid. More... | |
void | setFlagEquatorJ2000Grid (const bool displayed) |
Setter for displaying Equatorial Grid. More... | |
bool | getFlagEquatorJ2000Grid (void) const |
Accessor for displaying Equatorial Grid. More... | |
Vec3f | getColorEquatorJ2000Grid (void) const |
Get the current color of the Equatorial J2000 Grid. More... | |
void | setColorEquatorJ2000Grid (const Vec3f &newColor) |
Set the color of the Equatorial J2000 Grid. More... | |
void | setFlagEclipticJ2000Grid (const bool displayed) |
Setter for displaying Ecliptic Grid. More... | |
bool | getFlagEclipticJ2000Grid (void) const |
Accessor for displaying Ecliptic Grid. More... | |
Vec3f | getColorEclipticJ2000Grid (void) const |
Get the current color of the Ecliptic J2000 Grid. More... | |
void | setColorEclipticJ2000Grid (const Vec3f &newColor) |
Set the color of the Ecliptic J2000 Grid. More... | |
void | setFlagGalacticGrid (const bool displayed) |
Setter for displaying Galactic Grid. More... | |
bool | getFlagGalacticGrid (void) const |
Accessor for displaying Galactic Grid. More... | |
Vec3f | getColorGalacticGrid (void) const |
Get the current color of the Galactic Grid. More... | |
void | setColorGalacticGrid (const Vec3f &newColor) |
Set the color of the Galactic Grid. More... | |
void | setFlagEquatorLine (const bool displayed) |
Setter for displaying Equatorial Line. More... | |
bool | getFlagEquatorLine (void) const |
Accessor for displaying Equatorial Line. More... | |
Vec3f | getColorEquatorLine (void) const |
Get the current color of the Equatorial Line. More... | |
void | setColorEquatorLine (const Vec3f &newColor) |
Set the color of the Meridian Line. More... | |
void | setFlagEclipticLine (const bool displayed) |
Setter for displaying Ecliptic Line. More... | |
bool | getFlagEclipticLine (void) const |
Accessor for displaying Ecliptic Line. More... | |
Vec3f | getColorEclipticLine (void) const |
Get the current color of the Ecliptic Line. More... | |
void | setColorEclipticLine (const Vec3f &newColor) |
Set the color of the Meridian Line. More... | |
void | setFlagMeridianLine (const bool displayed) |
Setter for displaying Meridian Line. More... | |
bool | getFlagMeridianLine (void) const |
Accessor for displaying Meridian Line. More... | |
Vec3f | getColorMeridianLine (void) const |
Get the current color of the Meridian Line. More... | |
void | setColorMeridianLine (const Vec3f &newColor) |
Set the color of the Meridian Line. More... | |
void | setFlagHorizonLine (const bool displayed) |
Setter for displaying Horizon Line. More... | |
bool | getFlagHorizonLine (void) const |
Accessor for displaying Horizon Line. More... | |
Vec3f | getColorHorizonLine (void) const |
Get the current color of the Horizon Line. More... | |
void | setColorHorizonLine (const Vec3f &newColor) |
Set the color of the Horizon Line. More... | |
void | setFlagGalacticPlaneLine (const bool displayed) |
Setter for displaying GalacticPlane Line. More... | |
bool | getFlagGalacticPlaneLine (void) const |
Accessor for displaying GalacticPlane Line. More... | |
Vec3f | getColorGalacticPlaneLine (void) const |
Get the current color of the GalacticPlane Line. More... | |
void | setColorGalacticPlaneLine (const Vec3f &newColor) |
Set the color of the GalacticPlane Line. More... | |
Signals | |
void | azimuthalGridDisplayedChanged (const bool) const |
void | azimuthalGridColorChanged (const Vec3f &newColor) const |
void | equatorGridDisplayedChanged (const bool displayed) const |
void | equatorGridColorChanged (const Vec3f &newColor) const |
void | equatorJ2000GridDisplayedChanged (const bool displayed) const |
void | equatorJ2000GridColorChanged (const Vec3f &newColor) const |
void | eclipticJ2000GridDisplayedChanged (const bool displayed) const |
void | eclipticJ2000GridColorChanged (const Vec3f &newColor) const |
void | galacticGridDisplayedChanged (const bool displayed) const |
void | galacticGridColorChanged (const Vec3f &newColor) const |
void | equatorLineDisplayedChanged (const bool displayed) const |
void | equatorLineColorChanged (const Vec3f &newColor) const |
void | eclipticLineDisplayedChanged (const bool displayed) const |
void | eclipticLineColorChanged (const Vec3f &newColor) const |
void | meridianLineDisplayedChanged (const bool displayed) const |
void | meridianLineColorChanged (const Vec3f &newColor) const |
void | horizonLineDisplayedChanged (const bool displayed) const |
void | horizonLineColorChanged (const Vec3f &newColor) const |
void | galacticPlaneLineDisplayedChanged (const bool displayed) const |
void | galacticPlaneLineColorChanged (const Vec3f &newColor) const |
Public Member Functions | |
virtual void | init () |
Initialize the GridLinesMgr. More... | |
virtual QString | getModuleID () const |
Get the module ID, returns, "gridlines". More... | |
virtual void | draw (StelCore *core, class StelRenderer *renderer) |
Draw the grids and great circle lines. More... | |
virtual void | update (double deltaTime) |
Update time-dependent features. More... | |
virtual double | getCallOrder (StelModuleActionName actionName) const |
Used to determine the order in which the various modules are drawn. More... | |
Public Member Functions inherited from StelModule | |
virtual void | deinit () |
Called before the module will be deleted, and before the renderer is destroyed. More... | |
virtual bool | drawPartial (StelCore *core, class StelRenderer *renderer) |
Iterate through the drawing sequence. 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 | configureGui (bool show=true) |
Detect or show the configuration GUI elements for the module. More... | |
Properties | |
bool | azimuthalGridDisplayed |
Vec3f | azimuthalGridColor |
bool | equatorGridDisplayed |
Vec3f | equatorGridColor |
bool | equatorJ2000GridDisplayed |
bool | eclipticJ2000GridDisplayed |
Vec3f | equatorJ2000GridColor |
bool | galacticGridDisplayed |
Vec3f | galacticGridColor |
bool | equatorLineDisplayed |
Vec3f | equatorLineColor |
bool | eclipticLineDisplayed |
Vec3f | eclipticLineColor |
bool | meridianLineDisplayed |
Vec3f | meridianLineColor |
bool | horizonLineDisplayed |
Vec3f | horizonLineColor |
bool | galacticPlaneLineDisplayed |
Vec3f | galacticPlaneLineColor |
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... | |
The GridLinesMgr controls the drawing of the Azimuthal and Equatorial Grids, as well as the great circles: Meridian Line, Ecliptic Line and Equator Line.
Definition at line 32 of file GridLinesMgr.hpp.
|
virtual |
Draw the grids and great circle lines.
Draws the Equatorial Grid, Azimuthal Grid, Meridian Line, Equator Line and Ecliptic Line according to the various flags which control their visibility.
Reimplemented from StelModule.
|
virtual |
Used to determine the order in which the various modules are drawn.
Reimplemented from StelModule.
|
slot |
Get the current color of the Azimuthal Grid.
|
slot |
Get the current color of the Ecliptic J2000 Grid.
|
slot |
Get the current color of the Ecliptic Line.
|
slot |
Get the current color of the Equatorial Grid.
|
slot |
Get the current color of the Equatorial J2000 Grid.
|
slot |
Get the current color of the Equatorial Line.
|
slot |
Get the current color of the Galactic Grid.
|
slot |
Get the current color of the GalacticPlane Line.
|
slot |
Get the current color of the Horizon Line.
|
slot |
Get the current color of the Meridian Line.
|
slot |
Accessor for displaying Azimuthal Grid.
|
slot |
Accessor for displaying Ecliptic Grid.
|
slot |
Accessor for displaying Ecliptic Line.
|
slot |
Accessor for displaying Equatorial Grid.
|
slot |
Accessor for displaying Equatorial Grid.
|
slot |
Accessor for displaying Equatorial Line.
|
slot |
Accessor for displaying Galactic Grid.
|
slot |
Accessor for displaying GalacticPlane Line.
|
slot |
Accessor for displaying Horizon Line.
|
slot |
Accessor for displaying Meridian Line.
|
inlinevirtual |
Get the module ID, returns, "gridlines".
Definition at line 125 of file GridLinesMgr.hpp.
|
virtual |
Initialize the GridLinesMgr.
This process checks the values in the application settings, and according to the settings there sets the visibility of the Equatorial Grid, Azimuthal Grid, Meridian Line, Equator Line and Ecliptic Line.
Implements StelModule.
|
slot |
Set the color of the Azimuthal Grid.
|
slot |
Set the color of the Ecliptic J2000 Grid.
|
slot |
Set the color of the Meridian Line.
|
slot |
Set the color of the Equatorial Grid.
|
slot |
Set the color of the Equatorial J2000 Grid.
|
slot |
Set the color of the Meridian Line.
|
slot |
Set the color of the Galactic Grid.
|
slot |
Set the color of the GalacticPlane Line.
|
slot |
Set the color of the Horizon Line.
|
slot |
Set the color of the Meridian Line.
|
slot |
Setter for displaying Azimuthal Grid.
|
slot |
Setter for displaying Ecliptic Grid.
|
slot |
Setter for displaying Ecliptic Line.
|
slot |
Setter for displaying Equatorial Grid.
|
slot |
Setter for displaying Equatorial Grid.
|
slot |
Setter for displaying Equatorial Line.
|
slot |
Setter for displaying Galactic Grid.
|
slot |
Setter for displaying GalacticPlane Line.
|
slot |
Setter for displaying Horizon Line.
|
slot |
Setter for displaying Meridian Line.
|
virtual |
Update time-dependent features.
Used to control fading when turning on and off the grid lines and great circles.
Implements StelModule.