Stellarium  0.19.3
Public Slots | Signals | Public Member Functions | Properties
GridLinesMgr Class Reference

The GridLinesMgr controls the drawing of the Azimuthal, Equatorial, Ecliptical and Galactic Grids, as well as the great circles: Meridian Line, Ecliptic Lines of J2000.0 and date, Equator Line (of J2000.0 and date), Precession Circles, and a special line marking conjunction or opposition in ecliptical longitude (of date). More...

#include <GridLinesMgr.hpp>

Public Slots

void setFlagGridlines (const bool displayed)
 Setter ("master switch") for displaying any grid/line.
 
bool getFlagGridlines (void) const
 Accessor ("master switch") for displaying any grid/line.
 
void setFlagAllGrids (const bool displayed)
 Setter ("master switch by type") for displaying all grids.
 
void setFlagAllLines (const bool displayed)
 Setter ("master switch by type") for displaying all lines.
 
void setFlagAllPoints (const bool displayed)
 Setter ("master switch by type") for displaying all points.
 
void setFlagAzimuthalGrid (const bool displayed)
 Setter for displaying Azimuthal Grid.
 
bool getFlagAzimuthalGrid (void) const
 Accessor for displaying Azimuthal Grid.
 
Vec3f getColorAzimuthalGrid (void) const
 Get the current color of the Azimuthal Grid.
 
void setColorAzimuthalGrid (const Vec3f &newColor)
 Set the color of the Azimuthal Grid. More...
 
void setFlagEquatorGrid (const bool displayed)
 Setter for displaying Equatorial Grid.
 
bool getFlagEquatorGrid (void) const
 Accessor for displaying Equatorial Grid.
 
Vec3f getColorEquatorGrid (void) const
 Get the current color of the Equatorial Grid.
 
void setColorEquatorGrid (const Vec3f &newColor)
 Set the color of the Equatorial Grid. More...
 
void setFlagEquatorJ2000Grid (const bool displayed)
 Setter for displaying Equatorial J2000 Grid.
 
bool getFlagEquatorJ2000Grid (void) const
 Accessor for displaying Equatorial J2000 Grid.
 
Vec3f getColorEquatorJ2000Grid (void) const
 Get the current color of the Equatorial J2000 Grid.
 
void setColorEquatorJ2000Grid (const Vec3f &newColor)
 Set the color of the Equatorial J2000 Grid. More...
 
void setFlagEclipticJ2000Grid (const bool displayed)
 Setter for displaying Ecliptic Grid of J2000.0.
 
bool getFlagEclipticJ2000Grid (void) const
 Accessor for displaying Ecliptic Grid.
 
Vec3f getColorEclipticJ2000Grid (void) const
 Get the current color of the Ecliptic J2000 Grid.
 
void setColorEclipticJ2000Grid (const Vec3f &newColor)
 Set the color of the Ecliptic J2000 Grid. More...
 
void setFlagEclipticGrid (const bool displayed)
 Setter for displaying Ecliptic Grid of Date.
 
bool getFlagEclipticGrid (void) const
 Accessor for displaying Ecliptic Grid.
 
Vec3f getColorEclipticGrid (void) const
 Get the current color of the Ecliptic of Date Grid.
 
void setColorEclipticGrid (const Vec3f &newColor)
 Set the color of the Ecliptic Grid. More...
 
void setFlagGalacticGrid (const bool displayed)
 Setter for displaying Galactic Grid.
 
bool getFlagGalacticGrid (void) const
 Accessor for displaying Galactic Grid.
 
Vec3f getColorGalacticGrid (void) const
 Get the current color of the Galactic Grid.
 
void setColorGalacticGrid (const Vec3f &newColor)
 Set the color of the Galactic Grid. More...
 
void setFlagSupergalacticGrid (const bool displayed)
 Setter for displaying Supergalactic Grid.
 
bool getFlagSupergalacticGrid (void) const
 Accessor for displaying Supergalactic Grid.
 
