StelMainScriptAPI.hpp   StelMainScriptAPI.hpp 
skipping to change at line 171 skipping to change at line 171
//! - altitude : apparent altitude angle in decimal degrees //! - altitude : apparent altitude angle in decimal degrees
//! - azimuth : apparent azimuth angle in decimal degrees //! - azimuth : apparent azimuth angle in decimal degrees
//! - altitude-geometric : geometric altitude angle in decimal degre es //! - altitude-geometric : geometric altitude angle in decimal degre es
//! - azimuth-geometric : geometric azimuth angle in decimal degrees //! - azimuth-geometric : geometric azimuth angle in decimal degrees
//! - ra : right ascension angle (current date frame) in decimal deg rees //! - ra : right ascension angle (current date frame) in decimal deg rees
//! - dec : declination angle (current date frame) in decimal degree s //! - dec : declination angle (current date frame) in decimal degree s
//! - raJ2000 : right ascension angle (J2000 frame) in decimal degre es //! - raJ2000 : right ascension angle (J2000 frame) in decimal degre es
//! - decJ2000 : declination angle (J2000 frame) in decimal degrees //! - decJ2000 : declination angle (J2000 frame) in decimal degrees
//! - glong : galactic longitude in decimal degrees //! - glong : galactic longitude in decimal degrees
//! - glat : galactic latitude in decimal degrees //! - glat : galactic latitude in decimal degrees
//! - sglong : supergalactic longitude in decimal degrees
//! - sglat : supergalactic latitude in decimal degrees
//! - elong : ecliptic longitude in decimal degrees (on Earth only!) //! - elong : ecliptic longitude in decimal degrees (on Earth only!)
//! - elat : ecliptic latitude in decimal degrees (on Earth only!) //! - elat : ecliptic latitude in decimal degrees (on Earth only!)
//! - elongJ2000 : ecliptic longitude (J2000 frame) in decimal degre //! - elongJ2000 : ecliptic longitude (Earth's J2000 frame) in decim
es (on Earth only!) al degrees
//! - elatJ2000 : ecliptic latitude (J2000 frame) in decimal degrees //! - elatJ2000 : ecliptic latitude (Earth's J2000 frame) in decimal
(on Earth only!) degrees
//! - vmag : visual magnitude //! - vmag : visual magnitude
//! - vmage : visual magnitude (extincted) //! - vmage : visual magnitude (extincted)
//! - size: angular size in radians //! - size: angular size in radians
//! - size-dd : angular size in decimal degrees //! - size-dd : angular size in decimal degrees
//! - size-deg : angular size in decimal degrees (formatted string) //! - size-deg : angular size in decimal degrees (formatted string)
//! - size-dms : angular size in DMS format //! - size-dms : angular size in DMS format
//! - localized-name : localized name //! - localized-name : localized name
//! - distance : distance to object in AU (for Solar system objects only!) //! - distance : distance to object in AU (for Solar system objects only!)
//! - phase : phase of object (for Solar system objects only!) //! - phase : phase of object (for Solar system objects only!)
//! - illumination : phase of object in percentages (for Solar syste m objects only!) //! - illumination : phase of object in percentages (for Solar syste m objects only!)
//! - phase-angle : phase angle of object in radians (for Solar syst em objects only!) //! - phase-angle : phase angle of object in radians (for Solar syst em objects only!)
//! - phase-angle-dms : phase angle of object in DMS (for Solar syst em objects only!) //! - phase-angle-dms : phase angle of object in DMS (for Solar syst em objects only!)
//! - phase-angle-deg : phase angle of object in decimal degrees (fo r Solar system objects only!) //! - phase-angle-deg : phase angle of object in decimal degrees (fo r Solar system objects only!)
//! - elongation : elongation of object in radians (for Solar system objects only!) //! - elongation : elongation of object in radians (for Solar system objects only!)
//! - elongation-dms : elongation of object in DMS (for Solar system objects only!) //! - elongation-dms : elongation of object in DMS (for Solar system objects only!)
//! - elongation-deg : elongation of object in decimal degrees (for Solar system objects only!) //! - elongation-deg : elongation of object in decimal degrees (for Solar system objects only!)
//! - ptype : object type (for Solar system objects only!)
QVariantMap getObjectInfo(const QString& name); QVariantMap getObjectInfo(const QString& name);
//! Fetch a map with data about an latest selected object's position , magnitude and so on //! Fetch a map with data about an latest selected object's position , magnitude and so on
//! @return a map of object data. Keys: //! @return a map of object data. Keys:
//! - altitude : apparent altitude angle in decimal degrees //! - altitude : apparent altitude angle in decimal degrees
//! - azimuth : apparent azimuth angle in decimal degrees //! - azimuth : apparent azimuth angle in decimal degrees
//! - altitude-geometric : geometric altitude angle in decimal degre es //! - altitude-geometric : geometric altitude angle in decimal degre es
//! - azimuth-geometric : geometric azimuth angle in decimal degrees //! - azimuth-geometric : geometric azimuth angle in decimal degrees
//! - ra : right ascension angle (current date frame) in decimal deg rees //! - ra : right ascension angle (current date frame) in decimal deg rees
//! - dec : declination angle in (current date frame) decimal degree s //! - dec : declination angle in (current date frame) decimal degree s
//! - raJ2000 : right ascension angle (J2000 frame) in decimal degre es //! - raJ2000 : right ascension angle (J2000 frame) in decimal degre es
//! - decJ2000 : declination angle in (J2000 frame) decimal degrees //! - decJ2000 : declination angle in (J2000 frame) decimal degrees
//! - glong : galactic longitude in decimal degrees //! - glong : galactic longitude in decimal degrees
//! - glat : galactic latitude in decimal degrees //! - glat : galactic latitude in decimal degrees
//! - sglong : supergalactic longitude in decimal degrees
//! - sglat : supergalactic latitude in decimal degrees
//! - elong : ecliptic longitude in decimal degrees (on Earth only!) //! - elong : ecliptic longitude in decimal degrees (on Earth only!)
//! - elat : ecliptic latitude in decimal degrees (on Earth only!) //! - elat : ecliptic latitude in decimal degrees (on Earth only!)
//! - elongJ2000 : ecliptic longitude (J2000 frame) in decimal degre //! - elongJ2000 : ecliptic longitude (Earth's J2000 frame) in decim
es (on Earth only!) al degrees
//! - elatJ2000 : ecliptic latitude (J2000 frame) in decimal degrees //! - elatJ2000 : ecliptic latitude (Earth's J2000 frame) in decimal
(on Earth only!) degrees
//! - vmag : visual magnitude //! - vmag : visual magnitude
//! - vmage : visual magnitude (extincted) //! - vmage : visual magnitude (extincted)
//! - size: angular size in radians //! - size: angular size in radians
//! - size-dd : angular size in decimal degrees //! - size-dd : angular size in decimal degrees
//! - size-deg : angular size in decimal degrees (formatted string) //! - size-deg : angular size in decimal degrees (formatted string)
//! - size-dms : angular size in DMS format //! - size-dms : angular size in DMS format
//! - name : english name //! - name : english name
//! - localized-name : localized name //! - localized-name : localized name
//! - distance : distance to object in AU (for Solar system objects only!) //! - distance : distance to object in AU (for Solar system objects only!)
//! - phase : phase of object (for Solar system objects only!) //! - phase : phase of object (for Solar system objects only!)
//! - illumination : phase of object in percentages (for Solar syste m objects only!) //! - illumination : phase of object in percentages (for Solar syste m objects only!)
//! - phase-angle : phase angle of object in radians (for Solar syst em objects only!) //! - phase-angle : phase angle of object in radians (for Solar syst em objects only!)
//! - phase-angle-dms : phase angle of object in DMS (for Solar syst em objects only!) //! - phase-angle-dms : phase angle of object in DMS (for Solar syst em objects only!)
//! - phase-angle-deg : phase angle of object in decimal degrees (fo r Solar system objects only!) //! - phase-angle-deg : phase angle of object in decimal degrees (fo r Solar system objects only!)
//! - elongation : elongation of object in radians (for Solar system objects only!) //! - elongation : elongation of object in radians (for Solar system objects only!)
//! - elongation-dms : elongation of object in DMS (for Solar system objects only!) //! - elongation-dms : elongation of object in DMS (for Solar system objects only!)
//! - elongation-deg : elongation of object in decimal degrees (for Solar system objects only!) //! - elongation-deg : elongation of object in decimal degrees (for Solar system objects only!)
//! - ptype : object type (for Solar system objects only!)
QVariantMap getSelectedObjectInfo(); QVariantMap getSelectedObjectInfo();
//! Clear the display options, setting a "standard" view. //! Clear the display options, setting a "standard" view.
//! Preset states: //! Preset states:
//! - natural : azimuthal mount, atmosphere, landscape, //! - natural : azimuthal mount, atmosphere, landscape,
//! no lines, labels or markers //! no lines, labels or markers
//! - starchart : equatorial mount, constellation lines, //! - starchart : equatorial mount, constellation lines,
//! no landscape, atmosphere etc. labels & markers on. //! no landscape, atmosphere etc. labels & markers on.
//! - deepspace : like starchart, but no planets, no eq.grid, no mar kers, no lines. //! - deepspace : like starchart, but no planets, no eq.grid, no mar kers, no lines.
//! - galactic : like deepspace, but in galactic coordinate system. //! - galactic : like deepspace, but in galactic coordinate system.
skipping to change at line 805 skipping to change at line 811
//! For use in setDate and waitFor //! For use in setDate and waitFor
//! For parameter descriptions see setDate(). //! For parameter descriptions see setDate().
//! @returns Julian day. //! @returns Julian day.
double jdFromDateString(const QString& dt, const QString& spec); double jdFromDateString(const QString& dt, const QString& spec);
// Methods wait() and waitFor() was added for documentation. // Methods wait() and waitFor() was added for documentation.
// Details: https://bugs.launchpad.net/stellarium/+bug/1402200 // Details: https://bugs.launchpad.net/stellarium/+bug/1402200
//! Pauses the script for \e t seconds //! Pauses the script for \e t seconds
//! @param t the number of seconds to wait //! @param t the number of seconds to wait
//! @note This method is pure JavaScript implementation. void wait(double t);
void wait(double t) { Q_UNUSED(t) }
//! Waits until a specified simulation date/time. This function //! Waits until a specified simulation date/time. This function
//! will take into account the rate (and direction) in which simulat ion //! will take into account the rate (and direction) in which simulat ion
//! time is passing. e.g. if a future date is specified and the //! time is passing. e.g. if a future date is specified and the
//! time is moving backwards, the function will return immediately. //! time is moving backwards, the function will return immediately.
//! If the time rate is 0, the function will not wait. This is to //! If the time rate is 0, the function will not wait. This is to
//! prevent infinite wait time. //! prevent infinite wait time.
//! @param dt the date string to use //! @param dt the date string to use
//! @param spec "local" or "utc" //! @param spec "local" or "utc"
//! @note This method is pure JavaScript implementation. void waitFor(const QString& dt, const QString& spec="utc");
void waitFor(const QString& dt, const QString& spec="utc") { Q_UNUSE
D(dt); Q_UNUSED(spec) }
signals: signals:
void requestLoadSkyImage(const QString& id, const QString& filename, void requestLoadSkyImage(const QString& id, const QString& filename,
double c1, double c 2, double c1, double c 2,
double c3, double c 4, double c3, double c 4,
double c5, double c 6, double c5, double c 6,
double c7, double c 8, double c7, double c 8,
double minRes, doub le maxBright, bool visible); double minRes, doub le maxBright, bool visible);
void requestLoadSkyImageAltAz(const QString& id, const QString& file name, void requestLoadSkyImageAltAz(const QString& id, const QString& file name,
double c1, double c 2, double c1, double c 2,
 End of changes. 8 change blocks. 
13 lines changed or deleted 16 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/