StelMainScriptAPI.hpp   StelMainScriptAPI.hpp 
skipping to change at line 220 skipping to change at line 220
//! - 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!)
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, atmoshere 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.
//! @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.
//! @return the altitude angle in decimal degrees. //! @return the altitude angle in decimal degrees.
//! 0 is horizon, zenith is 180, nadir = -180. //! 0 is horizon, zenith is 180, nadir = -180.
double getViewAltitudeAngle(); double getViewAltitudeAngle();
//! Get the current viewing direction azimuth angle at center of vie w. //! Get the current viewing direction azimuth angle at center of vie w.
//! @return the azimuth angle in decimal degrees as a compass bearin g //! @return the azimuth angle in decimal degrees as a compass bearin g
skipping to change at line 312 skipping to change at line 313
//! 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-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) //! - 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) //! - solar-day : duration of the mean solar day on the planet in Ea rth's hours (since 0.12.0)
//! - local-sidereal-time : local sidereal time on the planet in hou
rs (since 0.13.3)
//! - local-sidereal-time-hms : local sidereal time on the planet in
hours in HMS format (since 0.13.3)
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 387 skipping to change at line 390
void setProjectionMode(const QString& id); void setProjectionMode(const QString& id);
//! Get the status of the disk viewport //! Get the status of the disk viewport
//! @return true if the disk view port is currently enabled //! @return true if the disk view port is currently enabled
bool getDiskViewport(); bool getDiskViewport();
//! Set the disk viewport //! Set the disk viewport
//! @param b if true, sets the disk viewport on, else sets it off //! @param b if true, sets the disk viewport on, else sets it off
void setDiskViewport(bool b); void setDiskViewport(bool b);
//! Set the viewport distortion effect
//! @param b if true, sets the spherical mirror distortion effect fo
r viewport on, else sets it off
void setSphericMirror(bool b);
//! Get a list of Sky Culture IDs //! Get a list of Sky Culture IDs
//! @return a list of valid sky culture IDs //! @return a list of valid sky culture IDs
QStringList getAllSkyCultureIDs(); QStringList getAllSkyCultureIDs();
//! Find out the current sky culture //! Find out the current sky culture
//! @return the ID of the current sky culture (i.e. the name of the directory in //! @return the ID of the current sky culture (i.e. the name of the directory in
//! which the curret sky cultures files are found, e.g. "western") //! which the curret sky cultures files are found, e.g. "western")
QString getSkyCulture(); QString getSkyCulture();
//! Set the current sky culture //! Set the current sky culture
 End of changes. 3 change blocks. 
1 lines changed or deleted 12 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/