Vec3f getColorSupergalacticGrid (void) const
 Get the current color of the Supergalactic Grid.
 
void setColorSupergalacticGrid (const Vec3f &newColor)
 Set the color of the Supergalactic Grid. More...
 
void setFlagEquatorLine (const bool displayed)
 Setter for displaying Equatorial Line.
 
bool getFlagEquatorLine (void) const
 Accessor for displaying Equatorial Line.
 
Vec3f getColorEquatorLine (void) const
 Get the current color of the Equatorial Line.
 
void setColorEquatorLine (const Vec3f &newColor)
 Set the color of the Equator Line. More...
 
void setFlagEquatorJ2000Line (const bool displayed)
 Setter for displaying J2000 Equatorial Line.
 
bool getFlagEquatorJ2000Line (void) const
 Accessor for displaying J2000 Equatorial Line.
 
Vec3f getColorEquatorJ2000Line (void) const
 Get the current color of the J2000 Equatorial Line.
 
void setColorEquatorJ2000Line (const Vec3f &newColor)
 Set the color of the J2000 Equator Line. More...
 
void setFlagEclipticJ2000Line (const bool displayed)
 Setter for displaying Ecliptic of J2000 Line.
 
bool getFlagEclipticJ2000Line (void) const
 Accessor for displaying Ecliptic of J2000 Line.
 
Vec3f getColorEclipticJ2000Line (void) const
 Get the current color of the Ecliptic of J2000 Line.
 
void setColorEclipticJ2000Line (const Vec3f &newColor)
 Set the color of the Ecliptic of J2000 Line. More...
 
void setFlagEclipticLine (const bool displayed)
 Setter for displaying Ecliptic Line.
 
bool getFlagEclipticLine (void) const
 Accessor for displaying Ecliptic Line.
 
Vec3f getColorEclipticLine (void) const
 Get the current color of the Ecliptic Line.
 
void setColorEclipticLine (const Vec3f &newColor)
 Set the color of the Ecliptic Line. More...
 
void setFlagPrecessionCircles (const bool displayed)
 Setter for displaying precession circles.
 
bool getFlagPrecessionCircles (void) const
 Accessor for displaying precession circles.
 
Vec3f getColorPrecessionCircles (void) const
 Get the current color of the precession circles.
 
void setColorPrecessionCircles (const Vec3f &newColor)
 Set the color of the precession circles. More...
 
void setFlagMeridianLine (const bool displayed)
 Setter for displaying Meridian Line.
 
bool getFlagMeridianLine (void) const
 Accessor for displaying Meridian Line.
 
Vec3f getColorMeridianLine (void) const
 Get the current color of the Meridian Line.
 
void setColorMeridianLine (const Vec3f &newColor)
 Set the color of the Meridian Line. More...
 
void setFlagLongitudeLine (const bool displayed)
 Setter for displaying opposition/conjunction longitude line.
 
bool getFlagLongitudeLine (void) const
 Accessor for displaying opposition/conjunction longitude line.
 
Vec3f getColorLongitudeLine (void) const
 Get the current color of the opposition/conjunction longitude line.
 
void setColorLongitudeLine (const Vec3f &newColor)
 Set the color of the opposition/conjunction longitude line. More...
 
void setFlagHorizonLine (const bool displayed)
 Setter for displaying Horizon Line.
 
bool getFlagHorizonLine (void) const
 Accessor for displaying Horizon Line.
 
Vec3f getColorHorizonLine (void) const
 Get the current color of the Horizon Line.
 
void setColorHorizonLine (const Vec3f &newColor)
 Set the color of the Horizon Line. More...
 
void setFlagGalacticEquatorLine (const bool displayed)
 Setter for displaying Galactic Equator Line.
 
bool getFlagGalacticEquatorLine (void) const
 Accessor for displaying Galactic Equator Line.
 
