GridLinesMgr.hpp   GridLinesMgr.hpp 
skipping to change at line 103 skipping to change at line 103
WRITE setColorMeridianLine WRITE setColorMeridianLine
NOTIFY meridianLineColorChanged) NOTIFY meridianLineColorChanged)
Q_PROPERTY(bool horizonLineDisplayed Q_PROPERTY(bool horizonLineDisplayed
READ getFlagHorizonLine READ getFlagHorizonLine
WRITE setFlagHorizonLine WRITE setFlagHorizonLine
NOTIFY horizonLineDisplayedChanged) NOTIFY horizonLineDisplayedChanged)
Q_PROPERTY(Vec3f horizonLineColor Q_PROPERTY(Vec3f horizonLineColor
READ getColorHorizonLine READ getColorHorizonLine
WRITE setColorHorizonLine WRITE setColorHorizonLine
NOTIFY horizonLineColorChanged) NOTIFY horizonLineColorChanged)
Q_PROPERTY(bool galacticPlaneLineDisplayed Q_PROPERTY(bool galacticEquatorLineDisplayed
READ getFlagGalacticPlaneLine READ getFlagGalacticEquatorLine
WRITE setFlagGalacticPlaneLine WRITE setFlagGalacticEquatorLine
NOTIFY galacticPlaneLineDisplayedChanged) NOTIFY galacticEquatorLineDisplayedChanged)
Q_PROPERTY(Vec3f galacticPlaneLineColor Q_PROPERTY(Vec3f galacticEquatorLineColor
READ getColorGalacticPlaneLine READ getColorGalacticEquatorLine
WRITE setColorGalacticPlaneLine WRITE setColorGalacticEquatorLine
NOTIFY galacticPlaneLineColorChanged) NOTIFY galacticEquatorLineColorChanged)
public: public:
GridLinesMgr(); GridLinesMgr();
virtual ~GridLinesMgr(); virtual ~GridLinesMgr();
//////////////////////////////////////////////////////////////////// /////// //////////////////////////////////////////////////////////////////// ///////
// Methods defined in the StelModule class // Methods defined in the StelModule class
//! Initialize the GridLinesMgr. This process checks the values in t he //! Initialize the GridLinesMgr. This process checks the values in t he
//! application settings, and according to the settings there //! application settings, and according to the settings there
//! sets the visibility of the Equatorial Grid, Azimuthal Grid, Meri dian Line, //! sets the visibility of the Equatorial Grid, Azimuthal Grid, Meri dian Line,
skipping to change at line 269 skipping to change at line 269
//! Get the current color of the Horizon Line. //! Get the current color of the Horizon Line.
Vec3f getColorHorizonLine(void) const; Vec3f getColorHorizonLine(void) const;
//! Set the color of the Horizon Line. //! Set the color of the Horizon Line.
//! @param newColor The color of horizon line //! @param newColor The color of horizon line
//! @code //! @code
//! // example of usage in scripts //! // example of usage in scripts
//! GridLinesMgr.setColorHorizonLine(Vec3f(1.0,0.0,0.0)); //! GridLinesMgr.setColorHorizonLine(Vec3f(1.0,0.0,0.0));
//! @endcode //! @endcode
void setColorHorizonLine(const Vec3f& newColor); void setColorHorizonLine(const Vec3f& newColor);
//! Setter for displaying Galactic Plane Line. //! Setter for displaying Galactic Equator Line.
void setFlagGalacticPlaneLine(const bool displayed); void setFlagGalacticEquatorLine(const bool displayed);
//! Accessor for displaying Galactic Plane Line. //! @deprecated Setter for displaying Galactic "Plane" (i.e., Equato
bool getFlagGalacticPlaneLine(void) const; r) Line. Left here for compatibility with older scripts.
//! Get the current color of the Galactic Plane Line. //! @note will be delete in version 0.14
Vec3f getColorGalacticPlaneLine(void) const; void setFlagGalacticPlaneLine(const bool displayed) { setFlagGalacti
//! Set the color of the Galactic Plane Line. cEquatorLine(displayed); }
//! @param newColor The color of galactic plane line //! Accessor for displaying Galactic Equator Line.
bool getFlagGalacticEquatorLine(void) const;
//! @deprecated Accessor for displaying Galactic "Plane" (i.e., Equa
tor) Line. Left here for compatibility with older scripts.
//! @note will be delete in version 0.14
bool getFlagGalacticPlaneLine(void) const { return getFlagGalacticEq
uatorLine(); }
//! Get the current color of the Galactic Equator Line.
Vec3f getColorGalacticEquatorLine(void) const;
//! Set the color of the Galactic Equator Line.
//! @param newColor The color of galactic equator line
//! @code //! @code
//! // example of usage in scripts //! // example of usage in scripts
//! GridLinesMgr.setColorGalacticPlaneLine(Vec3f(1.0,0.0,0.0)); //! GridLinesMgr.setColorGalacticEquatorLine(Vec3f(1.0,0.0,0.0));
//! @endcode //! @endcode
void setColorGalacticPlaneLine(const Vec3f& newColor); void setColorGalacticEquatorLine(const Vec3f& newColor);
signals: signals:
void azimuthalGridDisplayedChanged(const bool) const; void azimuthalGridDisplayedChanged(const bool) const;
void azimuthalGridColorChanged(const Vec3f & newColor) const; void azimuthalGridColorChanged(const Vec3f & newColor) const;
void equatorGridDisplayedChanged(const bool displayed) const; void equatorGridDisplayedChanged(const bool displayed) const;
void equatorGridColorChanged(const Vec3f & newColor) const; void equatorGridColorChanged(const Vec3f & newColor) const;
void equatorJ2000GridDisplayedChanged(const bool displayed) const; void equatorJ2000GridDisplayedChanged(const bool displayed) const;
void equatorJ2000GridColorChanged(const Vec3f & newColor) const; void equatorJ2000GridColorChanged(const Vec3f & newColor) const;
void eclipticJ2000GridDisplayedChanged(const bool displayed) const; void eclipticJ2000GridDisplayedChanged(const bool displayed) const;
void eclipticJ2000GridColorChanged(const Vec3f & newColor) const; void eclipticJ2000GridColorChanged(const Vec3f & newColor) const;
void galacticGridDisplayedChanged(const bool displayed) const; void galacticGridDisplayedChanged(const bool displayed) const;
void galacticGridColorChanged(const Vec3f & newColor) const; void galacticGridColorChanged(const Vec3f & newColor) const;
void equatorLineDisplayedChanged(const bool displayed) const; void equatorLineDisplayedChanged(const bool displayed) const;
void equatorLineColorChanged(const Vec3f & newColor) const; void equatorLineColorChanged(const Vec3f & newColor) const;
void eclipticLineDisplayedChanged(const bool displayed) const; void eclipticLineDisplayedChanged(const bool displayed) const;
void eclipticLineColorChanged(const Vec3f & newColor) const; void eclipticLineColorChanged(const Vec3f & newColor) const;
void meridianLineDisplayedChanged(const bool displayed) const; void meridianLineDisplayedChanged(const bool displayed) const;
void meridianLineColorChanged(const Vec3f & newColor) const; void meridianLineColorChanged(const Vec3f & newColor) const;
void horizonLineDisplayedChanged(const bool displayed) const; void horizonLineDisplayedChanged(const bool displayed) const;
void horizonLineColorChanged(const Vec3f & newColor) const; void horizonLineColorChanged(const Vec3f & newColor) const;
void galacticPlaneLineDisplayedChanged(const bool displayed) const; void galacticEquatorLineDisplayedChanged(const bool displayed) const
void galacticPlaneLineColorChanged(const Vec3f & newColor) const; ;
void galacticEquatorLineColorChanged(const Vec3f & newColor) const;
private slots: private slots:
//! Sets the colors of: grids and great circles, Equatorial Grid, Az imuthal Grid, //! Sets the colors of: grids and great circles, Equatorial Grid, Az imuthal Grid,
//! Meridian Line, Equator Line and Ecliptic Line. //! Meridian Line, Equator Line and Ecliptic Line.
void setStelStyle(const QString& section); void setStelStyle(const QString& section);
//! Re-translate the labels of the great circles. //! Re-translate the labels of the great circles.
//! Contains only calls to SkyLine::updateLabel(). //! Contains only calls to SkyLine::updateLabel().
void updateLineLabels(); void updateLineLabels();
private: private:
SkyGrid * equGrid; // Equatorial grid SkyGrid * equGrid; // Equatorial grid
SkyGrid * equJ2000Grid; // Equatorial J2000 grid SkyGrid * equJ2000Grid; // Equatorial J2000 grid
SkyGrid * galacticGrid; // Galactic grid SkyGrid * galacticGrid; // Galactic grid
SkyGrid * eclJ2000Grid; // Ecliptic J2000 grid SkyGrid * eclJ2000Grid; // Ecliptic J2000 grid
SkyGrid * aziGrid; // Azimuthal grid SkyGrid * aziGrid; // Azimuthal grid
SkyLine * equatorLine; // Celestial Equator line SkyLine * equatorLine; // Celestial Equator line
SkyLine * eclipticLine; // Ecliptic line SkyLine * eclipticLine; // Ecliptic line
SkyLine * meridianLine; // Meridian line SkyLine * meridianLine; // Meridian line
SkyLine * horizonLine; // Horizon line SkyLine * horizonLine; // Horizon line
SkyLine * galacticPlaneLine; // line depciting the Galacitc plane as defined by the IAU definition of Galactic coordinates SkyLine * galacticEquatorLine; // line depicting the Galactic equat or as defined by the IAU definition of Galactic coordinates (System II, 195 8)
}; };
#endif // _GRIDLINESMGR_HPP_ #endif // _GRIDLINESMGR_HPP_
 End of changes. 6 change blocks. 
21 lines changed or deleted 32 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/