================================================================================ ================================================================================ Protocol for geovis render server. Commands take the general form of command and arguments using Tcl syntax and are terminated by a newline. Some command arguments expect a Tcl list which can be sent by enclosing the list in curly braces to prevent the interpreter from splitting the list into multiple arguments. Likewise, strings with spaces should be quoted or enclosed in curly braces. In the documentation below, arguments are indicated by angle brackets and optional arguments are surrounded by question marks -- the brackets and question marks are not part of the protocol and should not be included in argument strings. The arguments shown in angle brackets should be replaced with a string (where there are fixed choices this document indicates valid values by separating them with pipe symbols), a list in Tcl syntax, or a numeric value. Boolean arguments can take the form of 0|1, true|false, or yes|no. Since the protocol commands are executed in a Tcl interpreter, Tcl code such as math expressions in expr commands enclosed in square brackets are also allowed. Since the interpreter is a "safe" interpreter, some Tcl commands that could cause security issues may not be available for use. When binary data is to be sent, it should follow the newline after a command that indicates incoming data including a byte count argument. ================================================================================ ================================================================================ Requests: ================================================================================ == General dataset, scene and renderer commands == camera orient Set scene orientation using a quaternion camera pan viewport coordinates (window center at 0,0). Positive x pan means pan object to right (camera to left). Positive y pan means pan object down (camera up). For example a pan of 0.5, 0.5 would move the object center to the lower right corner of the window camera reset Option all resets orientation/rotation as well as pan/zoom/clip range camera rotate Specify relative rotation in viewport coordinates camera zoom Specify zoom ratio. z > 1 is a zoom in, z < 1 is zoom out. z = 1 resets to default. clientinfo mouse click