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

#include <GridLinesMgr.hpp>

Public Slots

void setFlagGridlines (const bool displayed)
 Setter ("master switch") for displaying any grid/line.
 
bool getFlagGridlines () 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 () const
 Accessor for displaying Azimuthal Grid.
 
Vec3f getColorAzimuthalGrid () 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 () const
 Accessor for displaying Equatorial Grid.
 
Vec3f getColorEquatorGrid () 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 () const
 Accessor for displaying Equatorial J2000 Grid.
 
Vec3f getColorEquatorJ2000Grid () 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 () const
 Accessor for displaying Ecliptic Grid.
 
Vec3f getColorEclipticJ2000Grid () 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 () const
 Accessor for displaying Ecliptic Grid.
 
Vec3f getColorEclipticGrid () 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 () const
 Accessor for displaying Galactic Grid.
 
Vec3f getColorGalacticGrid () 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 () const
 Accessor for displaying Supergalactic Grid.
 
Vec3f getColorSupergalacticGrid () 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 () const
 Accessor for displaying Equatorial Line.
 
void setFlagEquatorParts (const bool displayed)
 Setter for displaying Equatorial line partitions.
 
bool getFlagEquatorParts () const
 Accessor for displaying Equatorial line partitions.
 
void setFlagEquatorLabeled (const bool displayed)
 Setter for displaying Equatorial line partition labels.
 
bool getFlagEquatorLabeled () const
 Accessor for displaying Equatorial line partition labels.
 
Vec3f getColorEquatorLine () 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 () const
 Accessor for displaying J2000 Equatorial Line.
 
void setFlagEquatorJ2000Parts (const bool displayed)
 Setter for displaying J2000 Equatorial line partitions.
 
bool getFlagEquatorJ2000Parts () const
 Accessor for displaying J2000 Equatorial line partitions.
 
void setFlagEquatorJ2000Labeled (const bool displayed)
 Setter for displaying J2000 Equatorial line partition labels.
 
bool getFlagEquatorJ2000Labeled () const
 Accessor for displaying J2000 Equatorial line partition labels.
 
Vec3f getColorEquatorJ2000Line () 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 () const
 Accessor for displaying Ecliptic of J2000 Line.
 
void setFlagEclipticJ2000Parts (const bool displayed)
 Setter for displaying Ecliptic of J2000 line partitions.
 
bool getFlagEclipticJ2000Parts () const
 Accessor for displaying Ecliptic of J2000 line partitions.
 
void setFlagEclipticJ2000Labeled (const bool displayed)
 Setter for displaying Ecliptic of J2000 line partition labels.
 
bool getFlagEclipticJ2000Labeled () const
 Accessor for displaying Ecliptic of J2000 line partition labels.
 
Vec3f getColorEclipticJ2000Line () 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 () const
 Accessor for displaying Ecliptic Line.
 
void setFlagEclipticParts (const bool displayed)
 Setter for displaying Ecliptic line partitions.
 
bool getFlagEclipticParts () const
 Accessor for displaying Ecliptic line partitions.
 
void setFlagEclipticLabeled (const bool displayed)
 Setter for displaying Ecliptic line partition labels.
 
bool getFlagEclipticLabeled () const
 Accessor for displaying Ecliptic line partition labels.
 
Vec3f getColorEclipticLine () const
 Get the current color of the Ecliptic Line.
 
void setColorEclipticLine (const Vec3f &newColor)
 Set the color of the Ecliptic Line. More...
 
void setFlagInvariablePlaneLine (const bool displayed)
 Setter for displaying a line for the Invariable Plane of the Solar System.
 
bool getFlagInvariablePlaneLine () const
 Accessor for displaying Invariable Plane Line.
 
Vec3f getColorInvariablePlaneLine () const
 Get the current color of the Line for the Invariable Plane.
 
void setColorInvariablePlaneLine (const Vec3f &newColor)
 Set the color of the Line for the Invariable Plane. More...
 
