Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure

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>

Inherits StelModule.

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)

Public Member Functions

virtual void init ()
virtual QString getModuleID () const
virtual void draw (StelCore *core)
virtual void update (double deltaTime)
virtual void setStelStyle (const StelStyle &style)
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::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 QString GridLinesMgr::getModuleID (  )  const [inline, virtual]

Get the module ID, returns, "gridlines".

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::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.

virtual void GridLinesMgr::setStelStyle ( const StelStyle style  )  [virtual]

Sets the colors of the grids and great circles.

Sets the colors of the Equatorial Grid, Azimuthal Grid, Meridian Line, Equator Line and Ecliptic Line.

Reimplemented from StelModule.

virtual double GridLinesMgr::getCallOrder ( StelModuleActionName  actionName  )  const [virtual]

Used to determine the order in which the various modules are drawn.

Reimplemented from StelModule.

void GridLinesMgr::setFlagAzimuthalGrid ( bool  b  )  [slot]

Set flag for displaying Azimuthal Grid.

bool GridLinesMgr::getFlagAzimuthalGrid ( void   )  const [slot]

Get flag for displaying Azimuthal Grid.

Vec3f GridLinesMgr::getColorAzimuthalGrid ( void   )  const [slot]

Get the current color of the Azimuthal Grid.

void GridLinesMgr::setColorAzimuthalGrid ( const Vec3f v  )  [slot]

Set the color of the Azimuthal Grid.

void GridLinesMgr::setFlagEquatorGrid ( bool  b  )  [slot]

Set flag for displaying Equatorial Grid.

bool GridLinesMgr::getFlagEquatorGrid ( void   )  const [slot]

Get flag for displaying Equatorial Grid.

Vec3f GridLinesMgr::getColorEquatorGrid ( void   )  const [slot]

Get the current color of the Equatorial Grid.

void GridLinesMgr::setColorEquatorGrid ( const Vec3f v  )  [slot]

Set the color of the Equatorial Grid.

void GridLinesMgr::setFlagEquatorJ2000Grid ( bool  b  )  [slot]

Set flag for displaying Equatorial Grid.

bool GridLinesMgr::getFlagEquatorJ2000Grid ( void   )  const [slot]

Get flag for displaying Equatorial Grid.

Vec3f GridLinesMgr::getColorEquatorJ2000Grid ( void   )  const [slot]

Get the current color of the Equatorial J2000 Grid.

void GridLinesMgr::setColorEquatorJ2000Grid ( const Vec3f v  )  [slot]

Set the color of the Equatorial J2000 Grid.

void GridLinesMgr::setFlagGalacticGrid ( bool  b  )  [slot]

Set flag for displaying Galactic Grid.

bool GridLinesMgr::getFlagGalacticGrid ( void   )  const [slot]

Get flag for displaying Galactic Grid.

Vec3f GridLinesMgr::getColorGalacticGrid ( void   )  const [slot]

Get the current color of the Galactic Grid.

void GridLinesMgr::setColorGalacticGrid ( const Vec3f v  )  [slot]

Set the color of the Galactic Grid.

void GridLinesMgr::setFlagEquatorLine ( bool  b  )  [slot]

Set flag for displaying Equatorial Line.

bool GridLinesMgr::getFlagEquatorLine ( void   )  const [slot]

Get flag for displaying Equatorial Line.

Vec3f GridLinesMgr::getColorEquatorLine ( void   )  const [slot]

Get the current color of the Equatorial Line.

void GridLinesMgr::setColorEquatorLine ( const Vec3f v  )  [slot]

Set the color of the Meridian Line.

void GridLinesMgr::setFlagEclipticLine ( bool  b  )  [slot]

Set flag for displaying Ecliptic Line.

bool GridLinesMgr::getFlagEclipticLine ( void   )  const [slot]

Get flag for displaying Ecliptic Line.

Vec3f GridLinesMgr::getColorEclipticLine ( void   )  const [slot]

Get the current color of the Ecliptic Line.

void GridLinesMgr::setColorEclipticLine ( const Vec3f v  )  [slot]

Set the color of the Meridian Line.

void GridLinesMgr::setFlagMeridianLine ( bool  b  )  [slot]

Set flag for displaying Meridian Line.

bool GridLinesMgr::getFlagMeridianLine ( void   )  const [slot]

Get flag for displaying Meridian Line.

Vec3f GridLinesMgr::getColorMeridianLine ( void   )  const [slot]

Get the current color of the Meridian Line.

void GridLinesMgr::setColorMeridianLine ( const Vec3f v  )  [slot]

Set the color of the Meridian Line.


Generated on Mon Mar 22 09:55:38 2010 for Stellarium by  doxygen 1.5.5