Vec3f getColorGalacticEquatorLine (void) const
 Get the current color of the Galactic Equator Line.
 
void setColorGalacticEquatorLine (const Vec3f &newColor)
 Set the color of the Galactic Equator Line. More...
 
void setFlagSupergalacticEquatorLine (const bool displayed)
 Setter for displaying Supergalactic Equator Line.
 
bool getFlagSupergalacticEquatorLine (void) const
 Accessor for displaying Supergalactic Equator Line.
 
Vec3f getColorSupergalacticEquatorLine (void) const
 Get the current color of the Supergalactic Equator Line.
 
void setColorSupergalacticEquatorLine (const Vec3f &newColor)
 Set the color of the Supergalactic Equator Line. More...
 
void setFlagPrimeVerticalLine (const bool displayed)
 Setter for displaying the Prime Vertical Line.
 
bool getFlagPrimeVerticalLine (void) const
 Accessor for displaying Prime Vertical Line.
 
Vec3f getColorPrimeVerticalLine (void) const
 Get the current color of the Prime Vertical Line.
 
void setColorPrimeVerticalLine (const Vec3f &newColor)
 Set the color of the Prime Vertical Line. More...
 
void setFlagColureLines (const bool displayed)
 Setter for displaying the Colure Lines.
 
bool getFlagColureLines (void) const
 Accessor for displaying the Colure Lines.
 
Vec3f getColorColureLines (void) const
 Get the current color of the Colure Lines.
 
void setColorColureLines (const Vec3f &newColor)
 Set the color of the Colure Lines. More...
 
void setFlagCircumpolarCircles (const bool displayed)
 Setter for displaying circumpolar circles.
 
bool getFlagCircumpolarCircles (void) const
 Accessor for displaying circumpolar circles.
 
Vec3f getColorCircumpolarCircles (void) const
 Get the current color of the circumpolar circles.
 
void setColorCircumpolarCircles (const Vec3f &newColor)
 Set the color of the circumpolar circles. More...
 
void setFlagCelestialJ2000Poles (const bool displayed)
 Setter for displaying celestial poles of J2000.
 
bool getFlagCelestialJ2000Poles (void) const
 Accessor for displaying celestial poles of J2000.
 
Vec3f getColorCelestialJ2000Poles (void) const
 Get the current color of the celestial poles of J2000.
 
void setColorCelestialJ2000Poles (const Vec3f &newColor)
 Set the color of the celestial poles of J2000. More...
 
void setFlagCelestialPoles (const bool displayed)
 Setter for displaying celestial poles.
 
bool getFlagCelestialPoles (void) const
 Accessor for displaying celestial poles.
 
Vec3f getColorCelestialPoles (void) const
 Get the current color of the celestial poles.
 
void setColorCelestialPoles (const Vec3f &newColor)
 Set the color of the celestial poles. More...
 
void setFlagZenithNadir (const bool displayed)
 Setter for displaying zenith and nadir.
 
bool getFlagZenithNadir (void) const
 Accessor for displaying zenith and nadir.
 
Vec3f getColorZenithNadir (void) const
 Get the current color of the zenith and nadir.
 
void setColorZenithNadir (const Vec3f &newColor)
 Set the color of the zenith and nadir. More...
 
void setFlagEclipticJ2000Poles (const bool displayed)
 Setter for displaying ecliptic poles of J2000.
 
bool getFlagEclipticJ2000Poles (void) const
 Accessor for displaying ecliptic poles of J2000.
 
Vec3f getColorEclipticJ2000Poles (void) const
 Get the current color of the ecliptic poles of J2000.
 
void setColorEclipticJ2000Poles (const Vec3f &newColor)
 Set the color of the ecliptic poles of J2000. More...
 
void setFlagEclipticPoles (const bool displayed)
 Setter for displaying ecliptic poles.
 
bool getFlagEclipticPoles (void) const
 Accessor for displaying ecliptic poles.
 
