20 #ifndef _GRIDLINESMGR_HPP_
21 #define _GRIDLINESMGR_HPP_
23 #include "VecMath.hpp"
24 #include "StelModule.hpp"
35 Q_PROPERTY(
bool azimuthalGridDisplayed
38 NOTIFY azimuthalGridDisplayedChanged)
39 Q_PROPERTY(
Vec3f azimuthalGridColor
42 NOTIFY azimuthalGridColorChanged)
43 Q_PROPERTY(
bool equatorGridDisplayed
46 NOTIFY equatorGridDisplayedChanged)
47 Q_PROPERTY(
Vec3f equatorGridColor
50 NOTIFY equatorGridColorChanged)
51 Q_PROPERTY(
bool equatorJ2000GridDisplayed
54 NOTIFY equatorJ2000GridDisplayedChanged)
55 Q_PROPERTY(
bool eclipticJ2000GridDisplayed
58 NOTIFY eclipticJ2000GridDisplayedChanged)
59 Q_PROPERTY(
Vec3f equatorJ2000GridColor
62 NOTIFY equatorJ2000GridColorChanged)
63 Q_PROPERTY(
bool galacticGridDisplayed
66 NOTIFY galacticGridDisplayedChanged)
67 Q_PROPERTY(
Vec3f galacticGridColor
70 NOTIFY galacticGridColorChanged)
71 Q_PROPERTY(
bool equatorLineDisplayed
74 NOTIFY equatorLineDisplayedChanged)
75 Q_PROPERTY(
Vec3f equatorLineColor
78 NOTIFY equatorLineColorChanged)
79 Q_PROPERTY(
bool eclipticLineDisplayed
82 NOTIFY eclipticLineDisplayedChanged)
83 Q_PROPERTY(
Vec3f eclipticLineColor
86 NOTIFY eclipticLineColorChanged)
87 Q_PROPERTY(
bool meridianLineDisplayed
90 NOTIFY meridianLineDisplayedChanged)
91 Q_PROPERTY(
Vec3f meridianLineColor
94 NOTIFY meridianLineColorChanged)
95 Q_PROPERTY(
bool horizonLineDisplayed
98 NOTIFY horizonLineDisplayedChanged)
99 Q_PROPERTY(
Vec3f horizonLineColor
102 NOTIFY horizonLineColorChanged)
103 Q_PROPERTY(
bool galacticPlaneLineDisplayed
106 NOTIFY galacticPlaneLineDisplayedChanged)
107 Q_PROPERTY(
Vec3f galacticPlaneLineColor
110 NOTIFY galacticPlaneLineColorChanged)
135 virtual void update(
double deltaTime);
233 void azimuthalGridDisplayedChanged(
const bool)
const;
234 void azimuthalGridColorChanged(
const Vec3f & newColor)
const;
235 void equatorGridDisplayedChanged(
const bool displayed)
const;
236 void equatorGridColorChanged(
const Vec3f & newColor)
const;
237 void equatorJ2000GridDisplayedChanged(
const bool displayed)
const;
238 void equatorJ2000GridColorChanged(
const Vec3f & newColor)
const;
239 void eclipticJ2000GridDisplayedChanged(
const bool displayed)
const;
240 void eclipticJ2000GridColorChanged(
const Vec3f & newColor)
const;
241 void galacticGridDisplayedChanged(
const bool displayed)
const;
242 void galacticGridColorChanged(
const Vec3f & newColor)
const;
243 void equatorLineDisplayedChanged(
const bool displayed)
const;
244 void equatorLineColorChanged(
const Vec3f & newColor)
const;
245 void eclipticLineDisplayedChanged(
const bool displayed)
const;
246 void eclipticLineColorChanged(
const Vec3f & newColor)
const;
247 void meridianLineDisplayedChanged(
const bool displayed)
const;
248 void meridianLineColorChanged(
const Vec3f & newColor)
const;
249 void horizonLineDisplayedChanged(
const bool displayed)
const;
250 void horizonLineColorChanged(
const Vec3f & newColor)
const;
251 void galacticPlaneLineDisplayedChanged(
const bool displayed)
const;
252 void galacticPlaneLineColorChanged(
const Vec3f & newColor)
const;
258 void setStelStyle(
const QString& section);
261 void updateLineLabels();
265 SkyGrid * equJ2000Grid;
266 SkyGrid * galacticGrid;
267 SkyGrid * eclJ2000Grid;
269 SkyLine * equatorLine;
270 SkyLine * eclipticLine;
271 SkyLine * meridianLine;
272 SkyLine * horizonLine;
273 SkyLine * galacticPlaneLine;
276 #endif // _GRIDLINESMGR_HPP_