GridLinesMgr.hpp   GridLinesMgr.hpp 
skipping to change at line 131 skipping to change at line 131
//! Equator Line and Ecliptic Line. //! Equator Line and Ecliptic Line.
virtual void init(); virtual void init();
//! Get the module ID, returns, "gridlines". //! Get the module ID, returns, "gridlines".
virtual QString getModuleID() const {return "GridLinesMgr";} virtual QString getModuleID() const {return "GridLinesMgr";}
//! Draw the grids and great circle lines. //! Draw the grids and great circle lines.
//! Draws the Equatorial Grid, Azimuthal Grid, Meridian Line, Equato r Line //! Draws the Equatorial Grid, Azimuthal Grid, Meridian Line, Equato r Line
//! and Ecliptic Line according to the various flags which control t heir //! and Ecliptic Line according to the various flags which control t heir
//! visibility. //! visibility.
virtual void draw(StelCore* core, class StelRenderer* renderer); virtual void draw(StelCore* core);
//! Update time-dependent features. //! Update time-dependent features.
//! Used to control fading when turning on and off the grid lines an d great circles. //! Used to control fading when turning on and off the grid lines an d great circles.
virtual void update(double deltaTime); virtual void update(double deltaTime);
//! Used to determine the order in which the various modules are dra wn. //! Used to determine the order in which the various modules are dra wn.
virtual double getCallOrder(StelModuleActionName actionName) const; virtual double getCallOrder(StelModuleActionName actionName) const;
//////////////////////////////////////////////////////////////////// /////////////////// //////////////////////////////////////////////////////////////////// ///////////////////
// Setter and getters // Setter and getters
public slots: public slots:
//! Setter for displaying Azimuthal Grid. //! Setter for displaying Azimuthal Grid.
void setFlagAzimuthalGrid(const bool displayed); void setFlagAzimuthalGrid(const bool displayed);
//! Accessor for displaying Azimuthal Grid. //! Accessor for displaying Azimuthal Grid.
bool getFlagAzimuthalGrid(void) const; bool getFlagAzimuthalGrid(void) const;
//! Get the current color of the Azimuthal Grid. //! Get the current color of the Azimuthal Grid.
Vec3f getColorAzimuthalGrid(void) const; Vec3f getColorAzimuthalGrid(void) const;
//! Set the color of the Azimuthal Grid. //! Set the color of the Azimuthal Grid.
//! @param newColor The color of azimuthal grid
//! @code
//! // example of usage in scripts
//! GridLinesMgr.setColorAzimuthalGrid(Vec3f(1.0,0.0,0.0));
//! @endcode
void setColorAzimuthalGrid(const Vec3f& newColor); void setColorAzimuthalGrid(const Vec3f& newColor);
//! Setter for displaying Equatorial Grid. //! Setter for displaying Equatorial Grid.
void setFlagEquatorGrid(const bool displayed); void setFlagEquatorGrid(const bool displayed);
//! Accessor for displaying Equatorial Grid. //! Accessor for displaying Equatorial Grid.
bool getFlagEquatorGrid(void) const; bool getFlagEquatorGrid(void) const;
//! Get the current color of the Equatorial Grid. //! Get the current color of the Equatorial Grid.
Vec3f getColorEquatorGrid(void) const; Vec3f getColorEquatorGrid(void) const;
//! Set the color of the Equatorial Grid. //! Set the color of the Equatorial Grid.
//! @param newColor The color of equatorial grid
//! @code
//! // example of usage in scripts
//! GridLinesMgr.setColorEquatorGrid(Vec3f(1.0,0.0,0.0));
//! @endcode
void setColorEquatorGrid(const Vec3f& newColor); void setColorEquatorGrid(const Vec3f& newColor);
//! Setter for displaying Equatorial Grid. //! Setter for displaying Equatorial Grid.
void setFlagEquatorJ2000Grid(const bool displayed); void setFlagEquatorJ2000Grid(const bool displayed);
//! Accessor for displaying Equatorial Grid. //! Accessor for displaying Equatorial Grid.
bool getFlagEquatorJ2000Grid(void) const; bool getFlagEquatorJ2000Grid(void) const;
//! Get the current color of the Equatorial J2000 Grid. //! Get the current color of the Equatorial J2000 Grid.
Vec3f getColorEquatorJ2000Grid(void) const; Vec3f getColorEquatorJ2000Grid(void) const;
//! Set the color of the Equatorial J2000 Grid. //! Set the color of the Equatorial J2000 Grid.
//! @param newColor The color of equatorial J2000 grid
//! @code
//! // example of usage in scripts
//! GridLinesMgr.setColorEquatorJ2000Grid(Vec3f(1.0,0.0,0.0));
//! @endcode
void setColorEquatorJ2000Grid(const Vec3f& newColor); void setColorEquatorJ2000Grid(const Vec3f& newColor);
//! Setter for displaying Ecliptic Grid. //! Setter for displaying Ecliptic Grid.
void setFlagEclipticJ2000Grid(const bool displayed); void setFlagEclipticJ2000Grid(const bool displayed);
//! Accessor for displaying Ecliptic Grid. //! Accessor for displaying Ecliptic Grid.
bool getFlagEclipticJ2000Grid(void) const; bool getFlagEclipticJ2000Grid(void) const;
//! Get the current color of the Ecliptic J2000 Grid. //! Get the current color of the Ecliptic J2000 Grid.
Vec3f getColorEclipticJ2000Grid(void) const; Vec3f getColorEclipticJ2000Grid(void) const;
//! Set the color of the Ecliptic J2000 Grid. //! Set the color of the Ecliptic J2000 Grid.
//! @param newColor The color of ecliptic J2000 grid
//! @code
//! // example of usage in scripts
//! GridLinesMgr.setColorEclipticJ2000Grid(Vec3f(1.0,0.0,0.0));
//! @endcode
void setColorEclipticJ2000Grid(const Vec3f& newColor); void setColorEclipticJ2000Grid(const Vec3f& newColor);
//! Setter for displaying Galactic Grid. //! Setter for displaying Galactic Grid.
void setFlagGalacticGrid(const bool displayed); void setFlagGalacticGrid(const bool displayed);
//! Accessor for displaying Galactic Grid. //! Accessor for displaying Galactic Grid.
bool getFlagGalacticGrid(void) const; bool getFlagGalacticGrid(void) const;
//! Get the current color of the Galactic Grid. //! Get the current color of the Galactic Grid.
Vec3f getColorGalacticGrid(void) const; Vec3f getColorGalacticGrid(void) const;
//! Set the color of the Galactic Grid. //! Set the color of the Galactic Grid.
//! @param newColor The color of galactic grid
//! @code
//! // example of usage in scripts
//! GridLinesMgr.setColorGalacticGrid(Vec3f(1.0,0.0,0.0));
//! @endcode
void setColorGalacticGrid(const Vec3f& newColor); void setColorGalacticGrid(const Vec3f& newColor);
//! Setter for displaying Equatorial Line. //! Setter for displaying Equatorial Line.
void setFlagEquatorLine(const bool displayed); void setFlagEquatorLine(const bool displayed);
//! Accessor for displaying Equatorial Line. //! Accessor for displaying Equatorial Line.
bool getFlagEquatorLine(void) const; bool getFlagEquatorLine(void) const;
//! Get the current color of the Equatorial Line. //! Get the current color of the Equatorial Line.
Vec3f getColorEquatorLine(void) const; Vec3f getColorEquatorLine(void) const;
//! Set the color of the Meridian Line. //! Set the color of the Equator Line.
//! @param newColor The color of equator line
//! @code
//! // example of usage in scripts
//! GridLinesMgr.setColorEquatorLine(Vec3f(1.0,0.0,0.0));
//! @endcode
void setColorEquatorLine(const Vec3f& newColor); void setColorEquatorLine(const Vec3f& newColor);
//! Setter for displaying Ecliptic Line. //! Setter for displaying Ecliptic Line.
void setFlagEclipticLine(const bool displayed); void setFlagEclipticLine(const bool displayed);
//! Accessor for displaying Ecliptic Line. //! Accessor for displaying Ecliptic Line.
bool getFlagEclipticLine(void) const; bool getFlagEclipticLine(void) const;
//! Get the current color of the Ecliptic Line. //! Get the current color of the Ecliptic Line.
Vec3f getColorEclipticLine(void) const; Vec3f getColorEclipticLine(void) const;
//! Set the color of the Meridian Line. //! Set the color of the Ecliptic Line.
//! @param newColor The color of ecliptic line
//! @code
//! // example of usage in scripts
//! GridLinesMgr.setColorEclipticLine(Vec3f(1.0,0.0,0.0));
//! @endcode
void setColorEclipticLine(const Vec3f& newColor); void setColorEclipticLine(const Vec3f& newColor);
//! Setter for displaying Meridian Line. //! Setter for displaying Meridian Line.
void setFlagMeridianLine(const bool displayed); void setFlagMeridianLine(const bool displayed);
//! Accessor for displaying Meridian Line. //! Accessor for displaying Meridian Line.
bool getFlagMeridianLine(void) const; bool getFlagMeridianLine(void) const;
//! Get the current color of the Meridian Line. //! Get the current color of the Meridian Line.
Vec3f getColorMeridianLine(void) const; Vec3f getColorMeridianLine(void) const;
//! Set the color of the Meridian Line. //! Set the color of the Meridian Line.
//! @param newColor The color of meridian line
//! @code
//! // example of usage in scripts
//! GridLinesMgr.setColorMeridianLine(Vec3f(1.0,0.0,0.0));
//! @endcode
void setColorMeridianLine(const Vec3f& newColor); void setColorMeridianLine(const Vec3f& newColor);
//! Setter for displaying Horizon Line. //! Setter for displaying Horizon Line.
void setFlagHorizonLine(const bool displayed); void setFlagHorizonLine(const bool displayed);
//! Accessor for displaying Horizon Line. //! Accessor for displaying Horizon Line.
bool getFlagHorizonLine(void) const; bool getFlagHorizonLine(void) const;
//! 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
//! @code
//! // example of usage in scripts
//! GridLinesMgr.setColorHorizonLine(Vec3f(1.0,0.0,0.0));
//! @endcode
void setColorHorizonLine(const Vec3f& newColor); void setColorHorizonLine(const Vec3f& newColor);
//! Setter for displaying GalacticPlane Line. //! Setter for displaying Galactic Plane Line.
void setFlagGalacticPlaneLine(const bool displayed); void setFlagGalacticPlaneLine(const bool displayed);
//! Accessor for displaying GalacticPlane Line. //! Accessor for displaying Galactic Plane Line.
bool getFlagGalacticPlaneLine(void) const; bool getFlagGalacticPlaneLine(void) const;
//! Get the current color of the GalacticPlane Line. //! Get the current color of the Galactic Plane Line.
Vec3f getColorGalacticPlaneLine(void) const; Vec3f getColorGalacticPlaneLine(void) const;
//! Set the color of the GalacticPlane Line. //! Set the color of the Galactic Plane Line.
//! @param newColor The color of galactic plane line
//! @code
//! // example of usage in scripts
//! GridLinesMgr.setColorGalacticPlaneLine(Vec3f(1.0,0.0,0.0));
//! @endcode
void setColorGalacticPlaneLine(const Vec3f& newColor); void setColorGalacticPlaneLine(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;
 End of changes. 14 change blocks. 
7 lines changed or deleted 57 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/