StelCore.hpp   StelCore.hpp 
skipping to change at line 347 skipping to change at line 347
//! @return true if sun higher than about -6 degrees, i.e. "day" inc ludes civil twilight. //! @return true if sun higher than about -6 degrees, i.e. "day" inc ludes civil twilight.
//! @note Useful mostly for brightness-controlled GUI decisions like font colors. //! @note Useful mostly for brightness-controlled GUI decisions like font colors.
bool isBrightDaylight() const; bool isBrightDaylight() const;
//! Get value of the current Julian epoch (i.e. current year with de cimal fraction, e.g. 2012.34567) //! Get value of the current Julian epoch (i.e. current year with de cimal fraction, e.g. 2012.34567)
double getCurrentEpoch() const; double getCurrentEpoch() const;
//! Get the default Mapping used by the Projection //! Get the default Mapping used by the Projection
QString getDefaultProjectionTypeKey(void) const; QString getDefaultProjectionTypeKey(void) const;
Vec3d getMouseJ2000Pos(void) const;
public slots: public slots:
//! Smoothly move the observer to the given location //! Smoothly move the observer to the given location
//! @param target the target location //! @param target the target location
//! @param duration direction of view move duration in s //! @param duration direction of view move duration in s
//! @param durationIfPlanetChange direction of view + planet travel move duration in s. //! @param durationIfPlanetChange direction of view + planet travel move duration in s.
//! This is used only if the destination planet is different from th e starting one. //! This is used only if the destination planet is different from th e starting one.
void moveObserverTo(const StelLocation& target, double duration=1., double durationIfPlanetChange=1.); void moveObserverTo(const StelLocation& target, double duration=1., double durationIfPlanetChange=1.);
//! Set the current ProjectionType to use //! Set the current ProjectionType to use
void setCurrentProjectionType(ProjectionType type); void setCurrentProjectionType(ProjectionType type);
skipping to change at line 404 skipping to change at line 406
//! Get the state of the horizontal flip. //! Get the state of the horizontal flip.
//! @return True if flipped horizontally, else false. //! @return True if flipped horizontally, else false.
bool getFlipHorz(void) const; bool getFlipHorz(void) const;
//! Get the state of the vertical flip. //! Get the state of the vertical flip.
//! @return True if flipped vertically, else false. //! @return True if flipped vertically, else false.
bool getFlipVert(void) const; bool getFlipVert(void) const;
//New for 0.15: Vertical offset should even be available for animati on, so at last with property mechanism. //New for 0.15: Vertical offset should even be available for animati on, so at last with property mechanism.
//! Get current value for horizontal viewport offset [-50...50] //! Get current value for horizontal viewport offset [-50...50]
//! An offset of 50 percent means projective image center is on the right screen border //! An offset of 50 percent means projective image center is on the right screen border
double getViewportHorizontalOffset(void); double getViewportHorizontalOffset(void) const;
//! Set horizontal viewport offset. Argument will be clamped to be i nside [-50...50] //! Set horizontal viewport offset. Argument will be clamped to be i nside [-50...50]
//! An offset of 50 percent means projective image center is on the right screen border //! An offset of 50 percent means projective image center is on the right screen border
//! Animation is available via StelMovementMgr::moveViewport() //! Animation is available via StelMovementMgr::moveViewport()
void setViewportHorizontalOffset(double newOffsetPct); void setViewportHorizontalOffset(double newOffsetPct);
//! Get current value for vertical viewport offset [-50...50] //! Get current value for vertical viewport offset [-50...50]
//! An offset of 50 percent means projective image center is on the upper screen border //! An offset of 50 percent means projective image center is on the upper screen border
double getViewportVerticalOffset(void); double getViewportVerticalOffset(void) const;
//! Set vertical viewport offset. Argument will be clamped to be ins ide [-50...50] //! Set vertical viewport offset. Argument will be clamped to be ins ide [-50...50]
//! An offset of 50 percent means projective image center is on the upper screen border //! An offset of 50 percent means projective image center is on the upper screen border
//! Setting to a negative value will move the visible horizon down, this may be desired esp. in cylindrical projection. //! Setting to a negative value will move the visible horizon down, this may be desired esp. in cylindrical projection.
//! Animation is available via StelMovementMgr::moveViewport() //! Animation is available via StelMovementMgr::moveViewport()
void setViewportVerticalOffset(double newOffsetPct); void setViewportVerticalOffset(double newOffsetPct);
// Set both viewport offsets. Arguments will be clamped to be inside [-50...50]. I (GZ) hope this will avoid some of the shaking. // Set both viewport offsets. Arguments will be clamped to be inside [-50...50]. I (GZ) hope this will avoid some of the shaking.
void setViewportOffset(double newHorizontalOffsetPct, double newVert icalOffsetPct); void setViewportOffset(double newHorizontalOffsetPct, double newVert icalOffsetPct);
//! Can be used in specialized setups, intended e.g. for multi-proje ctor installations with edge blending. //! Can be used in specialized setups, intended e.g. for multi-proje ctor installations with edge blending.
//! @param stretch [default 1] enlarge to stretch image to non-squar e pixels. A minimum value of 0.001 is enforced. //! @param stretch [default 1] enlarge to stretch image to non-squar e pixels. A minimum value of 0.001 is enforced.
skipping to change at line 695 skipping to change at line 697
//! initialize ephemerides calculation functions //! initialize ephemerides calculation functions
void initEphemeridesFunctions(); void initEphemeridesFunctions();
bool de430IsAvailable(); //!< true if DE430 ephemeris fil e has been found bool de430IsAvailable(); //!< true if DE430 ephemeris fil e has been found
bool de431IsAvailable(); //!< true if DE431 ephemeris fil e has been found bool de431IsAvailable(); //!< true if DE431 ephemeris fil e has been found
bool de430IsActive(); //!< true if DE430 ephemeris is in use bool de430IsActive(); //!< true if DE430 ephemeris is in use
bool de431IsActive(); //!< true if DE431 ephemeris is in use bool de431IsActive(); //!< true if DE431 ephemeris is in use
void setDe430Active(bool status); //!< switch DE430 use to @param status (if de430IsAvailable()). DE430 is only used if date is within range of DE430. void setDe430Active(bool status); //!< switch DE430 use to @param status (if de430IsAvailable()). DE430 is only used if date is within range of DE430.
void setDe431Active(bool status); //!< switch DE431 use to @param status (if de431IsAvailable()). DE431 is only used if DE430 is not used and the date is within range of DE431. void setDe431Active(bool status); //!< switch DE431 use to @param status (if de431IsAvailable()). DE431 is only used if DE430 is not used and the date is within range of DE431.
//! Return 3-letter abbreviation of IAU constellation name for posit ion in J2000 coordinates. //! Return 3-letter abbreviation of IAU constellation name for posit ion in equatorial coordinates on the current epoch.
//! Follows 1987PASP...99..695R: Nancy Roman: Identification of a Co nstellation from a Position //! Follows 1987PASP...99..695R: Nancy Roman: Identification of a Co nstellation from a Position
//! Data file from ADC catalog VI/42 with her amendment from 1999-12 -30. //! Data file from ADC catalog VI/42 with her amendment from 1999-12 -30.
QString getIAUConstellation(const Vec3d positionJ2000) const; //! @param positionEqJnow position vector in rectangular equatorial
coordinates of current epoch&equinox.
QString getIAUConstellation(const Vec3d positionEqJnow) const;
signals: signals:
//! This signal is emitted when the observer location has changed. //! This signal is emitted when the observer location has changed.
void locationChanged(StelLocation); void locationChanged(StelLocation);
//! This signal is emitted whenever the targetted location changes
void targetLocationChanged(StelLocation);
//! This signal is emitted when the time rate has changed //! This signal is emitted when the time rate has changed
void timeRateChanged(double rate); void timeRateChanged(double rate);
//! This signal is emitted whenever the time is re-synced. //! This signal is emitted whenever the time is re-synced.
//! This happens whenever the internal jDay is changed through setJD ay/setMJDay and similar, //! This happens whenever the internal jDay is changed through setJD ay/setMJDay and similar,
//! and whenever the time rate changes. //! and whenever the time rate changes.
void timeSyncOccurred(double jDay); void timeSyncOccurred(double jDay);
//! This signal is emitted when the date has changed. //! This signal is emitted when the date has changed.
void dateChanged(); void dateChanged();
//! This signal indicates a horizontal display flip //! This signal indicates a horizontal display flip
void flipHorzChanged(bool b); void flipHorzChanged(bool b);
 End of changes. 6 change blocks. 
4 lines changed or deleted 10 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/