Stellarium 0.11.0
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure
Public Slots | Public Member Functions

GridLinesMgr Class Reference

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>

List of all members.

Public Slots

void setFlagAzimuthalGrid (bool b)
bool getFlagAzimuthalGrid (void) const
Vec3f getColorAzimuthalGrid (void) const
void setColorAzimuthalGrid (const Vec3f &v)
void setFlagEquatorGrid (bool b)
bool getFlagEquatorGrid (void) const
Vec3f getColorEquatorGrid (void) const
void setColorEquatorGrid (const Vec3f &v)
void setFlagEquatorJ2000Grid (bool b)
bool getFlagEquatorJ2000Grid (void) const
Vec3f getColorEquatorJ2000Grid (void) const
void setColorEquatorJ2000Grid (const Vec3f &v)
void setFlagGalacticGrid (bool b)
bool getFlagGalacticGrid (void) const
Vec3f getColorGalacticGrid (void) const
void setColorGalacticGrid (const Vec3f &v)
void setFlagEquatorLine (bool b)
bool getFlagEquatorLine (void) const
Vec3f getColorEquatorLine (void) const
void setColorEquatorLine (const Vec3f &v)
void setFlagEclipticLine (bool b)
bool getFlagEclipticLine (void) const
Vec3f getColorEclipticLine (void) const
void setColorEclipticLine (const Vec3f &v)
void setFlagMeridianLine (bool b)
bool getFlagMeridianLine (void) const
Vec3f getColorMeridianLine (void) const
void setColorMeridianLine (const Vec3f &v)
void setFlagHorizonLine (bool b)
bool getFlagHorizonLine (void) const
Vec3f getColorHorizonLine (void) const
void setColorHorizonLine (const Vec3f &v)

Public Member Functions

virtual void init ()
virtual QString getModuleID () const
virtual void draw (StelCore *core)
virtual void update (double deltaTime)
virtual double getCallOrder (StelModuleActionName actionName) const

Detailed Description

The GridLinesMgr controls the drawing of the Azimuthal and Equatorial Grids, as well as the great circles: Meridian Line, Ecliptic Line and Equator Line.


Member Function Documentation

virtual void GridLinesMgr::draw ( StelCore core) [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 void GridLinesMgr::init ( ) [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.

virtual void GridLinesMgr::update ( double  deltaTime) [virtual]

Update time-dependent features.

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

Implements StelModule.