Changeset 2892 for trunk/packages
- Timestamp:
- Mar 28, 2012, 11:38:33 AM (13 years ago)
- Location:
- trunk/packages/vizservers
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/vtkvis/protocol.txt
r2771 r2892 1 1 ================================================================================ 2 On connection, send 32-bit little endian int indicating memory requirements 3 (comsumed by nanoscale server before exec-ing vtkvis) 2 ================================================================================ 3 Protocol for vtkvis render server. 4 5 Commands take the general form of command and arguments using Tcl syntax and are 6 terminated by a newline. Some command arguments expect a Tcl list which can be 7 sent by enclosing the list in curly braces to prevent the interpreter from 8 splitting the list into multiple arguments. Likewise, strings with spaces 9 should be quoted or enclosed in curly braces. In the documentation below, 10 arguments are indicated by angle brackets and optional arguments are surrounded 11 by question marks -- the brackets and question marks are not part of the 12 protocol and should not be included in argument strings. The arguments shown 13 in angle brackets should be replaced with a string (where there are fixed 14 choices this document indicates valid values by separating them with pipe 15 symbols), a list in Tcl syntax, or a numeric value. Boolean arguments can take 16 the form of 0|1, true|false, or yes|no. Since the protocol commands are 17 executed in a Tcl interpreter, Tcl code such as math expressions in expr 18 commands enclosed in square brackets are also allowed. Since the interpreter 19 is a "safe" interpreter, some Tcl commands that could cause security issues may 20 not be available for use. 21 22 When binary data is to be sent, it should follow the newline after a command 23 that indicates incoming data including a byte count argument. 24 ================================================================================ 4 25 ================================================================================ 5 26 Requests: 6 27 ================================================================================ 7 28 screen bgcolor <r> <g> <b> 8 29 screen size <width> <height> … … 377 398 ================================================================================ 378 399 Replies: 379 400 ================================================================================ 380 401 nv>camera set <posX> <posY> <posZ> <focalPtX> <focalPtY> <focalPtZ> <viewUpX> <viewUpY> <viewUpZ> 381 402 Reply to "camera get" … … 396 417 397 418 ================================================================================ 398 Error s:399 419 Error Replies: 420 ================================================================================ 400 421 Prefixed with "VtkVis Server Error: " 401 422 Currently not guaranteed to be on a single line 423 ================================================================================
Note: See TracChangeset
for help on using the changeset viewer.