Observability.hpp   Observability.hpp 
skipping to change at line 161 skipping to change at line 161
//! @param RA right ascension (hours). //! @param RA right ascension (hours).
//! @param ST sidereal time (degrees). //! @param ST sidereal time (degrees).
double HourAngle2(double RA, double ST); double HourAngle2(double RA, double ST);
//! Solves Moon/Sun/Planet Rise/Set/Transit times for the current Julian da y. //! Solves Moon/Sun/Planet Rise/Set/Transit times for the current Julian da y.
//! This function updates the variables MoonRise, MoonSet, MoonCulm. //! This function updates the variables MoonRise, MoonSet, MoonCulm.
//! Returns success status. //! Returns success status.
//! @param[in] bodyType is 1 for Sun, 2 for Moon, 3 for Solar System object . //! @param[in] bodyType is 1 for Sun, 2 for Moon, 3 for Solar System object .
bool calculateSolarSystemEvents(StelCore* core, int bodyType); bool calculateSolarSystemEvents(StelCore* core, int bodyType);
//! Finds the heliacal rise/set dates of the year for the currently-selecte d object. //! Finds the acronycal and cosmical rise/set dates of the year for the cur rently-selected object.
//! @param[out] acroRise day of year of the Acronycal rise. //! @param[out] acroRise day of year of the Acronycal rise.
//! @param[out] acroSet day of year of the Acronycal set. //! @param[out] acroSet day of year of the Acronycal set.
//! @param[out] cosRise day of year of the Cosmical rise. //! @param[out] cosRise day of year of the Cosmical rise.
//! @param[out] cosSet day of year of the Cosmical set. //! @param[out] cosSet day of year of the Cosmical set.
//! @returns 0 if no dates found, 1 if acronycal dates exist, //! @returns 0 if no dates found, 1 if acronycal dates exist,
//! 2 if cosmical dates exist, and 3 if both are found. //! 2 if cosmical dates exist, and 3 if both are found.
int calculateAcroCos(int& acroRise, int& acroSet, int calculateAcroCos(int& acroRise, int& acroSet,
int& cosRise, int& cosSet); int& cosRise, int& cosSet);
//! Finds the Heliacal rise/set dates of the year for the currently-selecte
d object.
//! @param imethod Determines the algorithm to use (not yet implemented).
//! @param[out] heliRise day of year of the Heliacal rise.
//! @param[out] heliSet day of year of the Heliacal set.
//! @returns 0 if no dates found and 1 otherwise.
int calculateHeli(int imethod, int& heliRise, int& heliSet);
//! Computes the Sun or Moon coordinates at a given Julian date. //! Computes the Sun or Moon coordinates at a given Julian date.
//! @param core the stellarium core. //! @param core the stellarium core.
//! @param JD double for the Julian date. //! @param JD double for the Julian date.
//! @param RASun right ascension of the Sun (in hours). //! @param RASun right ascension of the Sun (in hours).
//! @param DecSun declination of the Sun (in radians). //! @param DecSun declination of the Sun (in radians).
//! @param RAMoon idem for the Moon. //! @param RAMoon idem for the Moon.
//! @param DecMoon idem for the Moon. //! @param DecMoon idem for the Moon.
//! @param EclLon is the module of the vector product of Heliocentric Eclip tic Coordinates of Sun and Moon (projected over the Ecliptic plane). Useful to derive the dates of Full Moon. //! @param EclLon is the module of the vector product of Heliocentric Eclip tic Coordinates of Sun and Moon (projected over the Ecliptic plane). Useful to derive the dates of Full Moon.
//! @param getBack controls whether Earth and Moon must be returned to thei r original positions after computation. //! @param getBack controls whether Earth and Moon must be returned to thei r original positions after computation.
void getSunMoonCoords(StelCore* core, double jd, void getSunMoonCoords(StelCore* core, double jd,
skipping to change at line 319 skipping to change at line 326
int nDays; int nDays;
//! Untranslated name of the currently selected object. //! Untranslated name of the currently selected object.
//! Used to check if the selection has changed. //! Used to check if the selection has changed.
QString selName; QString selName;
//! Cached copy of the "best night" line in the report. //! Cached copy of the "best night" line in the report.
QString lineBestNight; QString lineBestNight;
//! Cached copy of the line reporting when the target is observable. //! Cached copy of the line reporting when the target is observable.
QString lineObservableRange; QString lineObservableRange;
//! Cached copy of the line reporting the acronical/cosmical rise an d set. //! Cached copy of the line reporting the acronical/cosmical rise an d set.
QString lineAcroCos; QString lineAcroCos, lineHeli;
//! Strings to save ephemeris Times: //! Strings to save ephemeris Times:
QString RiseTime, SetTime, CulmTime; QString RiseTime, SetTime, CulmTime;
//! Just the names of the months. //! Just the names of the months.
QStringList monthNames; QStringList monthNames;
//! Using for storage date format [i18n] //! Using for storage date format [i18n]
bool dmyFormat; bool dmyFormat;
skipping to change at line 363 skipping to change at line 370
bool flagShowReport; bool flagShowReport;
int fontSize; int fontSize;
StelButton* button; StelButton* button;
//! @} //! @}
//! @name Cached translated GUI strings. //! @name Cached translated GUI strings.
//! @todo Decide whether to keep translation caching. //! @todo Decide whether to keep translation caching.
//! @{ //! @{
QString msgSetsAt, msgRoseAt, msgSetAt, msgRisesAt, msgCircumpolar, msgNoRise, msgCulminatesAt, msgCulminatedAt, msgH, msgM, msgS; QString msgSetsAt, msgRoseAt, msgSetAt, msgRisesAt, msgCircumpolar, msgNoRise, msgCulminatesAt, msgCulminatedAt, msgH, msgM, msgS;
QString msgSrcNotObs, msgNoACRise, msgGreatElong, msgLargSSep, msgNo ne, msgAcroRise, msgNoAcroRise, msgCosmRise, msgNoCosmRise; QString msgSrcNotObs, msgNoACRise, msgGreatElong, msgLargSSep, msgNo ne, msgAcroRise, msgNoAcroRise, msgCosmRise, msgNoCosmRise;
QString msgHeliRise, msgHeliSet, msgNoHeliRise;
QString msgWholeYear, msgNotObs, msgAboveHoriz, msgToday, msgThisYea r, msgPrevFullMoon, msgNextFullMoon; QString msgWholeYear, msgNotObs, msgAboveHoriz, msgToday, msgThisYea r, msgPrevFullMoon, msgNextFullMoon;
//! @} //! @}
}; };
#include <QObject> #include <QObject>
#include "StelPluginInterface.hpp" #include "StelPluginInterface.hpp"
class ObservabilityStelPluginInterface : public QObject, public StelPluginI nterface class ObservabilityStelPluginInterface : public QObject, public StelPluginI nterface
{ {
 End of changes. 4 change blocks. 
2 lines changed or deleted 11 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/