void setFlagSolarEquatorLine (const bool displayed)
 Setter for displaying Solar Equator Line.
 
bool getFlagSolarEquatorLine () const
 Accessor for displaying Solar Equator Line.
 
void setFlagSolarEquatorParts (const bool displayed)
 Setter for displaying Solar Equator line partitions.
 
bool getFlagSolarEquatorParts () const
 Accessor for displaying Solar Equator line partitions.
 
void setFlagSolarEquatorLabeled (const bool displayed)
 Setter for displaying Solar Equator line partition labels.
 
bool getFlagSolarEquatorLabeled () const
 Accessor for displaying Solar Equator line partition labels.
 
Vec3f getColorSolarEquatorLine () const
 Get the current color of the Solar Equator Line.
 
void setColorSolarEquatorLine (const Vec3f &newColor)
 Set the color of the Solar Equator Line. More...
 
void setFlagPrecessionCircles (const bool displayed)
 Setter for displaying precession circles.
 
bool getFlagPrecessionCircles () const
 Accessor for displaying precession circles.
 
void setFlagPrecessionParts (const bool displayed)
 Setter for displaying precession circle partitions.
 
bool getFlagPrecessionParts () const
 Accessor for displaying precession circle partitions.
 
void setFlagPrecessionLabeled (const bool displayed)
 Setter for displaying precession circle partition labels.
 
bool getFlagPrecessionLabeled () const
 Accessor for displaying precession circle partition labels.
 
Vec3f getColorPrecessionCircles () 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 () const
 Accessor for displaying Meridian Line.
 
void setFlagMeridianParts (const bool displayed)
 Setter for displaying Meridian line partitions.
 
bool getFlagMeridianParts () const
 Accessor for displaying Meridian line partitions.
 
void setFlagMeridianLabeled (const bool displayed)
 Setter for displaying Meridian line partition labels.
 
bool getFlagMeridianLabeled () const
 Accessor for displaying Meridian line partition labels.
 
Vec3f getColorMeridianLine () 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 () const
 Accessor for displaying opposition/conjunction longitude line.
 
void setFlagLongitudeParts (const bool displayed)
 Setter for displaying opposition/conjunction longitude line partitions.
 
bool getFlagLongitudeParts () const
 Accessor for displaying opposition/conjunction longitude line partitions.
 
void setFlagLongitudeLabeled (const bool displayed)
 Setter for displaying opposition/conjunction longitude line partition labels.
 
bool getFlagLongitudeLabeled () const
 Accessor for displaying opposition/conjunction longitude line partition labels.
 
Vec3f getColorLongitudeLine () 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 () const
 Accessor for displaying Horizon Line.
 
void setFlagHorizonParts (const bool displayed)
 Setter for displaying Horizon Line partitions.
 
bool getFlagHorizonParts () const
 Accessor for displaying Horizon Line partitions.
 
void setFlagHorizonLabeled (const bool displayed)
 Setter for displaying Horizon Line partition labels.
 
bool getFlagHorizonLabeled () const
 Accessor for displaying Horizon Line partition labels.
 
Vec3f getColorHorizonLine () 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 () const
 Accessor for displaying Galactic Equator Line.
 
void setFlagGalacticEquatorParts (const bool displayed)
 Setter for displaying Galactic Equator Line partitions.
 
bool getFlagGalacticEquatorParts () const
 Accessor for displaying Galactic Equator Line partitions.
 
void setFlagGalacticEquatorLabeled (const bool displayed)
 Setter for displaying Galactic Equator Line partition labels.
 
bool getFlagGalacticEquatorLabeled () const
 Accessor for displaying Galactic Equator Line partition labels.
 
Vec3f getColorGalacticEquatorLine () 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 () const
 Accessor for displaying Supergalactic Equator Line.
 
void setFlagSupergalacticEquatorParts (const bool displayed)
 Setter for displaying Supergalactic Equator Line partitions.
 
bool getFlagSupergalacticEquatorParts () const
 Accessor for displaying Supergalactic Equator Line partitions.
 