Vec3f getColorEclipticPoles (void) const
 Get the current color of the ecliptic poles.
 
void setColorEclipticPoles (const Vec3f &newColor)
 Set the color of the ecliptic poles. More...
 
void setFlagGalacticPoles (const bool displayed)
 Setter for displaying galactic poles.
 
bool getFlagGalacticPoles (void) const
 Accessor for displaying galactic poles.
 
Vec3f getColorGalacticPoles (void) const
 Get the current color of the galactic poles.
 
void setColorGalacticPoles (const Vec3f &newColor)
 Set the color of the galactic poles. More...
 
void setFlagSupergalacticPoles (const bool displayed)
 Setter for displaying supergalactic poles.
 
bool getFlagSupergalacticPoles (void) const
 Accessor for displaying supergalactic poles.
 
Vec3f getColorSupergalacticPoles (void) const
 Get the current color of the supergalactic poles.
 
void setColorSupergalacticPoles (const Vec3f &newColor)
 Set the color of the supergalactic poles. More...
 
void setFlagEquinoxJ2000Points (const bool displayed)
 Setter for displaying equinox points of J2000.
 
bool getFlagEquinoxJ2000Points (void) const
 Accessor for displaying equinox points of J2000.
 
Vec3f getColorEquinoxJ2000Points (void) const
 Get the current color of the equinox points of J2000.
 
void setColorEquinoxJ2000Points (const Vec3f &newColor)
 Set the color of the equinox points of J2000. More...
 
void setFlagEquinoxPoints (const bool displayed)
 Setter for displaying equinox points.
 
bool getFlagEquinoxPoints (void) const
 Accessor for displaying equinox points.
 
Vec3f getColorEquinoxPoints (void) const
 Get the current color of the equinox points.
 
void setColorEquinoxPoints (const Vec3f &newColor)
 Set the color of the equinox points. More...
 
void setFlagSolsticeJ2000Points (const bool displayed)
 Setter for displaying solstice points of J2000.
 
bool getFlagSolsticeJ2000Points (void) const
 Accessor for displaying solstice points of J2000.
 
Vec3f getColorSolsticeJ2000Points (void) const
 Get the current color of the solstice points of J2000.
 
void setColorSolsticeJ2000Points (const Vec3f &newColor)
 Set the color of the solstice points of J2000. More...
 
void setFlagSolsticePoints (const bool displayed)
 Setter for displaying solstice points.
 
bool getFlagSolsticePoints (void) const
 Accessor for displaying solstice points.
 
Vec3f getColorSolsticePoints (void) const
 Get the current color of the solstice points.
 
void setColorSolsticePoints (const Vec3f &newColor)
 Set the color of the solstice points. More...
 
void setFlagAntisolarPoint (const bool displayed)
 Setter for displaying antisolar point.
 
bool getFlagAntisolarPoint (void) const
 Accessor for displaying antisolar point.
 
Vec3f getColorAntisolarPoint (void) const
 Get the current color of the antisolar point.
 
void setColorAntisolarPoint (const Vec3f &newColor)
 Set the color of the antisolar point. More...
 
void setFlagApexPoints (const bool displayed)
 Setter for displaying the Apex and Antapex points, i.e. where the observer planet is heading to or coming from, respectively.
 
bool getFlagApexPoints (void) const
 Accessor for displaying Apex/Antapex points.
 
Vec3f getColorApexPoints (void) const
 Get the current color of the Apex/Antapex points.
 
void setColorApexPoints (const Vec3f &newColor)
 Set the color of the Apex/Antapex points. More...
 
void setLineThickness (const int thickness)
 Set the thickness of lines. More...
 
int getLineThickness () const
 Get the thickness of lines.
 

Signals

void gridlinesDisplayedChanged (const bool) const
 
void lineThicknessChanged (const int) const
 
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 eclipticGridDisplayedChanged (const bool displayed) const
 
