![]() |
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure |
#include <GridLinesMgr.hpp>
Inherits 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 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] |
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.