void setFlagSupergalacticEquatorLabeled (const bool displayed)
 Setter for displaying Supergalactic Equator Line partition labels.
 
bool getFlagSupergalacticEquatorLabeled () const
 Accessor for displaying Supergalactic Equator Line partition labels.
 
Vec3f getColorSupergalacticEquatorLine () 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 () const
 Accessor for displaying Prime Vertical Line.
 
void setFlagPrimeVerticalParts (const bool displayed)
 Setter for displaying the Prime Vertical Line partitions.
 
bool getFlagPrimeVerticalParts () const
 Accessor for displaying Prime Vertical Line partitions.
 
void setFlagPrimeVerticalLabeled (const bool displayed)
 Setter for displaying the Prime Vertical Line partition labels.
 
bool getFlagPrimeVerticalLabeled () const
 Accessor for displaying Prime Vertical Line partition labels.
 
Vec3f getColorPrimeVerticalLine () 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 setFlagCurrentVerticalLine (const bool displayed)
 Setter for displaying the Current Vertical Line.
 
bool getFlagCurrentVerticalLine () const
 Accessor for displaying Current Vertical Line.
 
void setFlagCurrentVerticalParts (const bool displayed)
 Setter for displaying the Current Vertical Line partitions.
 
bool getFlagCurrentVerticalParts () const
 Accessor for displaying Current Vertical Line partitions.
 
void setFlagCurrentVerticalLabeled (const bool displayed)
 Setter for displaying the Current Vertical Line partition labels.
 
bool getFlagCurrentVerticalLabeled () const
 Accessor for displaying Current Vertical Line partition labels.
 
Vec3f getColorCurrentVerticalLine () const
 Get the current color of the Current Vertical Line.
 
void setColorCurrentVerticalLine (const Vec3f &newColor)
 Set the color of the Current Vertical Line. More...
 
void setFlagColureLines (const bool displayed)
 Setter for displaying the Colure Lines.
 
bool getFlagColureLines () const
 Accessor for displaying the Colure Lines.
 
void setFlagColureParts (const bool displayed)
 Setter for displaying the Colure Line partitions.
 
bool getFlagColureParts () const
 Accessor for displaying the Colure Line partitions.
 
void setFlagColureLabeled (const bool displayed)
 Setter for displaying the Colure Line partition labels.
 
bool getFlagColureLabeled () const
 Accessor for displaying the Colure Line partitions.
 
Vec3f getColorColureLines () 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 () const
 Accessor for displaying circumpolar circles.
 
Vec3f getColorCircumpolarCircles () const
 Get the current color of the circumpolar circles.
 
void setColorCircumpolarCircles (const Vec3f &newColor)
 Set the color of the circumpolar circles. More...
 
void setFlagUmbraCircle (const bool displayed)
 Setter for displaying umbra circle.
 
bool getFlagUmbraCircle () const
 Accessor for displaying umbra circle.
 
Vec3f getColorUmbraCircle () const
 Get the current color of the umbra circle.
 
void setColorUmbraCircle (const Vec3f &newColor)
 Set the color of the umbra circle. More...
 
void setFlagPenumbraCircle (const bool displayed)
 Setter for displaying penumbra circle.
 
bool getFlagPenumbraCircle () const
 Accessor for displaying penumbra circle.
 
Vec3f getColorPenumbraCircle () const
 Get the current color of the penumbra circle.
 
void setColorPenumbraCircle (const Vec3f &newColor)
 Set the color of the penumbra circle. More...
 
void setFlagCelestialJ2000Poles (const bool displayed)
 Setter for displaying celestial poles of J2000.
 
bool getFlagCelestialJ2000Poles () const
 Accessor for displaying celestial poles of J2000.
 
Vec3f getColorCelestialJ2000Poles () 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 () const
 Accessor for displaying celestial poles.
 
Vec3f getColorCelestialPoles () 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 () const
 Accessor for displaying zenith and nadir.
 
