remoteControlApi.doxygen   remoteControlApi.doxygen 
skipping to change at line 179 skipping to change at line 179
\subsubsection rcMainServicePOST POST operations \subsubsection rcMainServicePOST POST operations
Implemented by MainService::postImpl Implemented by MainService::postImpl
\paragraph rcMainServiceTime time \paragraph rcMainServiceTime time
Parameters: <tt>time (Number) timerate (Number)</tt>\n Parameters: <tt>time (Number) timerate (Number)</tt>\n
Sets the current Stellarium simulation time and/or timerate. The \p time pa rameter defines the current time (Julian day) as passed to StelCore::setJD. Sets the current Stellarium simulation time and/or timerate. The \p time pa rameter defines the current time (Julian day) as passed to StelCore::setJD.
The \p timerate parameter allows to change the speed at which the simulatio n time moves (in JDay/sec) as passed to StelCore::setTimeRate. The \p timerate parameter allows to change the speed at which the simulatio n time moves (in JDay/sec) as passed to StelCore::setTimeRate.
\paragraph rcMainServiceFocus focus \paragraph rcMainServiceFocus focus
Parameters: <tt>[target (String) | position (JSON Number Array of size 3, i .e. Vec3d)]</tt>\n Parameters: <tt>[target (String) | position (JSON Number Array of size 3, i .e. Vec3d)] [mode (String)]</tt>\n
Sets the current app focus/selection. If no parameters are given, the curre nt selection is cleared. Sets the current app focus/selection. If no parameters are given, the curre nt selection is cleared.
If the \p target parameter was given, the object to be selected is looked u p by name (first the localized name is tried, then the english name). If the \p target parameter was given, the object to be selected is looked u p by name (first the localized name is tried, then the english name).
If the \p position parameter is used, it is interpreted as a coordinate in If the optional \p mode parameter is given, it determines how to change the
the J2000 frame, and focused using StelMovementMgr::moveToJ2000 view. The default is \c 'center' which selects the object and moves it int
o the view's center.
If it is set to \c 'zoom', it automatically zooms in on the object (StelMov
ementMgr::autoZoomIn) on selection and automatically zooms out when the sel
ection is cleared.
If it is set to \c 'mark', the selection is just marked, but no view adjust
ment is done.
If the \p position parameter is used, it is interpreted as a coordinate in
the J2000 frame, and focused using StelMovementMgr::moveToJ2000. The \p mod
e parameter has no effect here.
The \p target parameter takes precendence over the \p position parameter, i
f both are given.
\paragraph rcMainServiceMove move \paragraph rcMainServiceMove move
Parameters: <tt>x (Number) y (Number)</tt>\n Parameters: <tt>x (Number) y (Number)</tt>\n
Allows viewport movement, like using the arrow keys in the main program. Th is allows interfaces to create a "virtual joystick" to move the view manual ly. Allows viewport movement, like using the arrow keys in the main program. Th is allows interfaces to create a "virtual joystick" to move the view manual ly.
This operation defines the intended move direction. \p x and \p y define t he intended This operation defines the intended move direction. \p x and \p y define t he intended
move speed in azimuth and altitude (i.e. a negative \p x means left). Value s of +-1.0 correspond to the same speed as used for the arrow keys. move speed in azimuth and altitude (i.e. a negative \p x means left). Value s of +-1.0 correspond to the same speed as used for the arrow keys.
This operation works in conjunction with the update() method - until the mo vement is stopped This operation works in conjunction with the update() method - until the mo vement is stopped
(i.e. \p x and \p y are zero), or no \c move command has been received for a specified time (about a second), the movement is performed in the given d irections. (i.e. \p x and \p y are zero), or no \c move command has been received for a specified time (about a second), the movement is performed in the given d irections.
\paragraph rcMainServiceView view \paragraph rcMainServiceView view
Parameters: <tt>az (Number) alt (Number)</tt>\n Parameters: <tt>j2000 (Vec3d) | altAz (Vec3d) | (az (Number) alt (Number))<
Sets the view direction in altitude/azimut coordinates. \p az and \p alt mu /tt>\n
st be given in radians. Omitting one value will keep the relevant coordinat Sets the view direction. When the \p j2000 parameter is given (interpreted
e unchanged. as JSON Number Array of size 3),
it sets the view in J2000 coordinates (see StelMovementMgr::setViewDirectio
nJ2000).
When the \p altAz parameter is given, the 3-element vector is interpreted a
s if in the
rectangular surface direction frame centered on the current location.
For example, <tt>[1,0,0]</tt> would point the view directly south, and <tt>
[0,1,0]</tt> directly east.
The last parameter style provides the view in altitude/azimuth spherical co
ordinates/angles.
\p az and \p alt must be given in radians. Omitting one value will keep the
relevant coordinate unchanged.
\paragraph rcMainServiceFov fov \paragraph rcMainServiceFov fov
Parameters: <tt>fov (Number)</tt>\n Parameters: <tt>fov (Number)</tt>\n
Sets the current field-of-view using StelCore::setFov Sets the current field-of-view using StelCore::setFov
\subsection rcObjectService ObjectService operations (/api/objects/) \subsection rcObjectService ObjectService operations (/api/objects/)
\subsubsection rcObjectServiceGET GET operations \subsubsection rcObjectServiceGET GET operations
Implemented by ObjectService::getImpl Implemented by ObjectService::getImpl
\paragraph rcObjectServiceFind find \paragraph rcObjectServiceFind find
 End of changes. 3 change blocks. 
7 lines changed or deleted 29 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/