1 | ================================================================================ |
---|
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 | ================================================================================ |
---|
25 | ================================================================================ |
---|
26 | Requests: |
---|
27 | ================================================================================ |
---|
28 | screen bgcolor <r> <g> <b> |
---|
29 | screen size <width> <height> |
---|
30 | |
---|
31 | renderer clipplane <axis> <ratio> <direction> |
---|
32 | Set a user clipping plane, ratio is [0,1] and is always interpreted as |
---|
33 | 0 = min_bound, 1 = max_bound, regardless of direction. Sign of |
---|
34 | direction determines normal of clipping plane. User clip planes do not |
---|
35 | apply if camera mode is image. |
---|
36 | renderer depthpeel <bool> |
---|
37 | Set use of depth peeling algorithm for transparency |
---|
38 | renderer light2side <bool> |
---|
39 | Toggle use of two-sided lighting (controls if backfaces are lit with a |
---|
40 | flipped normal) |
---|
41 | renderer render |
---|
42 | Force a new image to be rendered - use for advancing animation |
---|
43 | |
---|
44 | axis color <r> <g> <b> |
---|
45 | Set color of axis lines, labels, titles, ticks |
---|
46 | axis flymode <mode> |
---|
47 | <mode> = static_edges|static_triad|outer_edges|furthest_triad|closest_triad |
---|
48 | axis grid <axis> <bool> |
---|
49 | <axis> = x|y|z|all |
---|
50 | axis labels <axis> <bool> |
---|
51 | Toggle visibility of axis labels |
---|
52 | <axis> = x|y|z|all |
---|
53 | axis name <axis> <title> |
---|
54 | axis tickpos <position> |
---|
55 | Set position of ticks on 3D axes (not implemented for 2D axes) |
---|
56 | <position> = inside|outside|both |
---|
57 | axis ticks <axis> <bool> |
---|
58 | Toggle visibility of axis tick marks |
---|
59 | <axis> = x|y|z|all |
---|
60 | axis units <axis> <units> |
---|
61 | Currently only supported when camera mode is not image mode |
---|
62 | axis visible <axis> <bool> |
---|
63 | <axis> = x|y|z|all |
---|
64 | Note: 'all' means all enabled axes. To force all axes on, set each axis on |
---|
65 | individually -- however, it is best to let the server determine which of |
---|
66 | the individual axes are enabled based on the dataset bounds. |
---|
67 | |
---|
68 | camera get |
---|
69 | Request current camera parameters |
---|
70 | camera mode <mode> |
---|
71 | <mode> = persp|ortho|image |
---|
72 | camera orient <quatW> <quatX> <quatY> <quatZ> |
---|
73 | Set scene orientation using a quaternion |
---|
74 | camera ortho <coordMode> <x> <y> <width> <height> |
---|
75 | <coordMode> = pixel|world |
---|
76 | Supply bounds of plot area for image camera mode |
---|
77 | camera pan <x> <y> |
---|
78 | <x,y> viewport coordinates (window center at 0,0). Positive x pan |
---|
79 | means pan object to right (camera to left). Positive y pan means |
---|
80 | pan object down (camera up). For example a pan of 0.5, 0.5 would |
---|
81 | move the object center to the lower right corner of the window |
---|
82 | camera reset <?all?> |
---|
83 | Option all resets orientation/rotation as well as pan/zoom/clip range |
---|
84 | camera rotate <yaw> <pitch> <roll> |
---|
85 | Specify relative rotation in Euler angles |
---|
86 | camera set <posX> <posY> <posZ> <focalPtX> <focalPtY> <focalPtZ> <viewUpX> <viewUpY> <viewUpZ> |
---|
87 | Set camera parameters: camera position, focal point and view up vector |
---|
88 | camera zoom <z> |
---|
89 | Specify zoom ratio. z > 1 is a zoom in, z < 1 is zoom out. z = 1 |
---|
90 | resets to default. |
---|
91 | |
---|
92 | colormap add <colorMapName> <colorMap> <opacityMap> |
---|
93 | colorMap = Tcl list of {value r g b} control points |
---|
94 | opacityMap = Tcl list of {value alpha} control points |
---|
95 | colormap delete <?colorMapName?> |
---|
96 | |
---|
97 | legend <colormapName> <legendType> <fieldName> <legendTitle> <width> <height> <numLabels> <?datasetName?> |
---|
98 | Causes legend to be rendered and written back with labels and title |
---|
99 | (title may be left blank) |
---|
100 | <legendType> = scalar|vmag|vx|vy|vz |
---|
101 | <numLabels> Can be zero or more 'tick' value labels |
---|
102 | If datasetName is omitted, the cumulative data range of all data sets |
---|
103 | will be used to label the legend -- otherwise, the current setting of |
---|
104 | 'dataset maprange' will be used to determine if the individual dataset |
---|
105 | range or cumulative range will be used. |
---|
106 | |
---|
107 | dataset add <datasetName> data follows <nbytes> |
---|
108 | dataset color <r> <g> <b> <?datasetName?> |
---|
109 | Set color of outline bounding box |
---|
110 | dataset delete <?datasetName?> |
---|
111 | dataset getscalar world <x> <y> <z> <datasetName> |
---|
112 | dataset getscalar pixel <x> <y> <datasetName> |
---|
113 | dataset getvector world <x> <y> <z> <datasetName> |
---|
114 | dataset getvector pixel <x> <y> <datasetName> |
---|
115 | Use pixel for image camera mode |
---|
116 | dataset maprange <val> |
---|
117 | <val> = all|visible|separate |
---|
118 | Controls if data range for colormapping and contours is based on |
---|
119 | cumulative range of all datasets ("all"), only visible datasets |
---|
120 | ("visible") or each individual dataset ("separate"). Defaults to |
---|
121 | "all" |
---|
122 | dataset opacity <val> <?datasetName?> |
---|
123 | dataset outline <bool> <?datasetName?> |
---|
124 | Toggle wireframe outline of dataset's bounding box |
---|
125 | dataset scalar <scalarName> <?datasetName?> |
---|
126 | Set the active scalar field to plot |
---|
127 | dataset vector <vectorName> <?datasetName?> |
---|
128 | Set the active vector field to plot |
---|
129 | dataset visible <bool> <?datasetName?> |
---|
130 | |
---|
131 | contour2d add numcontours <n> <?datasetName?> |
---|
132 | Generate evenly spaced contours including range endpoints. See also |
---|
133 | 'dataset maprange' command. |
---|
134 | contour2d add contourlist <list> <?datasetName?> |
---|
135 | list = {isoval1 isoval2 isoval3...} |
---|
136 | contour2d color <r> <g> <b> <?datasetName?> |
---|
137 | synonym for linecolor |
---|
138 | contour2d delete <?datasetName?> |
---|
139 | contour2d lighting <bool> <?datasetName?> |
---|
140 | contour2d linecolor <r> <g> <b> <?datasetName?> |
---|
141 | synonym for color |
---|
142 | contour2d linewidth <val> <?datasetName?> |
---|
143 | contour2d opacity <val> <?datasetName?> |
---|
144 | contour2d orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
145 | contour2d pos <x> <y> <z> <?dataSetName?> |
---|
146 | contour2d scale <sx> <sy> <sz> <?dataSetName?> |
---|
147 | contour2d visible <bool> <?datasetName?> |
---|
148 | |
---|
149 | contour3d add numcontours <n> <?datasetName?> |
---|
150 | Generate evenly spaced contours including range endpoints. See also |
---|
151 | 'dataset maprange' command. |
---|
152 | contour3d add contourlist <list> <?datasetName?> |
---|
153 | list = {isoval1 isoval2 isoval3...} |
---|
154 | contour3d ccolor r g b <?datasetName?> |
---|
155 | contour3d colormap <colorMapName> <?dataSetName?> |
---|
156 | contour3d delete <?datasetName?> |
---|
157 | contour3d edges <bool> <?datasetName?> |
---|
158 | contour3d lighting <bool> <?datasetName?> |
---|
159 | contour3d linecolor <r> <g> <b> <?datasetName?> |
---|
160 | contour3d linewidth <val> <?datasetName?> |
---|
161 | contour3d opacity <val> <?datasetName?> |
---|
162 | contour3d orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
163 | contour3d pos <x> <y> <z> <?dataSetName?> |
---|
164 | contour3d scale <sx> <sy> <sz> <?dataSetName?> |
---|
165 | contour3d visible <bool> <?datasetName?> |
---|
166 | contour3d wireframe <bool> <?datasetName?> |
---|
167 | |
---|
168 | cutplane add <?dataSetName?> |
---|
169 | cutplane axis <axis> <bool> <?dataSetName?> |
---|
170 | Toggle visibility of the 3 principal axis cutplanes |
---|
171 | cutplane ccolor r g b <?datasetName?> |
---|
172 | Set color of outline bounding box |
---|
173 | cutplane colormap <colorMapName> <?dataSetName?> |
---|
174 | cutplane colormode <scalar|vmag|vx|vy|vz> <fieldName> <?datasetName?> |
---|
175 | Set the field used to color the object. 'scalar' uses |
---|
176 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
177 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
178 | the active vector field. |
---|
179 | cutplane delete <?dataSetName?> |
---|
180 | cutplane edges <bool> <?dataSetName?> |
---|
181 | cutplane lighting <bool> <?dataSetName?> |
---|
182 | cutplane linecolor <r> <g> <b> <?dataSetName?> |
---|
183 | cutplane linewidth <width> <?dataSetName?> |
---|
184 | cutplane opacity <value> <?dataSetName?> |
---|
185 | cutplane orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
186 | cutplane outline <bool> <?dataSetName?> |
---|
187 | Toggle rendering of cutplane outlines |
---|
188 | cutplane pos <x> <y> <z> <?dataSetName?> |
---|
189 | cutplane scale <sx> <sy> <sz> <?dataSetName?> |
---|
190 | cutplane slice axis ratio <?dataSetName?> |
---|
191 | For 3D data, select a slice along a principle axis of the volume. The |
---|
192 | ratio is [0,1] |
---|
193 | cutplane visible <bool> <?dataSetName?> |
---|
194 | cutplane wireframe <bool> <?datasetName?> |
---|
195 | |
---|
196 | glyphs add <shape> <?dataSetName?> |
---|
197 | See 'glyphs shape' for list of shapes |
---|
198 | glyphs ccolor r g b <?datasetName?> |
---|
199 | glyphs colormap <colorMapName> <?dataSetName?> |
---|
200 | glyphs colormode <scalar|vmag|vx|vy|vz|ccolor> <fieldName> <?dataSetName?> |
---|
201 | Set the color mode: color by scalar field or |
---|
202 | vector magnitude -- uses the current color map, |
---|
203 | or ccolor for constant color |
---|
204 | glyphs delete <?dataSetName?> |
---|
205 | glyphs edges <bool> <?datasetName?> |
---|
206 | glyphs gorient <bool> <fieldName> <?datasetName?> |
---|
207 | Set the glyph orientation mode: orient glyphs by |
---|
208 | a named vector field, or set to default orientation (off) |
---|
209 | glyphs gscale <scaleFactor> <?datasetName?> |
---|
210 | Set glyph scaling factor |
---|
211 | glyphs lighting <bool> <?datasetName?> |
---|
212 | glyphs linecolor <r> <g> <b> <?datasetName?> |
---|
213 | glyphs linewidth <val> <?datasetName?> |
---|
214 | glyphs normscale <bool> <?datasetName?> |
---|
215 | Control if data values are normalized to [0,1] range before applying |
---|
216 | glyph scaling factor (gscale) |
---|
217 | glyphs opacity <val> <?datasetName?> |
---|
218 | glyphs orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
219 | glyphs pos <x> <y> <z> <?dataSetName?> |
---|
220 | glyphs scale <sx> <sy> <sz> <?dataSetName?> |
---|
221 | glyphs shape <arrow|cone|cube|cylinder|dodecahedron|icosahedron|line|octahedron|sphere|tetrahedron> <?datasetName?> |
---|
222 | glyphs smode <scalar|vmag|vcomp|off> <fieldName> <?dataSetName?> |
---|
223 | Set the scaling mode: use the scalar field, vector magnitude |
---|
224 | (uniform scale), vector components, or disable scaling |
---|
225 | glyphs visible <bool> <?datasetName?> |
---|
226 | glyphs wireframe <bool> <?datasetName?> |
---|
227 | |
---|
228 | heightmap add numcontours <n> <heightScale> <?dataSetName?> |
---|
229 | Generate evenly spaced contours including range endpoints. See also |
---|
230 | 'dataset maprange' command. |
---|
231 | heightmap add contourlist <list> <heightScale> <?dataSetName?> |
---|
232 | list = {isoval1 isoval2 isoval3...} |
---|
233 | heightmap colormap <colorMapName> <?dataSetName?> |
---|
234 | heightmap contourlist <list> <?dataSetName?> |
---|
235 | heightmap delete <?dataSetName?> |
---|
236 | heightmap edges <bool> <?dataSetName?> |
---|
237 | heightmap heightscale <value> <?dataSetName?> |
---|
238 | heightmap isolinecolor <r> <g> <b> <?dataSetName?> |
---|
239 | heightmap isolines <bool> <?dataSetName?> |
---|
240 | heightmap isolinewidth <width> <?dataSetName?> |
---|
241 | heightmap lighting <bool> <?dataSetName?> |
---|
242 | heightmap linecolor <r> <g> <b> <?dataSetName?> |
---|
243 | heightmap linewidth <width> <?dataSetName?> |
---|
244 | heightmap numcontours <n> <?dataSetName?> |
---|
245 | heightmap opacity <value> <?dataSetName?> |
---|
246 | heightmap orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
247 | heightmap pos <x> <y> <z> <?dataSetName?> |
---|
248 | heightmap scale <sx> <sy> <sz> <?dataSetName?> |
---|
249 | heightmap slice <axis> <ratio> <?dataSetName?> |
---|
250 | For 3D data, select a slice along a principle axis of the volume. The |
---|
251 | ratio is [0,1] |
---|
252 | heightmap surface <bool> <?dataSetName?> |
---|
253 | Toggle rendering of colormapped surface (mountain plot or cutplane) |
---|
254 | heightmap visible <bool> <?dataSetName?> |
---|
255 | heightmap wireframe <bool> <?datasetName?> |
---|
256 | |
---|
257 | lic add <?datasetName?> |
---|
258 | lic colormap <colormapName> <?datasetName?> |
---|
259 | lic delete <?datasetName?> |
---|
260 | lic edges <bool> <?datasetName?> |
---|
261 | lic lighting <bool> <?datasetName?> |
---|
262 | lic linecolor <r> <g> <b> <?datasetName?> |
---|
263 | lic linewidth <val> <?datasetName?> |
---|
264 | lic opacity <val> <?datasetName?> |
---|
265 | lic orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
266 | lic pos <x> <y> <z> <?dataSetName?> |
---|
267 | lic scale <sx> <sy> <sz> <?dataSetName?> |
---|
268 | lic slice <axis> <ratio> <?datasetName?> |
---|
269 | For 3D data, select a slice along a principle axis of the volume. The |
---|
270 | ratio is [0,1] |
---|
271 | lic visible <bool> <?datasetName?> |
---|
272 | |
---|
273 | molecule add <?datasetName?> |
---|
274 | molecule atoms <bool> <?datasetName?> |
---|
275 | Toggle rendering of atoms |
---|
276 | molecule ascale <val> <?datasetName?> |
---|
277 | Set atom scale factor |
---|
278 | molecule bonds <bool> <?datasetName?> |
---|
279 | Toggle rendering of bonds |
---|
280 | molecule bscale <val> <?datasetName?> |
---|
281 | Set bond scale factor |
---|
282 | molecule colormap <colormapName> <?datasetName?> |
---|
283 | molecule delete <?datasetName?> |
---|
284 | molecule edges <bool> <?datasetName?> |
---|
285 | molecule lighting <bool> <?datasetName?> |
---|
286 | molecule linecolor <r> <g> <b> <?datasetName?> |
---|
287 | molecule linewidth <val> <?datasetName?> |
---|
288 | molecule opacity <val> <?datasetName?> |
---|
289 | molecule orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
290 | molecule pos <x> <y> <z> <?dataSetName?> |
---|
291 | molecule rscale <val> <?dataSetName?> |
---|
292 | Atom radius scaling |
---|
293 | val = van_der_waals|covalent|atomic|none |
---|
294 | molecule scale <sx> <sy> <sz> <?dataSetName?> |
---|
295 | molecule visible <bool> <?datasetName?> |
---|
296 | molecule wireframe <bool> <?datasetName?> |
---|
297 | |
---|
298 | polydata add <?datasetName?> |
---|
299 | polydata color <r> <g> <b> <?datasetName?> |
---|
300 | polydata delete <?datasetName?> |
---|
301 | polydata edges <bool> <?datasetName?> |
---|
302 | polydata lighting <bool> <?datasetName?> |
---|
303 | polydata linecolor <r> <g> <b> <?datasetName?> |
---|
304 | polydata linewidth <val> <?datasetName?> |
---|
305 | polydata opacity <val> <?datasetName?> |
---|
306 | polydata orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
307 | polydata pos <x> <y> <z> <?dataSetName?> |
---|
308 | polydata ptsize <size> <?dataSetName?> |
---|
309 | polydata scale <sx> <sy> <sz> <?dataSetName?> |
---|
310 | polydata visible <bool> <?datasetName?> |
---|
311 | polydata wireframe <bool> <?datasetName?> |
---|
312 | |
---|
313 | pseudocolor add <?datasetName?> |
---|
314 | pseudocolor ccolor r g b <?datasetName?> |
---|
315 | pseudocolor colormap <colormapName> <?datasetName?> |
---|
316 | pseudocolor colormode <scalar|vmag|vx|vy|vz|ccolor> <fieldName> <?datasetName?> |
---|
317 | Set the field used to color the object. 'ccolor' means to use |
---|
318 | the constant color defined by the ccolor subcommand. 'scalar' uses |
---|
319 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
320 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
321 | the active vector field. |
---|
322 | pseudocolor delete <?datasetName?> |
---|
323 | pseudocolor edges <bool> <?datasetName?> |
---|
324 | pseudocolor lighting <bool> <?datasetName?> |
---|
325 | pseudocolor linecolor <r> <g> <b> <?datasetName?> |
---|
326 | pseudocolor linewidth <val> <?datasetName?> |
---|
327 | pseudocolor opacity <val> <?datasetName?> |
---|
328 | pseudocolor orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
329 | pseudocolor pos <x> <y> <z> <?dataSetName?> |
---|
330 | pseudocolor scale <sx> <sy> <sz> <?dataSetName?> |
---|
331 | pseudocolor visible <bool> <?datasetName?> |
---|
332 | pseudocolor wireframe <bool> <?datasetName?> |
---|
333 | |
---|
334 | streamlines add <?datasetName?> |
---|
335 | streamlines ccolor <r> <g> <b> <?datasetName?> |
---|
336 | Set the constant color of streamlines used for color mode 'ccolor' |
---|
337 | streamlines colormap <colormapName> <?datasetName?> |
---|
338 | Colormap used to color streamlines/tubes/ribbons by vector magnitude |
---|
339 | streamlines colormode <scalar|vmag|vx|vy|vz|ccolor> <fieldName> <?datasetName?> |
---|
340 | Set the field used to color the streamlines. 'ccolor' means to use |
---|
341 | the constant color defined by the ccolor subcommand. 'scalar' uses |
---|
342 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
343 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
344 | the active vector field. |
---|
345 | streamlines delete <?datasetName?> |
---|
346 | streamlines edges <bool> <?datasetName?> |
---|
347 | Turn on/off edges for tubes, ribbons |
---|
348 | streamlines length <?datasetName?> |
---|
349 | Set maximum length in world coordinates of streamlines |
---|
350 | streamlines lighting <bool> <?datasetName?> |
---|
351 | streamlines linecolor <r> <g> <b> <?datasetName?> |
---|
352 | Set color of edges for tubes, ribbons (lines are colored by colormap) |
---|
353 | streamlines lines <?datasetName?> |
---|
354 | Set rendering type to polylines |
---|
355 | streamlines linewidth <val> <?datasetName?> |
---|
356 | streamlines opacity <val> <?datasetName?> |
---|
357 | streamlines orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
358 | streamlines pos <x> <y> <z> <?dataSetName?> |
---|
359 | streamlines ribbons <width> <angle> <?datasetName?> |
---|
360 | Set rendering type to ribbons, width is minimum half-width, angle is |
---|
361 | degrees offset from normal orientation |
---|
362 | streamlines scale <sx> <sy> <sz> <?dataSetName?> |
---|
363 | streamlines seed color <r> <g> <b> <?datasetName?> |
---|
364 | streamlines seed disk <centerX> <centerY> <centerZ> <normalX> <normalY> <normalZ> <radius> <innerRadius> <numPoints> <?dataSetName?> |
---|
365 | Create a disk seed area with optional hole, filled with randomly |
---|
366 | placed points |
---|
367 | streamlines seed fmesh <numPoints> data follows <nbytes> <?datasetName?> |
---|
368 | Fill a mesh supplied as a VTK data file with randomly placed points |
---|
369 | streamlines seed fpoly <centerX> <centerY> <centerZ> <normalX> <normalY> <normalZ> <angle> <radius> <numSides> <numPoints> <?dataSetName?> |
---|
370 | Create a regular n-sided polygonal seed area filled with randomly |
---|
371 | placed points |
---|
372 | streamlines seed mesh data follows <nbytes> <?datasetName?> |
---|
373 | Use points of a mesh supplied as a VTK data file |
---|
374 | streamlines seed numpts <?datasetName?> |
---|
375 | If seeds have been created using 'seed random' or 'seed fmesh', |
---|
376 | this command can be used to change the number of randomly |
---|
377 | distributed seeds |
---|
378 | streamlines seed points <?datasetName?> |
---|
379 | Use points of the streamlines' dataset mesh |
---|
380 | streamlines seed polygon <centerX> <centerY> <centerZ> <normalX> <normalY> <normalZ> <angle> <radius> <numSides> <?dataSetName?> |
---|
381 | Create seed points from vertices of a regular n-sided polygon |
---|
382 | streamlines seed rake <startX> <startY> <startZ> <endX> <endY> <endZ> <numPoints> <?datasetName?> |
---|
383 | streamlines seed random <numPoints> <?datasetName?> |
---|
384 | Fill the streamlines' dataset mesh with randomly placed points |
---|
385 | streamlines seed visible <bool> <?datasetName?> |
---|
386 | streamlines tubes <numSides> <radius> <?datasetName?> |
---|
387 | Set rendering type to tubes, numSides is number of sides of tubes, |
---|
388 | radius is minimum tube radius |
---|
389 | streamlines visible <bool> <?datasetName?> |
---|
390 | |
---|
391 | volume add <?datasetName?> |
---|
392 | volume colormap <colorMapName> <?datasetName?> |
---|
393 | volume delete <?datasetName?> |
---|
394 | volume lighting <bool> <?datasetName?> |
---|
395 | volume orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
396 | volume pos <x> <y> <z> <?dataSetName?> |
---|
397 | volume quality <val> <?datasetName?> |
---|
398 | val = [0,1] |
---|
399 | volume scale <sx> <sy> <sz> <?dataSetName?> |
---|
400 | volume shading ambient <coeff> <?datasetName?> |
---|
401 | volume shading diffuse <coeff> <?datasetName?> |
---|
402 | volume shading specular <coeff> <power> <?datasetName?> |
---|
403 | volume visible <bool> <?datasetName?> |
---|
404 | |
---|
405 | ================================================================================ |
---|
406 | Replies: |
---|
407 | ================================================================================ |
---|
408 | nv>camera set <posX> <posY> <posZ> <focalPtX> <focalPtY> <focalPtZ> <viewUpX> <viewUpY> <viewUpZ> |
---|
409 | Reply to "camera get" |
---|
410 | nv>image -type image -bytes <nbytes> |
---|
411 | <binary RGB data> |
---|
412 | nv>image -type image -bbox {x y w h} -bytes <nbytes> |
---|
413 | <binary RGB data> |
---|
414 | The bounding box of the 2D image camera zoom region is supplied |
---|
415 | Note: The bbox coordinates are in the form used by 'camera ortho world ...': |
---|
416 | x,y - world coordinate of lower left corner, w,h - width height in world coords |
---|
417 | This form is currently used only if the camera mode is set to 'image'. |
---|
418 | nv>legend <colormapName> <title> <rmin> <rmax> <nbytes> |
---|
419 | <binary RGB data> |
---|
420 | nv>dataset scalar world <x> <y> <z> <value> <dataSetName> |
---|
421 | nv>dataset scalar pixel <x> <y> <value> <dataSetName> |
---|
422 | nv>dataset vector world <x> <y> <z> <valueX> <valueY> <valueZ> <dataSetName> |
---|
423 | nv>dataset vector pixel <x> <y> <valueX> <valueY> <valueZ> <dataSetName> |
---|
424 | |
---|
425 | ================================================================================ |
---|
426 | Error Replies: |
---|
427 | ================================================================================ |
---|
428 | Prefixed with "VtkVis Server Error: " |
---|
429 | Currently not guaranteed to be on a single line |
---|
430 | ================================================================================ |
---|