Vec3f getColorZenithNadir () 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 () const
 Accessor for displaying ecliptic poles of J2000.
 
Vec3f getColorEclipticJ2000Poles () 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 () const
 Accessor for displaying ecliptic poles.
 
Vec3f getColorEclipticPoles () 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 () const
 Accessor for displaying galactic poles.
 
Vec3f getColorGalacticPoles () const
 Get the current color of the galactic poles.
 
void setColorGalacticPoles (const Vec3f &newColor)
 Set the color of the galactic poles. More...
 
void setFlagGalacticCenter (const bool displayed)
 Setter for displaying galactic center and anticenter markers.
 
bool getFlagGalacticCenter () const
 Accessor for displaying galactic center and anticenter markers.
 
Vec3f getColorGalacticCenter () const
 Get the current color of the galactic center and anticenter markers.
 
void setColorGalacticCenter (const Vec3f &newColor)
 Set the color of the galactic center and anticenter markers. More...
 
void setFlagSupergalacticPoles (const bool displayed)
 Setter for displaying supergalactic poles.
 
bool getFlagSupergalacticPoles () const
 Accessor for displaying supergalactic poles.
 
Vec3f getColorSupergalacticPoles () 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 () const
 Accessor for displaying equinox points of J2000.
 
Vec3f getColorEquinoxJ2000Points () 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 () const
 Accessor for displaying equinox points.
 
Vec3f getColorEquinoxPoints () 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 () const
 Accessor for displaying solstice points of J2000.
 
Vec3f getColorSolsticeJ2000Points () 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 () const
 Accessor for displaying solstice points.
 
Vec3f getColorSolsticePoints () 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 () const
 Accessor for displaying antisolar point.
 
Vec3f getColorAntisolarPoint () const
 Get the current color of the antisolar point.
 
void setColorAntisolarPoint (const Vec3f &newColor)
 Set the color of the antisolar point. More...
 
void setFlagUmbraCenterPoint (const bool displayed)
 Setter for displaying the point of the center of umbra.
 
bool getFlagUmbraCenterPoint () const
 Accessor for displaying the point of the center of umbra.
 
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 () const
 Accessor for displaying Apex/Antapex points.
 
Vec3f getColorApexPoints () 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.
 
void setPartThickness (const int thickness)
 Set the thickness of partition lines. More...
 
int getPartThickness () const
 Get the thickness of lines.
 

Signals

void gridlinesDisplayedChanged (const bool) const
 
void lineThicknessChanged (const int) const
 
