StelMainScriptAPI.hpp   StelMainScriptAPI.hpp 
skipping to change at line 80 skipping to change at line 80
//! the ISO date type is used. //! the ISO date type is used.
void setDate(const QString& dt, const QString& spec="utc"); void setDate(const QString& dt, const QString& spec="utc");
//! get the simulation date and time as a string in ISO format, //! get the simulation date and time as a string in ISO format,
//! e.g. "2008-03-24T13:21:01" //! e.g. "2008-03-24T13:21:01"
//! @param spec if "utc", the returned string's timezone is UTC, //! @param spec if "utc", the returned string's timezone is UTC,
//! else it is local time. //! else it is local time.
//! @return the current simulation time. //! @return the current simulation time.
QString getDate(const QString& spec="utc"); QString getDate(const QString& spec="utc");
//! get the DeltaT for the simulation date and time as a string
//! in HMS format, e.g. "0h1m68.2s"
//! @return the DeltaT for current simulation time.
QString getDeltaT() const;
//! Set time speed in JDay/sec //! Set time speed in JDay/sec
//! @param ts the new rate of passage of time as a multiple of real time. //! @param ts the new rate of passage of time as a multiple of real time.
//! For example if ts is 1, time will pass at the normal rate. If t s == 10 //! For example if ts is 1, time will pass at the normal rate. If t s == 10
//! then simulation time will pass at 10 times the normal rate. //! then simulation time will pass at 10 times the normal rate.
//! If ts is negative, simulation time will go backwards. //! If ts is negative, simulation time will go backwards.
void setTimeRate(double ts); void setTimeRate(double ts);
//! Get simulation time rate. //! Get simulation time rate.
//! @return time speed as a multiple of real time. //! @return time speed as a multiple of real time.
double getTimeRate() const; double getTimeRate() const;
skipping to change at line 117 skipping to change at line 122
//! returned. //! returned.
//! @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 : declenation angle in (current date frame) decimal degree s //! - dec : declenation 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 : declenation angle in (J2000 frame) decimal degrees //! - decJ2000 : declenation angle in (J2000 frame) decimal degrees
//! @deprecated Use getObjectInfo()
QVariantMap getObjectPosition(const QString& name); QVariantMap getObjectPosition(const QString& name);
//! Fetch a map with data about an object's position, magnitude and
so on
//! @param name is the English name of the object for which data wil
l be
//! returned.
//! @return a map of object data. Keys:
//! - altitude : apparent altitude angle in decimal degrees
//! - azimuth : apparent azimuth angle in decimal degrees
//! - altitude-geometric : geometric altitude angle in decimal degre
es
//! - azimuth-geometric : geometric azimuth angle in decimal degrees
//! - ra : right ascension angle (current date frame) in decimal deg
rees
//! - dec : declenation angle in (current date frame) decimal degree
s
//! - raJ2000 : right ascension angle (J2000 frame) in decimal degre
es
//! - decJ2000 : declenation angle in (J2000 frame) decimal degrees
//! - glongJ2000 : galactic longitude (J2000 frame) in decimal degre
es
//! - glatJ2000 : galactic latitude in (J2000 frame) decimal degrees
//! - vmag : visual magnitude
//! - vmage : visual magnitude (extincted)
//! - size : angular size in decimal degrees
//! - localized-name : localized name
QVariantMap getObjectInfo(const QString& name);
//! 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, atmoshere etc. labels & markers on. //! no landscape, atmoshere etc. labels & markers on.
//! @param state the name of a preset state. //! @param state the name of a preset state.
void clear(const QString& state="natural"); void clear(const QString& state="natural");
//! Get the current viewing direction altitude angle at center of vi ew. //! Get the current viewing direction altitude angle at center of vi ew.
skipping to change at line 213 skipping to change at line 239
//! Get the ID of the current observer location. //! Get the ID of the current observer location.
QString getObserverLocation(); QString getObserverLocation();
//! Get the info of the current observer location. //! Get the info of the current observer location.
//! @return a map of object data. Keys: //! @return a map of object data. Keys:
//! - altitude : altitude in meters //! - altitude : altitude in meters
//! - longitude : longitude in decimal degrees //! - longitude : longitude in decimal degrees
//! - latitude : latitude in decimal degrees //! - latitude : latitude in decimal degrees
//! - planet : name of planet //! - planet : name of planet
//! - location : city and country //! - location : city and country
//! - sidereal-year : duration of the sidereal year on the planet in
Earth's days (since 0.12.0)
//! - sidereal-day : duration of the sidereal day on the planet in E
arth's hours (since 0.12.0)
//! - solar-day : duration of the mean solar day on the planet in Ea
rth's hours (since 0.12.0)
QVariantMap getObserverLocationInfo(); QVariantMap getObserverLocationInfo();
//! Save a screenshot. //! Save a screenshot.
//! @param prefix the prefix for the file name to use //! @param prefix the prefix for the file name to use
//! @param dir the path of the directory to save the screenshot in. If //! @param dir the path of the directory to save the screenshot in. If
//! none is specified, the default screenshot directory will be used . //! none is specified, the default screenshot directory will be used .
//! @param invert whether colors have to be inverted in the output i mage //! @param invert whether colors have to be inverted in the output i mage
void screenshot(const QString& prefix, bool invert=false, const QStr ing& dir=""); void screenshot(const QString& prefix, bool invert=false, const QStr ing& dir="");
//! Show or hide the GUI (toolbars). Note this only applies to GUI plugins which //! Show or hide the GUI (toolbars). Note this only applies to GUI plugins which
skipping to change at line 553 skipping to change at line 582
//! @return two letter language code, e.g. "en", or "de" and so on. //! @return two letter language code, e.g. "en", or "de" and so on.
QString getSkyLanguage(); QString getSkyLanguage();
//! Set the current sky language. //! Set the current sky language.
//! @param langCode two letter language code, e.g. "en", or "de". //! @param langCode two letter language code, e.g. "en", or "de".
void setSkyLanguage(QString langCode); void setSkyLanguage(QString langCode);
//! Go to defaults position and direction of view //! Go to defaults position and direction of view
void goHome(); void goHome();
//! Show or hide the Milky Way.
//! @param b if true, show the Milky Way, if false, hide the Milky W
ay.
void setMilkyWayVisible(bool b);
//! Set Milky Way intensity.
//! @param i value of intensity for the Milky Way
void setMilkyWayIntensity(float i);
//! Get Milky Way intensity.
//! @return value of Milky Way intensity, e.g. "1.2"
float getMilkyWayIntensity();
//! 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);
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,
 End of changes. 5 change blocks. 
0 lines changed or deleted 52 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/