StelNavigator.hpp   StelNavigator.hpp 
skipping to change at line 39 skipping to change at line 39
#include <QDateTime> #include <QDateTime>
// Conversion in standar Julian time format // Conversion in standar Julian time format
#define JD_SECOND 0.000011574074074074074074 #define JD_SECOND 0.000011574074074074074074
#define JD_MINUTE 0.00069444444444444444444 #define JD_MINUTE 0.00069444444444444444444
#define JD_HOUR 0.041666666666666666666 #define JD_HOUR 0.041666666666666666666
#define JD_DAY 1. #define JD_DAY 1.
class StelObserver; class StelObserver;
class StelObject; class StelObject;
class StelLoadingBar;
//! @class StelNavigator //! @class StelNavigator
//! Manages a navigation context. This includes: //! Manages a navigation context. This includes:
//! - date/time //! - date/time
//! - viewing direction/fov //! - viewing direction/fov
//! - observer position //! - observer position
//! - coordinate changes //! - coordinate changes
class StelNavigator : public QObject class StelNavigator : public QObject
{ {
Q_OBJECT Q_OBJECT
skipping to change at line 114 skipping to change at line 113
const Mat4d getObservercentricEclipticModelViewMat() const {return m atAltAzModelView*matJ2000ToAltAz*matVsop87ToJ2000;} const Mat4d getObservercentricEclipticModelViewMat() const {return m atAltAzModelView*matJ2000ToAltAz*matVsop87ToJ2000;}
//! Get the modelview matrix for observer-centric equatorial at equi nox drawing //! Get the modelview matrix for observer-centric equatorial at equi nox drawing
const Mat4d getEquinoxEquModelViewMat() const {return matAltAzModelV iew*matEquinoxEquToAltAz;} const Mat4d getEquinoxEquModelViewMat() const {return matAltAzModelV iew*matEquinoxEquToAltAz;}
//! Get the modelview matrix for observer-centric altazimuthal drawi ng //! Get the modelview matrix for observer-centric altazimuthal drawi ng
const Mat4d& getAltAzModelViewMat() const {return matAltAzModelView; } const Mat4d& getAltAzModelViewMat() const {return matAltAzModelView; }
//! Get the modelview matrix for observer-centric J2000 equatorial d rawing //! Get the modelview matrix for observer-centric J2000 equatorial d rawing
const Mat4d getJ2000ModelViewMat() const {return matAltAzModelView*m atEquinoxEquToAltAz*matJ2000ToEquinoxEqu;} const Mat4d getJ2000ModelViewMat() const {return matAltAzModelView*m atEquinoxEquToAltAz*matJ2000ToEquinoxEqu;}
//! Get the modelview matrix for observer-centric Galactic equatoria l drawing //! Get the modelview matrix for observer-centric Galactic equatoria l drawing
const Mat4d getGalacticModelViewMat() const {return getJ2000ModelVie wMat()*matGalacticToJ2000;} const Mat4d getGalacticModelViewMat() const {return getJ2000ModelVie wMat()*matGalacticToJ2000;}
//! Return the preset sky time in JD
double getPresetSkyTime() const {return presetSkyTime;}
//! Set the preset sky time from a JD
void setPresetSkyTime(double d) {presetSkyTime=d;}
//! Return the startup mode, can be preset|Preset or anything else //! Return the startup mode, can be preset|Preset or anything else
QString getStartupTimeMode() {return startupTimeMode;} QString getStartupTimeMode() {return startupTimeMode;}
void setStartupTimeMode(const QString& s); void setStartupTimeMode(const QString& s);
//! Rotation matrix from equatorial J2000 to ecliptic (Vsop87) //! Rotation matrix from equatorial J2000 to ecliptic (Vsop87)
static const Mat4d matJ2000ToVsop87; static const Mat4d matJ2000ToVsop87;
//! Rotation matrix from ecliptic (Vsop87) to equatorial J2000 //! Rotation matrix from ecliptic (Vsop87) to equatorial J2000
static const Mat4d matVsop87ToJ2000; static const Mat4d matVsop87ToJ2000;
//! Rotation matrix from J2000 to Galactic reference frame, using FI TS convention. //! Rotation matrix from J2000 to Galactic reference frame, using FI TS convention.
static const Mat4d matJ2000ToGalactic; static const Mat4d matJ2000ToGalactic;
//! Rotation matrix from J2000 to Galactic reference frame, using FI TS convention. //! Rotation matrix from J2000 to Galactic reference frame, using FI TS convention.
static const Mat4d matGalacticToJ2000; static const Mat4d matGalacticToJ2000;
public slots: public slots:
//! Set the current date in Julian Day //! Set the current date in Julian Day
void setJDay(double JD) {JDay=JD;} void setJDay(double JD) {JDay=JD;}
//! Get the current date in Julian Day //! Get the current date in Julian Day
double getJDay() const {return JDay;} double getJDay() const {return JDay;}
//! Return the preset sky time in JD
double getPresetSkyTime() const {return presetSkyTime;}
//! Set the preset sky time from a JD
void setPresetSkyTime(double d) {presetSkyTime=d;}
//! Set time speed in JDay/sec //! Set time speed in JDay/sec
void setTimeRate(double ts) {timeSpeed=ts; emit timeRateChanged(time Speed);} void setTimeRate(double ts) {timeSpeed=ts; emit timeRateChanged(time Speed);}
//! Get time speed in JDay/sec //! Get time speed in JDay/sec
double getTimeRate() const {return timeSpeed;} double getTimeRate() const {return timeSpeed;}
//! Increase the time speed //! Increase the time speed
void increaseTimeSpeed(); void increaseTimeSpeed();
//! Decrease the time speed //! Decrease the time speed
void decreaseTimeSpeed(); void decreaseTimeSpeed();
//! Increase the time speed, but not as much as with increaseTimeSpe ed() //! Increase the time speed, but not as much as with increaseTimeSpe ed()
 End of changes. 3 change blocks. 
6 lines changed or deleted 5 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/