void partThicknessChanged (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 equatorPartsDisplayedChanged (const bool displayed) const
 
void equatorPartsLabeledChanged (const bool displayed) const
 
void equatorLineColorChanged (const Vec3f &newColor) const
 
void equatorJ2000LineDisplayedChanged (const bool displayed) const
 
void equatorJ2000PartsDisplayedChanged (const bool displayed) const
 
void equatorJ2000PartsLabeledChanged (const bool displayed) const
 
void equatorJ2000LineColorChanged (const Vec3f &newColor) const
 
void eclipticLineDisplayedChanged (const bool displayed) const
 
void eclipticPartsDisplayedChanged (const bool displayed) const
 
void eclipticPartsLabeledChanged (const bool displayed) const
 
void eclipticLineColorChanged (const Vec3f &newColor) const
 
void invariablePlaneLineDisplayedChanged (const bool displayed) const
 
void invariablePlaneLineColorChanged (const Vec3f &newColor) const
 
void solarEquatorLineDisplayedChanged (const bool displayed) const
 
void solarEquatorPartsDisplayedChanged (const bool displayed) const
 
void solarEquatorPartsLabeledChanged (const bool displayed) const
 
void solarEquatorLineColorChanged (const Vec3f &newColor) const
 
void eclipticJ2000LineDisplayedChanged (const bool displayed) const
 
void eclipticJ2000PartsDisplayedChanged (const bool displayed) const
 
void eclipticJ2000PartsLabeledChanged (const bool displayed) const
 
void eclipticJ2000LineColorChanged (const Vec3f &newColor) const
 
void precessionCirclesDisplayedChanged (const bool displayed) const
 
void precessionPartsDisplayedChanged (const bool displayed) const
 
void precessionPartsLabeledChanged (const bool displayed) const
 
void precessionCirclesColorChanged (const Vec3f &newColor) const
 
void meridianLineDisplayedChanged (const bool displayed) const
 
void meridianPartsDisplayedChanged (const bool displayed) const
 
void meridianPartsLabeledChanged (const bool displayed) const
 
void meridianLineColorChanged (const Vec3f &newColor) const
 
void longitudeLineDisplayedChanged (const bool displayed) const
 
void longitudePartsDisplayedChanged (const bool displayed) const
 
void longitudePartsLabeledChanged (const bool displayed) const
 
void longitudeLineColorChanged (const Vec3f &newColor) const
 
void horizonLineDisplayedChanged (const bool displayed) const
 
void horizonPartsDisplayedChanged (const bool displayed) const
 
void horizonPartsLabeledChanged (const bool displayed) const
 
void horizonLineColorChanged (const Vec3f &newColor) const
 
void galacticEquatorLineDisplayedChanged (const bool displayed) const
 
void galacticEquatorPartsDisplayedChanged (const bool displayed) const
 
void galacticEquatorPartsLabeledChanged (const bool displayed) const
 
void galacticEquatorLineColorChanged (const Vec3f &newColor) const
 
void supergalacticEquatorLineDisplayedChanged (const bool displayed) const
 
void supergalacticEquatorPartsDisplayedChanged (const bool displayed) const
 
void supergalacticEquatorPartsLabeledChanged (const bool displayed) const
 
void supergalacticEquatorLineColorChanged (const Vec3f &newColor) const
 
void primeVerticalLineDisplayedChanged (const bool displayed) const
 
void primeVerticalPartsDisplayedChanged (const bool displayed) const
 
void primeVerticalPartsLabeledChanged (const bool displayed) const
 
void primeVerticalLineColorChanged (const Vec3f &newColor) const
 
void currentVerticalLineDisplayedChanged (const bool displayed) const
 
void currentVerticalPartsDisplayedChanged (const bool displayed) const
 
void currentVerticalPartsLabeledChanged (const bool displayed) const
 
void currentVerticalLineColorChanged (const Vec3f &newColor) const
 
void colureLinesDisplayedChanged (const bool displayed) const
 
void colurePartsDisplayedChanged (const bool displayed) const
 
void colurePartsLabeledChanged (const bool displayed) const
 
void colureLinesColorChanged (const Vec3f &newColor) const
 
void circumpolarCirclesDisplayedChanged (const bool displayed) const
 
void circumpolarCirclesColorChanged (const Vec3f &newColor) const
 
void umbraCircleDisplayedChanged (const bool displayed) const
 
void umbraCircleColorChanged (const Vec3f &newColor) const
 
void penumbraCircleDisplayedChanged (const bool displayed) const
 
void penumbraCircleColorChanged (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 galacticCenterDisplayedChanged (const bool displayed) const
 
void galacticCenterColorChanged (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 umbraCenterPointDisplayedChanged (const bool displayed) 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 QSettings * getSettings ()
 Return module-specific settings. 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
 
bool equatorPartsDisplayed
 
bool equatorPartsLabeled
 
Vec3f equatorLineColor
 
bool equatorJ2000LineDisplayed
 
bool equatorJ2000PartsDisplayed
 
bool equatorJ2000PartsLabeled
 
Vec3f equatorJ2000LineColor
 
bool eclipticLineDisplayed
 
bool eclipticPartsDisplayed
 
bool eclipticPartsLabeled
 
Vec3f eclipticLineColor
 
bool eclipticJ2000LineDisplayed
 
bool eclipticJ2000PartsDisplayed
 
bool eclipticJ2000PartsLabeled
 
Vec3f eclipticJ2000LineColor
 
bool invariablePlaneLineDisplayed
 
Vec3f invariablePlaneLineColor
 
bool solarEquatorLineDisplayed
 
bool solarEquatorPartsDisplayed
 
bool solarEquatorPartsLabeled
 
Vec3f solarEquatorLineColor
 
bool precessionCirclesDisplayed
 
bool precessionPartsDisplayed
 
bool precessionPartsLabeled
 
Vec3f precessionCirclesColor
 
bool meridianLineDisplayed
 
bool meridianPartsDisplayed
 
bool meridianPartsLabeled
 
Vec3f meridianLineColor
 
bool longitudeLineDisplayed
 
bool longitudePartsDisplayed
 
bool longitudePartsLabeled
 
Vec3f longitudeLineColor
 
bool horizonLineDisplayed
 
bool horizonPartsDisplayed
 
bool horizonPartsLabeled
 
Vec3f horizonLineColor
 
bool galacticEquatorLineDisplayed
 
bool galacticEquatorPartsDisplayed
 
bool galacticEquatorPartsLabeled
 
Vec3f galacticEquatorLineColor
 
bool supergalacticEquatorLineDisplayed
 
bool supergalacticEquatorPartsDisplayed
 
bool supergalacticEquatorPartsLabeled
 
Vec3f supergalacticEquatorLineColor
 
bool primeVerticalLineDisplayed
 
bool primeVerticalPartsDisplayed
 
bool primeVerticalPartsLabeled
 
Vec3f primeVerticalLineColor
 
bool currentVerticalLineDisplayed
 
bool currentVerticalPartsDisplayed
 
bool currentVerticalPartsLabeled
 
Vec3f currentVerticalLineColor
 
bool colureLinesDisplayed
 
bool colurePartsDisplayed
 
bool colurePartsLabeled
 
Vec3f colureLinesColor
 
bool circumpolarCirclesDisplayed
 
Vec3f circumpolarCirclesColor
 
bool umbraCircleDisplayed
 
Vec3f umbraCircleColor
 
bool penumbraCircleDisplayed
 
Vec3f penumbraCircleColor
 
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 galacticCenterDisplayed
 
Vec3f galacticCenterColor
 
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 umbraCenterPointDisplayed
 
bool apexPointsDisplayed
 
Vec3f apexPointsColor
 
int lineThickness
 
int partThickness
 

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...
 
StelActionaddAction (const QString &id, const QString &groupId, const QString &text, QObject *contextObject, std::function< void()> lambda, const QString &shortcut="", const QString &altShortcut="")
 convenience methods to add an action (call to Lambda functor) to the StelActionMgr object. More...
 

Detailed Description

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), Solar Equator and Invariable Plane of the Solar System, Precession Circles, and a special line marking conjunction or opposition in ecliptical longitude (of date).

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

◆ setColorCurrentVerticalLine

void GridLinesMgr::setColorCurrentVerticalLine ( const Vec3f newColor)
slot
Parameters
newColorThe color of the Current Vertical line
// 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

◆ setColorGalacticCenter

void GridLinesMgr::setColorGalacticCenter ( const Vec3f newColor)
slot
Parameters
newColorThe color of galactic center and anticenter markers
// 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

◆ setColorInvariablePlaneLine

void GridLinesMgr::setColorInvariablePlaneLine ( const Vec3f newColor)
slot
Parameters
newColorThe color of the Invariable Plane 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

◆ setColorPenumbraCircle

void GridLinesMgr::setColorPenumbraCircle ( const Vec3f newColor)
slot
Parameters
newColorThe color of penumbra circle
// 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

◆ setColorSolarEquatorLine

void GridLinesMgr::setColorSolarEquatorLine ( const Vec3f newColor)
slot
Parameters
newColorThe color of Solar Equator 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

◆ setColorUmbraCircle

void GridLinesMgr::setColorUmbraCircle ( const Vec3f newColor)
slot
Parameters
newColorThe color of umbra circle
// 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

◆ setPartThickness

void GridLinesMgr::setPartThickness ( 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.