void eclipticGridColorChanged (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 supergalacticGridDisplayedChanged (const bool displayed) const
 
void supergalacticGridColorChanged (const Vec3f &newColor) const
 
void equatorLineDisplayedChanged (const bool displayed) const
 
void equatorLineColorChanged (const Vec3f &newColor) const
 
void equatorJ2000LineDisplayedChanged (const bool displayed) const
 
void equatorJ2000LineColorChanged (const Vec3f &newColor) const
 
void eclipticLineDisplayedChanged (const bool displayed) const
 
void eclipticLineColorChanged (const Vec3f &newColor) const
 
void eclipticJ2000LineDisplayedChanged (const bool displayed) const
 
void eclipticJ2000LineColorChanged (const Vec3f &newColor) const
 
void precessionCirclesDisplayedChanged (const bool displayed) const
 
void precessionCirclesColorChanged (const Vec3f &newColor) const
 
void meridianLineDisplayedChanged (const bool displayed) const
 
void meridianLineColorChanged (const Vec3f &newColor) const
 
void longitudeLineDisplayedChanged (const bool displayed) const
 
void longitudeLineColorChanged (const Vec3f &newColor) const
 
void horizonLineDisplayedChanged (const bool displayed) const
 
void horizonLineColorChanged (const Vec3f &newColor) const
 
void galacticEquatorLineDisplayedChanged (const bool displayed) const
 
void galacticEquatorLineColorChanged (const Vec3f &newColor) const
 
void supergalacticEquatorLineDisplayedChanged (const bool displayed) const
 
void supergalacticEquatorLineColorChanged (const Vec3f &newColor) const
 
void primeVerticalLineDisplayedChanged (const bool displayed) const
 
void primeVerticalLineColorChanged (const Vec3f &newColor) const
 
void colureLinesDisplayedChanged (const bool displayed) const
 
void colureLinesColorChanged (const Vec3f &newColor) const
 
void circumpolarCirclesDisplayedChanged (const bool displayed) const
 
void circumpolarCirclesColorChanged (const Vec3f &newColor) const
 
void celestialJ2000PolesDisplayedChanged (const bool displayed) const
 
void celestialJ2000PolesColorChanged (const Vec3f &newColor) const
 
void celestialPolesDisplayedChanged (const bool displayed) const
 
void celestialPolesColorChanged (const Vec3f &newColor) const
 
void zenithNadirDisplayedChanged (const bool displayed) const
 
void zenithNadirColorChanged (const Vec3f &newColor) const
 
void eclipticJ2000PolesDisplayedChanged (const bool displayed) const
 
void eclipticJ2000PolesColorChanged (const Vec3f &newColor) const
 
void eclipticPolesDisplayedChanged (const bool displayed) const
 
void eclipticPolesColorChanged (const Vec3f &newColor) const
 
void galacticPolesDisplayedChanged (const bool displayed) const
 
void galacticPolesColorChanged (const Vec3f &newColor) const
 
void supergalacticPolesDisplayedChanged (const bool displayed) const
 
void supergalacticPolesColorChanged (const Vec3f &newColor) const
 
void equinoxJ2000PointsDisplayedChanged (const bool displayed) const
 
void equinoxJ2000PointsColorChanged (const Vec3f &newColor) const
 
void equinoxPointsDisplayedChanged (const bool displayed) const
 
void equinoxPointsColorChanged (const Vec3f &newColor) const
 
void solsticeJ2000PointsDisplayedChanged (const bool displayed) const
 
void solsticeJ2000PointsColorChanged (const Vec3f &newColor) const
 
void solsticePointsDisplayedChanged (const bool displayed) const
 
void solsticePointsColorChanged (const Vec3f &newColor) const
 
void antisolarPointDisplayedChanged (const bool displayed) const
 
void antisolarPointColorChanged (const Vec3f &newColor) const
 
void apexPointsDisplayedChanged (const bool displayed) const
 
void apexPointsColorChanged (const Vec3f &newColor) const
 

Public Member Functions

virtual void init ()
 Initialize the GridLinesMgr. More...
 
virtual QString getModuleID () const
 Get the module ID, returns "GridLinesMgr".
 
virtual void draw (StelCore *core)
 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.
 
- 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.
 
virtual QString getAuthorName () const
 Get the name of the module author.
 
virtual QString getAuthorEmail () const
 Get the email adress of the module author.
 
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...
 

Properties

bool gridlinesDisplayed
 
bool azimuthalGridDisplayed
 
Vec3f azimuthalGridColor
 
bool equatorGridDisplayed
 
Vec3f equatorGridColor
 
bool equatorJ2000GridDisplayed
 
Vec3f equatorJ2000GridColor
 
bool eclipticJ2000GridDisplayed
 
Vec3f eclipticJ2000GridColor
 
bool eclipticGridDisplayed
 
Vec3f eclipticGridColor
 
bool galacticGridDisplayed
 
Vec3f galacticGridColor
 
bool supergalacticGridDisplayed
 
Vec3f supergalacticGridColor
 
bool equatorLineDisplayed
 
Vec3f equatorLineColor
 
bool equatorJ2000LineDisplayed
 
Vec3f equatorJ2000LineColor
 
bool eclipticLineDisplayed
 
Vec3f eclipticLineColor
 
bool eclipticJ2000LineDisplayed
 
Vec3f eclipticJ2000LineColor
 
bool precessionCirclesDisplayed
 
Vec3f precessionCirclesColor
 
bool meridianLineDisplayed
 
Vec3f meridianLineColor
 
bool longitudeLineDisplayed
 
Vec3f longitudeLineColor
 
bool horizonLineDisplayed
 
Vec3f horizonLineColor
 
bool galacticEquatorLineDisplayed
 
Vec3f galacticEquatorLineColor
 
bool supergalacticEquatorLineDisplayed
 
Vec3f supergalacticEquatorLineColor
 
bool primeVerticalLineDisplayed
 
Vec3f primeVerticalLineColor
 
bool colureLinesDisplayed
 
Vec3f colureLinesColor
 
bool circumpolarCirclesDisplayed
 
Vec3f circumpolarCirclesColor
 
bool celestialJ2000PolesDisplayed
 
Vec3f celestialJ2000PolesColor
 
bool celestialPolesDisplayed
 
Vec3f celestialPolesColor
 
bool zenithNadirDisplayed
 
Vec3f zenithNadirColor
 
bool eclipticJ2000PolesDisplayed
 
Vec3f eclipticJ2000PolesColor
 
bool eclipticPolesDisplayed
 
Vec3f eclipticPolesColor
 
bool galacticPolesDisplayed
 
Vec3f galacticPolesColor
 
bool supergalacticPolesDisplayed
 
Vec3f supergalacticPolesColor
 
bool equinoxJ2000PointsDisplayed
 
Vec3f equinoxJ2000PointsColor
 
bool equinoxPointsDisplayed
 
Vec3f equinoxPointsColor
 
bool solsticeJ2000PointsDisplayed
 
Vec3f solsticeJ2000PointsColor
 
bool solsticePointsDisplayed
 
Vec3f solsticePointsColor
 
bool antisolarPointDisplayed
 
Vec3f antisolarPointColor
 
bool apexPointsDisplayed
 
Vec3f apexPointsColor
 
int lineThickness
 

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 StelActionaddAction (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 (call to slot) to the StelActionMgr object. More...
 
class StelActionaddAction (const QString &id, const QString &groupId, const QString &text, const char *slot, const QString &shortcut="", const QString &altShortcut="")
 convenience methods to add an action (call to own slot) to the StelActionMgr object. More...
 

Detailed Description

Member Function Documentation

◆ draw()

virtual void GridLinesMgr::draw ( StelCore core)
virtual

Draws the Equatorial Grids, Ecliptical Grids, Azimuthal Grid, Meridian Line, Equator Line, Ecliptic Lines, Precession Circles, Conjunction-Opposition Line, east-west vertical and colures according to the various flags which control their visibility.

Reimplemented from StelModule.

◆ init()

virtual void GridLinesMgr::init ( )
virtual

This process checks the values in the application settings, and according to the settings there sets the visibility of the Equatorial Grids, Ecliptical Grids, Azimuthal Grid, Meridian Line, Equator Line and Ecliptic Lines.

Implements StelModule.

◆ setColorAntisolarPoint

void GridLinesMgr::setColorAntisolarPoint ( const Vec3f newColor)
slot
Parameters
newColorThe color of antisolar point
// example of usage in scripts

◆ setColorApexPoints

void GridLinesMgr::setColorApexPoints ( const Vec3f newColor)
slot
Parameters
newColorThe color of Apex/Antapex points.
// example of usage in scripts

◆ setColorAzimuthalGrid

void GridLinesMgr::setColorAzimuthalGrid ( const Vec3f newColor)
slot
Parameters
newColorThe color of azimuthal grid
// example of usage in scripts

◆ setColorCelestialJ2000Poles

void GridLinesMgr::setColorCelestialJ2000Poles ( const Vec3f newColor)
slot
Parameters
newColorThe color of celestial poles of J2000
// example of usage in scripts

◆ setColorCelestialPoles

void GridLinesMgr::setColorCelestialPoles ( const Vec3f newColor)
slot
Parameters
newColorThe color of celestial poles
// example of usage in scripts

◆ setColorCircumpolarCircles

void GridLinesMgr::setColorCircumpolarCircles ( const Vec3f newColor)
slot
Parameters
newColorThe color of circumpolar circles
// example of usage in scripts

◆ setColorColureLines

void GridLinesMgr::setColorColureLines ( const Vec3f newColor)
slot
Parameters
newColorThe color of the Colure lines
// example of usage in scripts

◆ setColorEclipticGrid

void GridLinesMgr::setColorEclipticGrid ( const Vec3f newColor)
slot
Parameters
newColorThe color of Ecliptic of Date grid
// example of usage in scripts

◆ setColorEclipticJ2000Grid

void GridLinesMgr::setColorEclipticJ2000Grid ( const Vec3f newColor)
slot
Parameters
newColorThe color of ecliptic J2000 grid
// example of usage in scripts

◆ setColorEclipticJ2000Line

void GridLinesMgr::setColorEclipticJ2000Line ( const Vec3f newColor)
slot
Parameters
newColorThe color of ecliptic 2000 line
// example of usage in scripts
GridLinesMgr.setColorEcliptic2000Line(Vec3f(1.0,0.0,0.0));

◆ setColorEclipticJ2000Poles

void GridLinesMgr::setColorEclipticJ2000Poles ( const Vec3f newColor)
slot
Parameters
newColorThe color of ecliptic poles of J2000
// example of usage in scripts

◆ setColorEclipticLine

void GridLinesMgr::setColorEclipticLine ( const Vec3f newColor)
slot
Parameters
newColorThe color of ecliptic line
// example of usage in scripts

◆ setColorEclipticPoles

void GridLinesMgr::setColorEclipticPoles ( const Vec3f newColor)
slot
Parameters
newColorThe color of ecliptic poles
// example of usage in scripts

◆ setColorEquatorGrid

void GridLinesMgr::setColorEquatorGrid ( const Vec3f newColor)
slot
Parameters
newColorThe color of equatorial grid
// example of usage in scripts

◆ setColorEquatorJ2000Grid

void GridLinesMgr::setColorEquatorJ2000Grid ( const Vec3f newColor)
slot
Parameters
newColorThe color of equatorial J2000 grid
// example of usage in scripts

◆ setColorEquatorJ2000Line

void GridLinesMgr::setColorEquatorJ2000Line ( const Vec3f newColor)
slot
Parameters
newColorThe color of J2000 equator line
// example of usage in scripts

◆ setColorEquatorLine

void GridLinesMgr::setColorEquatorLine ( const Vec3f newColor)
slot
Parameters
newColorThe color of equator line
// example of usage in scripts

◆ setColorEquinoxJ2000Points

void GridLinesMgr::setColorEquinoxJ2000Points ( const Vec3f newColor)
slot
Parameters
newColorThe color of equinox points
// example of usage in scripts

◆ setColorEquinoxPoints

void GridLinesMgr::setColorEquinoxPoints ( const Vec3f newColor)
slot
Parameters
newColorThe color of equinox points
// example of usage in scripts

◆ setColorGalacticEquatorLine

void GridLinesMgr::setColorGalacticEquatorLine ( const Vec3f newColor)
slot
Parameters
newColorThe color of galactic equator line
// example of usage in scripts

◆ setColorGalacticGrid

void GridLinesMgr::setColorGalacticGrid ( const Vec3f newColor)
slot
Parameters
newColorThe color of galactic grid
// example of usage in scripts

◆ setColorGalacticPoles

void GridLinesMgr::setColorGalacticPoles ( const Vec3f newColor)
slot
Parameters
newColorThe color of galactic poles
// example of usage in scripts

◆ setColorHorizonLine

void GridLinesMgr::setColorHorizonLine ( const Vec3f newColor)
slot
Parameters
newColorThe color of horizon line
// example of usage in scripts

◆ setColorLongitudeLine

void GridLinesMgr::setColorLongitudeLine ( const Vec3f newColor)
slot
Parameters
newColorThe color of opposition/conjunction longitude line
// example of usage in scripts

◆ setColorMeridianLine

void GridLinesMgr::setColorMeridianLine ( const Vec3f newColor)
slot
Parameters
newColorThe color of meridian line
// example of usage in scripts

◆ setColorPrecessionCircles

void GridLinesMgr::setColorPrecessionCircles ( const Vec3f newColor)
slot
Parameters
newColorThe color of precession circles
// example of usage in scripts

◆ setColorPrimeVerticalLine

void GridLinesMgr::setColorPrimeVerticalLine ( const Vec3f newColor)
slot
Parameters
newColorThe color of the Prime Vertical line
// example of usage in scripts

◆ setColorSolsticeJ2000Points

void GridLinesMgr::setColorSolsticeJ2000Points ( const Vec3f newColor)
slot
Parameters
newColorThe color of solstice points
// example of usage in scripts

◆ setColorSolsticePoints

void GridLinesMgr::setColorSolsticePoints ( const Vec3f newColor)
slot
Parameters
newColorThe color of solstice points
// example of usage in scripts

◆ setColorSupergalacticEquatorLine

void GridLinesMgr::setColorSupergalacticEquatorLine ( const Vec3f newColor)
slot
Parameters
newColorThe color of supergalactic equator line
// example of usage in scripts

◆ setColorSupergalacticGrid

void GridLinesMgr::setColorSupergalacticGrid ( const Vec3f newColor)
slot
Parameters
newColorThe color of supergalactic grid
// example of usage in scripts

◆ setColorSupergalacticPoles

void GridLinesMgr::setColorSupergalacticPoles ( const Vec3f newColor)
slot
Parameters
newColorThe color of supergalactic poles
// example of usage in scripts

◆ setColorZenithNadir

void GridLinesMgr::setColorZenithNadir ( const Vec3f newColor)
slot
Parameters
newColorThe color of zenith and nadir
// example of usage in scripts

◆ setLineThickness

void GridLinesMgr::setLineThickness ( const int  thickness)
slot
Parameters
thicknessof line in pixels

◆ update()

virtual void GridLinesMgr::update ( double  deltaTime)
virtual

Used to control fading when turning on and off the grid lines and great circles.

Implements StelModule.