GridLinesMgr.hpp   GridLinesMgr.hpp 
skipping to change at line 23 skipping to change at line 23
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, U SA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, U SA.
*/ */
#ifndef _GRIDLINESMGR_HPP_ #ifndef _GRIDLINESMGR_HPP_
#define _GRIDLINESMGR_HPP_ #define _GRIDLINESMGR_HPP_
#include "vecmath.h" #include "VecMath.hpp"
#include "StelModule.hpp" #include "StelModule.hpp"
class Translator; class StelTranslator;
class SkyGrid; class SkyGrid;
class SkyLine; class SkyLine;
class QSettings; class QSettings;
//! @class GridLinesMgr //! @class GridLinesMgr
//! The GridLinesMgr controls the drawing of the Azimuthal and Equatorial G rids, //! The GridLinesMgr controls the drawing of the Azimuthal and Equatorial G rids,
//! as well as the great circles: Meridian Line, Ecliptic Line and Equator Line. //! as well as the great circles: Meridian Line, Ecliptic Line and Equator Line.
class GridLinesMgr : public StelModule class GridLinesMgr : public StelModule
{ {
Q_OBJECT Q_OBJECT
skipping to change at line 75 skipping to change at line 75
//! Meridian Line, Equator Line and Ecliptic Line. //! Meridian Line, Equator Line and Ecliptic Line.
virtual void setStelStyle(const StelStyle& style); virtual void setStelStyle(const StelStyle& style);
//! 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:
//! Set flag for displaying Azimuthal Grid. //! Set flag for displaying Azimuthal Grid.
void setFlagAzimutalGrid(bool b); void setFlagAzimuthalGrid(bool b);
//! Get flag for displaying Azimuthal Grid. //! Get flag for displaying Azimuthal Grid.
bool getFlagAzimutalGrid(void) const; bool getFlagAzimuthalGrid(void) const;
//! Get the current color of the Azimuthal Grid. //! Get the current color of the Azimuthal Grid.
Vec3f getColorAzimutalGrid(void) const; Vec3f getColorAzimuthalGrid(void) const;
//! Set the color of the Azimuthal Grid. //! Set the color of the Azimuthal Grid.
void setColorAzimutalGrid(const Vec3f& v); void setColorAzimuthalGrid(const Vec3f& v);
//! Set flag for displaying Equatorial Grid. //! Set flag for displaying Equatorial Grid.
void setFlagEquatorGrid(bool b); void setFlagEquatorGrid(bool b);
//! Get flag for displaying Equatorial Grid. //! Get flag 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.
void setColorEquatorGrid(const Vec3f& v); void setColorEquatorGrid(const Vec3f& v);
skipping to change at line 131 skipping to change at line 131
//! Get flag for displaying Meridian Line. //! Get flag 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.
void setColorMeridianLine(const Vec3f& v); void setColorMeridianLine(const Vec3f& v);
private: private:
SkyGrid * equGrid; // Equatorial grid SkyGrid * equGrid; // Equatorial grid
SkyGrid * equJ2000Grid; // Equatorial J2000 grid SkyGrid * equJ2000Grid; // Equatorial J2000 grid
SkyGrid * aziGrid; // Azimutal 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
}; };
#endif // _GRIDLINESMGR_HPP_ #endif // _GRIDLINESMGR_HPP_
 End of changes. 7 change blocks. 
7 lines changed or deleted 7 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/