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 | |
---|
29 | == General dataset, scene and renderer commands == |
---|
30 | |
---|
31 | axis autobounds <axis> <bool> |
---|
32 | Toggle between automatic and explicit bounds settings. To set an explicit |
---|
33 | range use the 'axis bounds...' command. |
---|
34 | <axis> = x|y|z|all |
---|
35 | axis autorange <axis> <bool> |
---|
36 | Toggle between automatic and explicit range settings. To set an explicit |
---|
37 | range use the 'axis range...' command. For scaling based on axis bounds, |
---|
38 | see 'axis scale...' |
---|
39 | <axis> = x|y|z|all |
---|
40 | axis bounds <axis> <min> <max> |
---|
41 | Explicitly specify bounds to use for an axis. |
---|
42 | <axis> = x|y|z|all |
---|
43 | axis color <axis> <r> <g> <b> <?opacity?> |
---|
44 | Set color of axis lines, labels, titles, ticks |
---|
45 | <axis> = x|y|z|all |
---|
46 | axis exp <xPower> <yPower> <zPower> <?useCustom?> |
---|
47 | Control power scaling of labels. When an exponent is set, the labels |
---|
48 | are adjusted to show mantissa and the exponent is indicated in the title. |
---|
49 | <xPower> = Base 10 exponent for X axis |
---|
50 | <yPower> = Base 10 exponent for Y axis |
---|
51 | <zPower> = Base 10 exponent for Z axis |
---|
52 | <useCustom> = Flag to control if custom/manual powers are used. Setting |
---|
53 | this to off will re-enable automatic power scaling. |
---|
54 | axis flymode <mode> |
---|
55 | <mode> = static_edges|static_triad|outer_edges|furthest_triad|closest_triad |
---|
56 | axis fontsz <fontPixelSize> |
---|
57 | Controls size of labels and text in 3D mode |
---|
58 | axis gpcolor <axis> <r> <g> <b> <?opacity?> |
---|
59 | Set color/opacity of inner grid polygons |
---|
60 | <axis> = x|y|z|all |
---|
61 | axis gpolys <axis> <bool> |
---|
62 | Turn on/off inner grid polygons/planes |
---|
63 | <axis> = x|y|z|all |
---|
64 | axis grcolor <axis> <r> <g> <b> <?opacity?> |
---|
65 | Set color/opacity of gridlines |
---|
66 | <axis> = x|y|z|all |
---|
67 | axis grid <axis> <bool> |
---|
68 | Turn on/off outer gridlines |
---|
69 | <axis> = x|y|z|all |
---|
70 | axis igcolor <axis> <r> <g> <b> <?opacity?> |
---|
71 | Set color/opacity of inner gridlines |
---|
72 | <axis> = x|y|z|all |
---|
73 | axis igrid <axis> <bool> |
---|
74 | Turn on/off inner gridlines |
---|
75 | <axis> = x|y|z|all |
---|
76 | axis labels <axis> <bool> |
---|
77 | Toggle visibility of axis labels |
---|
78 | <axis> = x|y|z|all |
---|
79 | axis lcolor <axis> <r> <g> <b> <?opacity?> |
---|
80 | Set color/opacity of tick labels |
---|
81 | <axis> = x|y|z|all |
---|
82 | axis lfont <axis> <fontName> |
---|
83 | Set label font family |
---|
84 | <axis> = x|y|z|all |
---|
85 | <fontName> = Arial|Courier|Times |
---|
86 | axis lformat <axis> <formatString> |
---|
87 | <axis> = x|y|z|all |
---|
88 | <formatString> = printf style format string |
---|
89 | axis lfsize <axis> <fontSizePts> |
---|
90 | Set font size of labels in 2D mode - currently relies on patched VTK in |
---|
91 | runtime |
---|
92 | <axis> = x|y|z|all |
---|
93 | <fontSizePts> = Font size in points |
---|
94 | axis linecolor <axis> <r> <g> <b> <?opacity?> |
---|
95 | Set color/opacity of main axis lines |
---|
96 | <axis> = x|y|z|all |
---|
97 | axis lrot <axis> <rotation> |
---|
98 | <axis> = x|y|z|all |
---|
99 | <rotation> = rotation angle in degrees |
---|
100 | axis lscale <axis> <boolAuto> <xpow> <ypow> <zpow> |
---|
101 | Control (auto-)scaling of labels with powers of 10 |
---|
102 | <axis> = x|y|z|all |
---|
103 | <boolAuto> = Enable/disable automatic scaling with powers of 10 |
---|
104 | <xpow> = Explicitly set power on X axis |
---|
105 | <ypow> = Explicitly set power on Y axis |
---|
106 | <zpow> = Explicitly set power on Z axis |
---|
107 | axis minticks <axis> <bool> |
---|
108 | Toggle visibility of axis minor tick marks |
---|
109 | <axis> = x|y|z|all |
---|
110 | axis name <axis> <title> |
---|
111 | <axis> = x|y|z|all |
---|
112 | <title> = Title of axis |
---|
113 | axis origin <x> <y> <z> <?useCustom?> |
---|
114 | <x>,<y>,<z> = point inside world coordinate bounds of axes box where axes |
---|
115 | should intersect |
---|
116 | <useCustom> = Set to false to disable use of custom origin and re-enable |
---|
117 | automatic origin |
---|
118 | axis range <axis> <min> <max> |
---|
119 | Explicitly set min,max range of axis labels. Note that the min and max |
---|
120 | values themselves may not be given labels if they don't fall on tick |
---|
121 | divisions -- the min/max determine the value of the axis endpoints. This |
---|
122 | setting allows labeling axes independently of the world coordinate bounds. |
---|
123 | <axis> = x|y|z|all |
---|
124 | <min> = minimum value of axis for labels |
---|
125 | <max> = maximum value of axis for labels |
---|
126 | axis scale <axis> <scale> |
---|
127 | Set axis range to be computed based on scaling the axis bounds by the |
---|
128 | given scale factor. |
---|
129 | <axis> = x|y|z|all |
---|
130 | <scale> = scale factor where range = bounds * scale |
---|
131 | axis tcolor <axis> <r> <g> <b> <?opacity?> |
---|
132 | Set color/opacity of axis title |
---|
133 | <axis> = x|y|z|all |
---|
134 | axis tickpos <position> |
---|
135 | Set position of ticks on 3D axes (not implemented for 2D axes) |
---|
136 | <position> = inside|outside|both |
---|
137 | axis ticks <axis> <bool> |
---|
138 | Toggle visibility of axis tick marks |
---|
139 | <axis> = x|y|z|all |
---|
140 | axis tfont <axis> <fontName> |
---|
141 | Set title font family |
---|
142 | <axis> = x|y|z|all |
---|
143 | <fontName> = Arial|Courier|Times |
---|
144 | axis tfsize <axis> <fontSizePts> |
---|
145 | Set font size of title in 2D mode - currently relies on patched VTK in |
---|
146 | runtime |
---|
147 | <axis> = x|y|z|all |
---|
148 | <fontSizePts> = Font size in points |
---|
149 | axis trot <axis> <rotation> |
---|
150 | Currently a no-op -- needs a fix in vtkCubeAxesActor |
---|
151 | <axis> = x|y|z|all |
---|
152 | <rotation> = rotation angle in degrees |
---|
153 | axis units <axis> <units> |
---|
154 | Currently only supported when camera mode is not image mode |
---|
155 | axis visible <axis> <bool> |
---|
156 | <axis> = x|y|z|all |
---|
157 | Note: 'all' means all enabled axes. To force all axes on, set each axis on |
---|
158 | individually -- however, it is best to let the server determine which of |
---|
159 | the individual axes are enabled based on the dataset bounds. |
---|
160 | |
---|
161 | camera aspect <aspectMode> |
---|
162 | Set 2D aspect ratio mode |
---|
163 | <aspectMode> = native|square|window |
---|
164 | camera get |
---|
165 | Request current camera parameters |
---|
166 | camera mode <mode> |
---|
167 | <mode> = persp|ortho|image |
---|
168 | camera orient <quatW> <quatX> <quatY> <quatZ> |
---|
169 | Set scene orientation using a quaternion |
---|
170 | camera ortho <coordMode> <x> <y> <width> <height> |
---|
171 | <coordMode> = pixel|world |
---|
172 | Supply bounds of plot area for image camera mode |
---|
173 | camera pan <x> <y> |
---|
174 | <x,y> viewport coordinates (window center at 0,0). Positive x pan |
---|
175 | means pan object to right (camera to left). Positive y pan means |
---|
176 | pan object down (camera up). For example a pan of 0.5, 0.5 would |
---|
177 | move the object center to the lower right corner of the window |
---|
178 | camera reset <?all?> |
---|
179 | Option all resets orientation/rotation as well as pan/zoom/clip range |
---|
180 | camera rotate <yaw> <pitch> <roll> |
---|
181 | Specify relative rotation in Euler angles |
---|
182 | camera set <posX> <posY> <posZ> <focalPtX> <focalPtY> <focalPtZ> <viewUpX> <viewUpY> <viewUpZ> |
---|
183 | Set camera parameters: camera position, focal point and view up vector |
---|
184 | camera zoom <z> |
---|
185 | Specify zoom ratio. z > 1 is a zoom in, z < 1 is zoom out. z = 1 |
---|
186 | resets to default. |
---|
187 | |
---|
188 | clientinfo <list> |
---|
189 | |
---|
190 | colormap add <colorMapName> <colorMap> <opacityMap> |
---|
191 | colorMap = Tcl list of {value r g b} control points |
---|
192 | opacityMap = Tcl list of {value alpha} control points |
---|
193 | colormap delete <?colorMapName?> |
---|
194 | colormap res <numberOfTableEntries> |
---|
195 | Set the "resolution" or number of lookup table entries in the colormap |
---|
196 | <numberOfTableEntries> = integer or "default" |
---|
197 | |
---|
198 | dataset add <datasetName> data follows <nbytes> |
---|
199 | dataset delete <?datasetName?> |
---|
200 | dataset getscalar world <x> <y> <z> <datasetName> |
---|
201 | dataset getscalar pixel <x> <y> <datasetName> |
---|
202 | dataset getvector world <x> <y> <z> <datasetName> |
---|
203 | dataset getvector pixel <x> <y> <datasetName> |
---|
204 | Use pixel for image camera mode |
---|
205 | dataset maprange <val> <?min?> <?max?> <?fieldName?> <?fieldType?> <?numComp?> <?component?> |
---|
206 | Controls if data range for colormapping and contours is based on |
---|
207 | cumulative range of all datasets ("all"), only visible datasets |
---|
208 | ("visible") or each individual dataset ("separate"). Defaults to |
---|
209 | "all" |
---|
210 | <val> = all|explicit|visible|separate |
---|
211 | The following arguments are only used for 'explicit' mode: |
---|
212 | <min>,<max> = Required in explicit mode, specify the range to use |
---|
213 | <fieldName> = Required in explicit mode, specify the field to which the |
---|
214 | range should be applied |
---|
215 | <fieldType> = point_data|cell_data|field_data, optional (defaults to |
---|
216 | point_data) |
---|
217 | <numComp> = Number of components (1 = scalar, 3 = vector), optional (1 |
---|
218 | is default) |
---|
219 | <component> = Component index for vector fields, required if numComp is |
---|
220 | 3, otherwise unused. |
---|
221 | dataset names |
---|
222 | Returns a list of the loaded data sets |
---|
223 | dataset opacity <val> <?datasetName?> |
---|
224 | dataset scalar <scalarName> <?datasetName?> |
---|
225 | Set the active scalar field to plot |
---|
226 | dataset vector <vectorName> <?datasetName?> |
---|
227 | Set the active vector field to plot |
---|
228 | dataset visible <bool> <?datasetName?> |
---|
229 | |
---|
230 | legend <colormapName> <legendType> <fieldName> <legendTitle> <width> <height> <numLabels> <?datasetName?> |
---|
231 | Causes legend to be rendered and written back with labels and title |
---|
232 | (title may be left blank) |
---|
233 | <legendType> = scalar|vmag|vx|vy|vz |
---|
234 | <numLabels> Can be zero or more 'tick' value labels |
---|
235 | If datasetName is omitted, the cumulative data range of all data sets |
---|
236 | will be used to label the legend -- otherwise, the current setting of |
---|
237 | 'dataset maprange' will be used to determine if the individual dataset |
---|
238 | range or cumulative range will be used. |
---|
239 | |
---|
240 | renderer clipplane <axis> <ratio> <direction> |
---|
241 | Set a user clipping plane, ratio is [0,1] and is always interpreted as |
---|
242 | 0 = min_bound, 1 = max_bound, regardless of direction. Sign of |
---|
243 | direction determines normal of clipping plane. User clip planes do not |
---|
244 | apply if camera mode is image. |
---|
245 | renderer depthpeel <bool> |
---|
246 | Set use of depth peeling algorithm for transparency |
---|
247 | renderer light2side <bool> |
---|
248 | Toggle use of two-sided lighting (controls if backfaces are lit with a |
---|
249 | flipped normal) |
---|
250 | renderer lights <lightNum> <bool> |
---|
251 | Toggle lights on/off. Light 0 is the headlight, light 1 the skylight |
---|
252 | renderer render |
---|
253 | Force a new image to be rendered - use for advancing animation |
---|
254 | |
---|
255 | screen bgcolor <r> <g> <b> |
---|
256 | screen size <width> <height> |
---|
257 | |
---|
258 | == Graphics objects == |
---|
259 | |
---|
260 | arc add <centerX> <centerY> <centerZ> <startX> <startY> <startZ> <normX> <normY> <normZ> <angle> <name> |
---|
261 | Creates a circular arc given a center and starting point, a normal and a |
---|
262 | sweep angle. |
---|
263 | arc color <r> <g> <b> <?name?> |
---|
264 | arc delete <?name?> |
---|
265 | arc linecolor <r> <g> <b> <?name?> |
---|
266 | arc linewidth <val> <?name?> |
---|
267 | arc opacity <val> <?name?> |
---|
268 | arc orient <qw> <qx> <qy> <qz> <?name?> |
---|
269 | arc origin <x> <y> <z> <?name?> |
---|
270 | arc pos <x> <y> <z> <?name?> |
---|
271 | arc resolution <res> <?name?> |
---|
272 | arc scale <sx> <sy> <sz> <?name?> |
---|
273 | arc visible <bool> <?name?> |
---|
274 | |
---|
275 | arrow add <tipRadius> <shaftRadius> <tipLength> <name> |
---|
276 | Arrow will have base at 0,0,0 and tip at 1, 0, 0 |
---|
277 | arrow color <r> <g> <b> <?name?> |
---|
278 | arrow culling <bool> <?name?> |
---|
279 | arrow delete <?name?> |
---|
280 | arrow edges <bool> <?name?> |
---|
281 | arrow flipnorm <bool> <?name?> |
---|
282 | arrow lighting <bool> <?name?> |
---|
283 | arrow linecolor <r> <g> <b> <?name?> |
---|
284 | arrow linewidth <val> <?name?> |
---|
285 | arrow material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?> |
---|
286 | arrow opacity <val> <?name?> |
---|
287 | arrow orient <qw> <qx> <qy> <qz> <?name?> |
---|
288 | arrow origin <x> <y> <z> <?name?> |
---|
289 | arrow pos <x> <y> <z> <?name?> |
---|
290 | arrow resolution <tipRes> <shaftRes> <?name?> |
---|
291 | arrow scale <sx> <sy> <sz> <?name?> |
---|
292 | arrow shading <val> <?name?> |
---|
293 | val = flat|smooth |
---|
294 | arrow visible <bool> <?name?> |
---|
295 | arrow wireframe <bool> <?name?> |
---|
296 | |
---|
297 | box add <xLen> <yLen> <zLen> <name> |
---|
298 | box color <r> <g> <b> <?name?> |
---|
299 | box culling <bool> <?name?> |
---|
300 | box delete <?name?> |
---|
301 | box edges <bool> <?name?> |
---|
302 | box flipnorm <bool> <?name?> |
---|
303 | box lighting <bool> <?name?> |
---|
304 | box linecolor <r> <g> <b> <?name?> |
---|
305 | box linewidth <val> <?name?> |
---|
306 | box material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?> |
---|
307 | box opacity <val> <?name?> |
---|
308 | box orient <qw> <qx> <qy> <qz> <?name?> |
---|
309 | box origin <x> <y> <z> <?name?> |
---|
310 | box pos <x> <y> <z> <?name?> |
---|
311 | box scale <sx> <sy> <sz> <?name?> |
---|
312 | box shading <val> <?name?> |
---|
313 | val = flat|smooth |
---|
314 | box visible <bool> <?name?> |
---|
315 | box wireframe <bool> <?name?> |
---|
316 | |
---|
317 | cone add <radius> <height> <cap> <name> |
---|
318 | <cap> = boolean flag for cap disks |
---|
319 | cone color <r> <g> <b> <?name?> |
---|
320 | cone culling <bool> <?name?> |
---|
321 | cone delete <?name?> |
---|
322 | cone edges <bool> <?name?> |
---|
323 | cone flipnorm <bool> <?name?> |
---|
324 | cone lighting <bool> <?name?> |
---|
325 | cone linecolor <r> <g> <b> <?name?> |
---|
326 | cone linewidth <val> <?name?> |
---|
327 | cone material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?> |
---|
328 | cone opacity <val> <?name?> |
---|
329 | cone orient <qw> <qx> <qy> <qz> <?name?> |
---|
330 | cone origin <x> <y> <z> <?name?> |
---|
331 | cone pos <x> <y> <z> <?name?> |
---|
332 | cone resolution <res> <?name?> |
---|
333 | cone scale <sx> <sy> <sz> <?name?> |
---|
334 | cone shading <val> <?name?> |
---|
335 | val = flat|smooth |
---|
336 | cone visible <bool> <?name?> |
---|
337 | cone wireframe <bool> <?name?> |
---|
338 | |
---|
339 | contour2d add numcontours <n> <?datasetName?> |
---|
340 | Generate evenly spaced contours including range endpoints. See also |
---|
341 | 'dataset maprange' command. |
---|
342 | contour2d add contourlist <list> <?datasetName?> |
---|
343 | list = {isoval1 isoval2 isoval3...} |
---|
344 | contour2d color <r> <g> <b> <?datasetName?> |
---|
345 | synonym for linecolor |
---|
346 | contour2d colormap <colormapName> <?datasetName?> |
---|
347 | contour2d colormode <scalar|vmag|vx|vy|vz|constant> <fieldName> <?datasetName?> |
---|
348 | Set the field used to color the object. 'constant' means to use |
---|
349 | the constant color defined by the color subcommand. 'scalar' uses |
---|
350 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
351 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
352 | the active vector field. |
---|
353 | contour2d contourlist <list> <?dataSetName?> |
---|
354 | contour2d delete <?datasetName?> |
---|
355 | contour2d lighting <bool> <?datasetName?> |
---|
356 | contour2d linecolor <r> <g> <b> <?datasetName?> |
---|
357 | synonym for color |
---|
358 | contour2d linewidth <val> <?datasetName?> |
---|
359 | contour2d numcontours <n> <?dataSetName?> |
---|
360 | contour2d opacity <val> <?datasetName?> |
---|
361 | contour2d orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
362 | contour2d pos <x> <y> <z> <?dataSetName?> |
---|
363 | contour2d scale <sx> <sy> <sz> <?dataSetName?> |
---|
364 | contour2d visible <bool> <?datasetName?> |
---|
365 | |
---|
366 | contour3d add numcontours <n> <?datasetName?> |
---|
367 | Generate evenly spaced contours including range endpoints. See also |
---|
368 | 'dataset maprange' command. |
---|
369 | contour3d add contourlist <list> <?datasetName?> |
---|
370 | list = {isoval1 isoval2 isoval3...} |
---|
371 | contour3d color r g b <?datasetName?> |
---|
372 | contour3d colormap <colorMapName> <?dataSetName?> |
---|
373 | contour3d colormode <scalar|vmag|vx|vy|vz|constant> <fieldName> <?datasetName?> |
---|
374 | Set the field used to color the object. 'constant' means to use |
---|
375 | the constant color defined by the color subcommand. 'scalar' uses |
---|
376 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
377 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
378 | the active vector field. |
---|
379 | contour3d contourlist <list> <?dataSetName?> |
---|
380 | contour3d delete <?datasetName?> |
---|
381 | contour3d edges <bool> <?datasetName?> |
---|
382 | contour3d lighting <bool> <?datasetName?> |
---|
383 | contour3d linecolor <r> <g> <b> <?datasetName?> |
---|
384 | contour3d linewidth <val> <?datasetName?> |
---|
385 | contour3d numcontours <n> <?dataSetName?> |
---|
386 | contour3d opacity <val> <?datasetName?> |
---|
387 | contour3d orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
388 | contour3d pos <x> <y> <z> <?dataSetName?> |
---|
389 | contour3d scale <sx> <sy> <sz> <?dataSetName?> |
---|
390 | contour3d visible <bool> <?datasetName?> |
---|
391 | contour3d wireframe <bool> <?datasetName?> |
---|
392 | |
---|
393 | cutplane add <?dataSetName?> |
---|
394 | cutplane axis <axis> <bool> <?dataSetName?> |
---|
395 | Toggle visibility of the 3 principal axis cutplanes |
---|
396 | cutplane color r g b <?datasetName?> |
---|
397 | Set color of outline bounding box |
---|
398 | cutplane cloudstyle <style> <?datasetName?> |
---|
399 | <style> = mesh | splat |
---|
400 | cutplane colormap <colorMapName> <?dataSetName?> |
---|
401 | cutplane colormode <scalar|vmag|vx|vy|vz> <fieldName> <?datasetName?> |
---|
402 | Set the field used to color the object. 'scalar' uses |
---|
403 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
404 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
405 | the active vector field. |
---|
406 | cutplane delete <?dataSetName?> |
---|
407 | cutplane edges <bool> <?dataSetName?> |
---|
408 | cutplane lighting <bool> <?dataSetName?> |
---|
409 | cutplane linecolor <r> <g> <b> <?dataSetName?> |
---|
410 | cutplane linewidth <width> <?dataSetName?> |
---|
411 | cutplane opacity <value> <?dataSetName?> |
---|
412 | cutplane orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
413 | cutplane outline <bool> <?dataSetName?> |
---|
414 | Toggle rendering of cutplane outlines |
---|
415 | cutplane pos <x> <y> <z> <?dataSetName?> |
---|
416 | cutplane preinterp <bool> <?dataSetName?> |
---|
417 | Controls if VTK's InterpolateScalarsBeforeMapping option is set. |
---|
418 | Setting this on will give more correct colors, as the interpolation |
---|
419 | is done on texture coordinates that lookup into a 1D texture instead |
---|
420 | of using color interpolation from triangle vertices. |
---|
421 | cutplane scale <sx> <sy> <sz> <?dataSetName?> |
---|
422 | cutplane slice axis ratio <?dataSetName?> |
---|
423 | For 3D data, select a slice along a principle axis of the volume. The |
---|
424 | ratio is [0,1] |
---|
425 | cutplane visible <bool> <?dataSetName?> |
---|
426 | cutplane wireframe <bool> <?datasetName?> |
---|
427 | |
---|
428 | cylinder add <radius> <height> <cap> <name> |
---|
429 | <cap> = boolean flag for cap disks |
---|
430 | cylinder color <r> <g> <b> <?name?> |
---|
431 | cylinder culling <bool> <?name?> |
---|
432 | cylinder delete <?name?> |
---|
433 | cylinder edges <bool> <?name?> |
---|
434 | cylinder flipnorm <bool> <?name?> |
---|
435 | cylinder lighting <bool> <?name?> |
---|
436 | cylinder linecolor <r> <g> <b> <?name?> |
---|
437 | cylinder linewidth <val> <?name?> |
---|
438 | cylinder material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?> |
---|
439 | cylinder opacity <val> <?name?> |
---|
440 | cylinder orient <qw> <qx> <qy> <qz> <?name?> |
---|
441 | cylinder origin <x> <y> <z> <?name?> |
---|
442 | cylinder pos <x> <y> <z> <?name?> |
---|
443 | cylinder resolution <res> <?name?> |
---|
444 | cylinder scale <sx> <sy> <sz> <?name?> |
---|
445 | cylinder shading <val> <?name?> |
---|
446 | val = flat|smooth |
---|
447 | cylinder visible <bool> <?name?> |
---|
448 | cylinder wireframe <bool> <?name?> |
---|
449 | |
---|
450 | disk add <innerRadius> <outerRadius> <name> |
---|
451 | disk color <r> <g> <b> <?name?> |
---|
452 | disk culling <bool> <?name?> |
---|
453 | disk delete <?name?> |
---|
454 | disk edges <bool> <?name?> |
---|
455 | disk flipnorm <bool> <?name?> |
---|
456 | disk lighting <bool> <?name?> |
---|
457 | disk linecolor <r> <g> <b> <?name?> |
---|
458 | disk linewidth <val> <?name?> |
---|
459 | disk material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?> |
---|
460 | disk opacity <val> <?name?> |
---|
461 | disk orient <qw> <qx> <qy> <qz> <?name?> |
---|
462 | disk origin <x> <y> <z> <?name?> |
---|
463 | disk pos <x> <y> <z> <?name?> |
---|
464 | disk resolution <resRadial> <resCircum> <?name?> |
---|
465 | disk scale <sx> <sy> <sz> <?name?> |
---|
466 | disk shading <val> <?name?> |
---|
467 | val = flat|smooth |
---|
468 | disk visible <bool> <?name?> |
---|
469 | disk wireframe <bool> <?name?> |
---|
470 | |
---|
471 | glyphs add <shape> <?dataSetName?> |
---|
472 | See 'glyphs shape' for list of shapes |
---|
473 | glyphs color r g b <?datasetName?> |
---|
474 | glyphs colormap <colorMapName> <?dataSetName?> |
---|
475 | glyphs colormode <scalar|vmag|vx|vy|vz|constant> <fieldName> <?dataSetName?> |
---|
476 | Set the color mode: color by scalar field or |
---|
477 | vector magnitude -- uses the current color map, |
---|
478 | or color for constant color |
---|
479 | glyphs delete <?dataSetName?> |
---|
480 | glyphs edges <bool> <?datasetName?> |
---|
481 | glyphs gorient <bool> <fieldName> <?datasetName?> |
---|
482 | Set the glyph orientation mode: orient glyphs by |
---|
483 | a named vector field, or set to default orientation (off) |
---|
484 | glyphs gscale <scaleFactor> <?datasetName?> |
---|
485 | Set glyph scaling factor |
---|
486 | glyphs lighting <bool> <?datasetName?> |
---|
487 | glyphs linecolor <r> <g> <b> <?datasetName?> |
---|
488 | glyphs linewidth <val> <?datasetName?> |
---|
489 | glyphs normscale <bool> <?datasetName?> |
---|
490 | Control if data values are normalized to [0,1] range before applying |
---|
491 | glyph scaling factor (gscale) |
---|
492 | glyphs numglyphs <max> <random> <offset> <ratio> <?dataSetName?> |
---|
493 | Limit the maximum number of glyphs displayed. Can use either a random |
---|
494 | sampling or every nth point sampling (useful for uniform grids) |
---|
495 | <max> = integer maximum number of glyphs |
---|
496 | <random> = bool indicating if random sampling should be used |
---|
497 | <offset> = offset point index from which to start sampling |
---|
498 | <ratio> = If random is false, use this to control every nth point sampling |
---|
499 | glyphs opacity <val> <?datasetName?> |
---|
500 | glyphs orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
501 | glyphs pos <x> <y> <z> <?dataSetName?> |
---|
502 | glyphs ptsize <size> <?dataSetName?> |
---|
503 | glyphs quality <val> <?dataSetName?> |
---|
504 | Set glyph shape resolution quality val=[0,10], 1 is default |
---|
505 | glyphs scale <sx> <sy> <sz> <?dataSetName?> |
---|
506 | glyphs shape <arrow|cone|cube|cylinder|dodecahedron|icosahedron|line|octahedron|point|sphere|tetrahedron> <?datasetName?> |
---|
507 | glyphs smode <scalar|vmag|vcomp|off> <fieldName> <?dataSetName?> |
---|
508 | Set the scaling mode: use the scalar field, vector magnitude |
---|
509 | (uniform scale), vector components, or disable scaling |
---|
510 | glyphs visible <bool> <?datasetName?> |
---|
511 | glyphs wireframe <bool> <?datasetName?> |
---|
512 | |
---|
513 | group add <nodeList> <name> |
---|
514 | Add listed nodes to group named <name>. Group will be created if |
---|
515 | it doesn't exist, but nodes may be added to existing groups. The |
---|
516 | nodes will be removed from the virtual root scene. |
---|
517 | group delete <?name?> |
---|
518 | group orient <qw> <qx> <qy> <qz> <?name?> |
---|
519 | group origin <x> <y> <z> <?name?> |
---|
520 | group pos <x> <y> <z> <?name?> |
---|
521 | group remove <nodeList> <name> |
---|
522 | Remove listed nodes from group. Currently, nodes will be added back |
---|
523 | to the virtual root scene, and so nodes must be explicitly deleted to |
---|
524 | remove them from the scene. |
---|
525 | group scale <sx> <sy> <sz> <?name?> |
---|
526 | group visible <bool> <?name?> |
---|
527 | |
---|
528 | heightmap add numcontours <n> <heightScale> <?dataSetName?> |
---|
529 | Generate evenly spaced contours including range endpoints. See also |
---|
530 | 'dataset maprange' command. |
---|
531 | heightmap add contourlist <list> <heightScale> <?dataSetName?> |
---|
532 | list = {isoval1 isoval2 isoval3...} |
---|
533 | heightmap aspect <aspectRatio> |
---|
534 | Set scaling by aspect ratio |
---|
535 | <aspectRatio> = width/height or 0 for native aspect |
---|
536 | heightmap cloudstyle <style> <?datasetName?> |
---|
537 | <style> = mesh | splat |
---|
538 | heightmap colormap <colorMapName> <?dataSetName?> |
---|
539 | heightmap colormode <scalar|vmag|vx|vy|vz|constant> <fieldName> <?datasetName?> |
---|
540 | Set the field used to color the object. 'constant' means to use |
---|
541 | the constant color defined by the color subcommand. 'scalar' uses |
---|
542 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
543 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
544 | the active vector field. |
---|
545 | heightmap contourlist <list> <?dataSetName?> |
---|
546 | heightmap delete <?dataSetName?> |
---|
547 | heightmap edges <bool> <?dataSetName?> |
---|
548 | heightmap heightscale <value> <?dataSetName?> |
---|
549 | heightmap isolinecmap <bool> <?dataSetName?> |
---|
550 | Toggle colormapping of isolines (false means to use constant color) |
---|
551 | heightmap isolinecolor <r> <g> <b> <?dataSetName?> |
---|
552 | heightmap isolines <bool> <?dataSetName?> |
---|
553 | heightmap isolinewidth <width> <?dataSetName?> |
---|
554 | heightmap lighting <bool> <?dataSetName?> |
---|
555 | heightmap linecolor <r> <g> <b> <?dataSetName?> |
---|
556 | heightmap linewidth <width> <?dataSetName?> |
---|
557 | heightmap numcontours <n> <?dataSetName?> |
---|
558 | heightmap opacity <value> <?dataSetName?> |
---|
559 | heightmap orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
560 | heightmap pos <x> <y> <z> <?dataSetName?> |
---|
561 | heightmap preinterp <bool> <?dataSetName?> |
---|
562 | Controls if VTK's InterpolateScalarsBeforeMapping option is set. |
---|
563 | Setting this on will give more correct colors, as the interpolation |
---|
564 | is done on texture coordinates that lookup into a 1D texture instead |
---|
565 | of using color interpolation from triangle vertices. |
---|
566 | heightmap scale <sx> <sy> <sz> <?dataSetName?> |
---|
567 | heightmap slice <axis> <ratio> <?dataSetName?> |
---|
568 | For 3D data, select a slice along a principle axis of the volume. The |
---|
569 | ratio is [0,1] |
---|
570 | heightmap surface <bool> <?dataSetName?> |
---|
571 | Toggle rendering of colormapped surface (mountain plot or cutplane) |
---|
572 | heightmap visible <bool> <?dataSetName?> |
---|
573 | heightmap wireframe <bool> <?datasetName?> |
---|
574 | |
---|
575 | image add <?dataSetName?> |
---|
576 | Create an image from a vtkImageData data set |
---|
577 | image backing <bool> <?dataSetName?> |
---|
578 | image bg <bool> <?dataSetName?> |
---|
579 | image border <bool> <?dataSetName?> |
---|
580 | image color <r> <g> <b> <?dataSetName?> |
---|
581 | image colormap <colorMapName> <?dataSetName?> |
---|
582 | image delete <?dataSetName?> |
---|
583 | image extents <xmin> <xmax> <ymin> <ymax> <zmin> <zmax> <?dataSetName?> |
---|
584 | image level <level> <?dataSetName?> |
---|
585 | image opacity <opacity> <?dataSetName?> |
---|
586 | image orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
587 | image pos <x> <y> <z> <?dataSetName?> |
---|
588 | image scale <sx> <sy> <sz> <?dataSetName?> |
---|
589 | image visible <bool> <?dataSetName?> |
---|
590 | image window <windowWidth> <?dataSetName?> |
---|
591 | image zslice <sliceNum> <?dataSetName?> |
---|
592 | |
---|
593 | lic add <?datasetName?> |
---|
594 | lic colormap <colormapName> <?datasetName?> |
---|
595 | lic delete <?datasetName?> |
---|
596 | lic edges <bool> <?datasetName?> |
---|
597 | lic lighting <bool> <?datasetName?> |
---|
598 | lic linecolor <r> <g> <b> <?datasetName?> |
---|
599 | lic linewidth <val> <?datasetName?> |
---|
600 | lic opacity <val> <?datasetName?> |
---|
601 | lic orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
602 | lic pos <x> <y> <z> <?dataSetName?> |
---|
603 | lic preinterp <bool> <?dataSetName?> |
---|
604 | Controls if VTK's InterpolateScalarsBeforeMapping option is set. |
---|
605 | Setting this on will give more correct colors, as the interpolation |
---|
606 | is done on texture coordinates that lookup into a 1D texture instead |
---|
607 | of using color interpolation from triangle vertices. |
---|
608 | lic scale <sx> <sy> <sz> <?dataSetName?> |
---|
609 | lic slice <axis> <ratio> <?datasetName?> |
---|
610 | For 3D data, select a slice along a principle axis of the volume. The |
---|
611 | ratio is [0,1] |
---|
612 | lic visible <bool> <?datasetName?> |
---|
613 | |
---|
614 | line add <points> <name> |
---|
615 | Create a polyline from the list of point coordinates in <points>. The |
---|
616 | list size must be a multiple of 3 (each point's x,y,z coordinates) |
---|
617 | line color <r> <g> <b> <?name?> |
---|
618 | line delete <?name?> |
---|
619 | line linecolor <r> <g> <b> <?name?> |
---|
620 | Synonym for color |
---|
621 | line linewidth <val> <?name?> |
---|
622 | line opacity <val> <?name?> |
---|
623 | line orient <qw> <qx> <qy> <qz> <?name?> |
---|
624 | line origin <x> <y> <z> <?name?> |
---|
625 | line pos <x> <y> <z> <?name?> |
---|
626 | line scale <sx> <sy> <sz> <?name?> |
---|
627 | line visible <bool> <?name?> |
---|
628 | |
---|
629 | molecule add <?datasetName?> |
---|
630 | molecule aquality <val> <?datasetName?> |
---|
631 | Set atom sphere resolution quality val=[0,10], 1 is default |
---|
632 | molecule ascale <val> <?datasetName?> |
---|
633 | Set atom scale factor |
---|
634 | molecule atoms <bool> <?datasetName?> |
---|
635 | Toggle rendering of atoms |
---|
636 | molecule bcmode <by_elements|constant> <?datasetName?> |
---|
637 | Set bond color mode |
---|
638 | molecule bcolor <r> <g> <b> <?datasetName?> |
---|
639 | Set constant bond color |
---|
640 | molecule bonds <bool> <?datasetName?> |
---|
641 | Toggle rendering of bonds |
---|
642 | molecule bquality <val> <?datasetName?> |
---|
643 | Set bond cylinder resolution quality val=[0,10], 1 is default |
---|
644 | molecule bscale <val> <?datasetName?> |
---|
645 | Set bond scale factor |
---|
646 | molecule bstyle <cylinder|line> <?datasetName?> |
---|
647 | Set bond render style |
---|
648 | molecule color r g b <?datasetName?> |
---|
649 | molecule colormap <colormapName> <?datasetName?> |
---|
650 | molecule colormode <by_elements|scalar|vmag|vx|vy|vz|constant> <fieldName> <?datasetName?> |
---|
651 | Set the field used to color the object. 'constant' means to use |
---|
652 | the constant color defined by the color subcommand. 'scalar' uses |
---|
653 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
654 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
655 | the active vector field. |
---|
656 | molecule delete <?datasetName?> |
---|
657 | molecule edges <bool> <?datasetName?> |
---|
658 | molecule labels <bool> <?datasetName?> |
---|
659 | Toggle display of atom labels |
---|
660 | molecule lfield <fieldName> <?datasetName?> |
---|
661 | Set the field used for atom labels |
---|
662 | molecule lighting <bool> <?datasetName?> |
---|
663 | molecule linecolor <r> <g> <b> <?datasetName?> |
---|
664 | molecule linewidth <val> <?datasetName?> |
---|
665 | molecule material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?datasetName?> |
---|
666 | molecule opacity <val> <?datasetName?> |
---|
667 | molecule orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
668 | molecule pos <x> <y> <z> <?dataSetName?> |
---|
669 | molecule rscale <val> <?dataSetName?> |
---|
670 | Atom radius scaling |
---|
671 | val = van_der_waals|covalent|atomic|none |
---|
672 | molecule scale <sx> <sy> <sz> <?dataSetName?> |
---|
673 | molecule visible <bool> <?datasetName?> |
---|
674 | molecule wireframe <bool> <?datasetName?> |
---|
675 | |
---|
676 | outline add <?datasetName?> |
---|
677 | outline color <r> <g> <b> <?datasetName?> |
---|
678 | outline delete <?datasetName?> |
---|
679 | outline linecolor <r> <g> <b> <?datasetName?> |
---|
680 | Synonym for color |
---|
681 | outline linewidth <val> <?datasetName?> |
---|
682 | outline opacity <val> <?datasetName?> |
---|
683 | outline orient <qw> <qx> <qy> <qz> <?datasetName?> |
---|
684 | outline pos <x> <y> <z> <?datasetName?> |
---|
685 | outline scale <sx> <sy> <sz> <?datasetName?> |
---|
686 | outline visible <bool> <?datasetName?> |
---|
687 | |
---|
688 | polydata add <?datasetName?> |
---|
689 | polydata color <r> <g> <b> <?datasetName?> |
---|
690 | polydata cloudstyle <style> <?datasetName?> |
---|
691 | <style> = mesh | points |
---|
692 | polydata colormap <colormapName> <?datasetName?> |
---|
693 | polydata colormode <scalar|vmag|vx|vy|vz|constant> <fieldName> <?datasetName?> |
---|
694 | Set the field used to color the object. 'constant' means to use |
---|
695 | the constant color defined by the color subcommand. 'scalar' uses |
---|
696 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
697 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
698 | the active vector field. |
---|
699 | polydata culling <bool> <?name?> |
---|
700 | polydata delete <?datasetName?> |
---|
701 | polydata edges <bool> <?datasetName?> |
---|
702 | polydata lighting <bool> <?datasetName?> |
---|
703 | polydata linecolor <r> <g> <b> <?datasetName?> |
---|
704 | polydata linewidth <val> <?datasetName?> |
---|
705 | polydata material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> |
---|
706 | polydata opacity <val> <?datasetName?> |
---|
707 | polydata orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
708 | polydata origin <x> <y> <z> <?name?> |
---|
709 | polydata pos <x> <y> <z> <?dataSetName?> |
---|
710 | polydata preinterp <bool> <?dataSetName?> |
---|
711 | Controls if VTK's InterpolateScalarsBeforeMapping option is set. |
---|
712 | Setting this on will give more correct colors, as the interpolation |
---|
713 | is done on texture coordinates that lookup into a 1D texture instead |
---|
714 | of using color interpolation from triangle vertices. |
---|
715 | polydata ptsize <size> <?dataSetName?> |
---|
716 | polydata scale <sx> <sy> <sz> <?dataSetName?> |
---|
717 | polydata shading <val> <?name?> |
---|
718 | val = flat|smooth |
---|
719 | polydata visible <bool> <?datasetName?> |
---|
720 | polydata wireframe <bool> <?datasetName?> |
---|
721 | |
---|
722 | polygon add <numSides> <centerX> <centerY> <centerZ> <normX> <normY> <normZ> <radius> <name> |
---|
723 | polygon color <r> <g> <b> <?name?> |
---|
724 | polygon culling <bool> <?name?> |
---|
725 | polygon delete <?name?> |
---|
726 | polygon edges <bool> <?name?> |
---|
727 | polygon flipnorm <bool> <?name?> |
---|
728 | polygon lighting <bool> <?name?> |
---|
729 | polygon linecolor <r> <g> <b> <?name?> |
---|
730 | polygon linewidth <val> <?name?> |
---|
731 | polygon material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?> |
---|
732 | polygon opacity <val> <?name?> |
---|
733 | polygon orient <qw> <qx> <qy> <qz> <?name?> |
---|
734 | polygon origin <x> <y> <z> <?name?> |
---|
735 | polygon pos <x> <y> <z> <?name?> |
---|
736 | polygon scale <sx> <sy> <sz> <?name?> |
---|
737 | polygon shading <val> <?name?> |
---|
738 | val = flat|smooth |
---|
739 | polygon visible <bool> <?name?> |
---|
740 | polygon wireframe <bool> <?name?> |
---|
741 | |
---|
742 | pseudocolor add <?datasetName?> |
---|
743 | pseudocolor color <r> <g> <b> <?datasetName?> |
---|
744 | pseudocolor cloudstyle <style> <?datasetName?> |
---|
745 | <style> = mesh | points | splat |
---|
746 | pseudocolor colormap <colormapName> <?datasetName?> |
---|
747 | pseudocolor colormode <scalar|vmag|vx|vy|vz|constant> <fieldName> <?datasetName?> |
---|
748 | Set the field used to color the object. 'constant' means to use |
---|
749 | the constant color defined by the color subcommand. 'scalar' uses |
---|
750 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
751 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
752 | the active vector field. |
---|
753 | pseudocolor delete <?datasetName?> |
---|
754 | pseudocolor edges <bool> <?datasetName?> |
---|
755 | pseudocolor lighting <bool> <?datasetName?> |
---|
756 | pseudocolor linecolor <r> <g> <b> <?datasetName?> |
---|
757 | pseudocolor linewidth <val> <?datasetName?> |
---|
758 | pseudocolor opacity <val> <?datasetName?> |
---|
759 | pseudocolor orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
760 | pseudocolor pos <x> <y> <z> <?dataSetName?> |
---|
761 | pseudocolor preinterp <bool> <?dataSetName?> |
---|
762 | Controls if VTK's InterpolateScalarsBeforeMapping option is set. |
---|
763 | Setting this on will give more correct colors, as the interpolation |
---|
764 | is done on texture coordinates that lookup into a 1D texture instead |
---|
765 | of using color interpolation from triangle vertices. |
---|
766 | pseudocolor ptsize <size> <?dataSetName?> |
---|
767 | pseudocolor scale <sx> <sy> <sz> <?dataSetName?> |
---|
768 | pseudocolor visible <bool> <?datasetName?> |
---|
769 | pseudocolor wireframe <bool> <?datasetName?> |
---|
770 | |
---|
771 | sphere add <centerX> <centerY> <centerZ> <radius> <name> |
---|
772 | sphere color <r> <g> <b> <?name?> |
---|
773 | sphere culling <bool> <?name?> |
---|
774 | sphere delete <?name?> |
---|
775 | sphere edges <bool> <?name?> |
---|
776 | sphere flipnorm <bool> <?name?> |
---|
777 | sphere lighting <bool> <?name?> |
---|
778 | sphere linecolor <r> <g> <b> <?name?> |
---|
779 | sphere linewidth <val> <?name?> |
---|
780 | sphere material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?> |
---|
781 | sphere opacity <val> <?name?> |
---|
782 | sphere orient <qw> <qx> <qy> <qz> <?name?> |
---|
783 | sphere origin <x> <y> <z> <?name?> |
---|
784 | sphere pos <x> <y> <z> <?name?> |
---|
785 | sphere resolution <thetaRes> <phiRes> <?name?> |
---|
786 | sphere scale <sx> <sy> <sz> <?name?> |
---|
787 | sphere section <thetaStart> <thetaEnd> <phiStart> <phiEnd> <?name?> |
---|
788 | Angles are in degrees |
---|
789 | sphere shading <val> <?name?> |
---|
790 | val = flat|smooth |
---|
791 | sphere visible <bool> <?name?> |
---|
792 | sphere wireframe <bool> <?name?> |
---|
793 | |
---|
794 | streamlines add <?datasetName?> |
---|
795 | streamlines color <r> <g> <b> <?datasetName?> |
---|
796 | Set the constant color of streamlines used for color mode 'constant' |
---|
797 | streamlines colormap <colormapName> <?datasetName?> |
---|
798 | Colormap used to color streamlines/tubes/ribbons by vector magnitude |
---|
799 | streamlines colormode <scalar|vmag|vx|vy|vz|constant> <fieldName> <?datasetName?> |
---|
800 | Set the field used to color the streamlines. 'constant' means to use |
---|
801 | the constant color defined by the color subcommand. 'scalar' uses |
---|
802 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
803 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
804 | the active vector field. |
---|
805 | streamlines delete <?datasetName?> |
---|
806 | streamlines edges <bool> <?datasetName?> |
---|
807 | Turn on/off edges for tubes, ribbons |
---|
808 | streamlines length <?datasetName?> |
---|
809 | Set maximum length in world coordinates of streamlines |
---|
810 | streamlines lighting <bool> <?datasetName?> |
---|
811 | streamlines linecolor <r> <g> <b> <?datasetName?> |
---|
812 | Set color of edges for tubes, ribbons (lines are colored by |
---|
813 | colormap) |
---|
814 | streamlines lines <?datasetName?> |
---|
815 | Set rendering type to polylines |
---|
816 | streamlines linewidth <val> <?datasetName?> |
---|
817 | streamlines opacity <val> <?datasetName?> |
---|
818 | streamlines orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
819 | streamlines pos <x> <y> <z> <?dataSetName?> |
---|
820 | streamlines ribbons <width> <angle> <?datasetName?> |
---|
821 | Set rendering type to ribbons, width is minimum half-width, angle is |
---|
822 | degrees offset from normal orientation |
---|
823 | streamlines scale <sx> <sy> <sz> <?dataSetName?> |
---|
824 | streamlines seed color <r> <g> <b> <?datasetName?> |
---|
825 | streamlines seed disk <centerX> <centerY> <centerZ> <normalX> <normalY> <normalZ> <radius> <innerRadius> <numPoints> <?dataSetName?> |
---|
826 | Create a disk seed area with optional hole, filled with randomly |
---|
827 | placed points |
---|
828 | streamlines seed fmesh <numPoints> data follows <nbytes> <?datasetName?> |
---|
829 | Fill a mesh supplied as a VTK data file with randomly placed points |
---|
830 | streamlines seed fpoly <centerX> <centerY> <centerZ> <normalX> <normalY> <normalZ> <angle> <radius> <numSides> <numPoints> <?dataSetName?> |
---|
831 | Create a regular n-sided polygonal seed area filled with randomly |
---|
832 | placed points |
---|
833 | streamlines seed mesh data follows <nbytes> <?datasetName?> |
---|
834 | Use points of a mesh supplied as a VTK data file |
---|
835 | streamlines seed numpts <?datasetName?> |
---|
836 | If seeds have been created using 'seed random', 'seed fmesh', |
---|
837 | 'seed mesh' or 'seed points' this command can be used to change the |
---|
838 | number of randomly distributed seeds. In the case of 'seed mesh' |
---|
839 | or 'seed points', the number is the maximum number of points of the |
---|
840 | mesh to be used -- the actual number may be fewer if the mesh |
---|
841 | contains fewer points. Set to a number less than 0 to use all the |
---|
842 | points of the mesh. |
---|
843 | streamlines seed points <?datasetName?> |
---|
844 | Use points of the streamlines' dataset mesh |
---|
845 | streamlines seed polygon <centerX> <centerY> <centerZ> <normalX> <normalY> <normalZ> <angle> <radius> <numSides> <?dataSetName?> |
---|
846 | Create seed points from vertices of a regular n-sided polygon |
---|
847 | streamlines seed ptsize <size> <?datasetName?> |
---|
848 | Set the point size for rendering seed points |
---|
849 | streamlines seed rake <startX> <startY> <startZ> <endX> <endY> <endZ> <numPoints> <?datasetName?> |
---|
850 | streamlines seed random <numPoints> <?datasetName?> |
---|
851 | Fill the streamlines' dataset mesh with randomly placed points |
---|
852 | streamlines seed visible <bool> <?datasetName?> |
---|
853 | streamlines tubes <numSides> <radius> <?datasetName?> |
---|
854 | Set rendering type to tubes, numSides is number of sides of tubes, |
---|
855 | radius is minimum tube radius |
---|
856 | streamlines visible <bool> <?datasetName?> |
---|
857 | |
---|
858 | text3d add <textString> <name> |
---|
859 | text3d color <r> <g> <b> <?name?> |
---|
860 | text3d delete <?name?> |
---|
861 | text3d fntfamily <fontName> <?name?> |
---|
862 | text3d fntsize <fontSize> <?name?> |
---|
863 | text3d opacity <opacity> <?name?> |
---|
864 | text3d orient <qw> <qx> <qy> <qz> <?name?> |
---|
865 | text3d origin <x> <y> <z> <?name?> |
---|
866 | text3d pos <x> <y> <z> <?name?> |
---|
867 | text3d scale <sx> <sy> <sz> <?name?> |
---|
868 | text3d visible <bool> <?name?> |
---|
869 | |
---|
870 | volume add <?datasetName?> |
---|
871 | volume colormap <colorMapName> <?datasetName?> |
---|
872 | volume delete <?datasetName?> |
---|
873 | volume lighting <bool> <?datasetName?> |
---|
874 | volume orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
875 | volume pos <x> <y> <z> <?dataSetName?> |
---|
876 | volume quality <val> <?datasetName?> |
---|
877 | val = [0,1] |
---|
878 | volume scale <sx> <sy> <sz> <?dataSetName?> |
---|
879 | volume shading ambient <coeff> <?datasetName?> |
---|
880 | volume shading diffuse <coeff> <?datasetName?> |
---|
881 | volume shading specular <coeff> <power> <?datasetName?> |
---|
882 | volume visible <bool> <?datasetName?> |
---|
883 | |
---|
884 | warp add <?dataSetName?> |
---|
885 | warp color <r> <g> <b> <?datasetName?> |
---|
886 | warp cloudstyle <style> <?datasetName?> |
---|
887 | <style> = mesh | points |
---|
888 | warp colormap <colormapName> <?datasetName?> |
---|
889 | warp colormode <scalar|vmag|vx|vy|vz|constant> <fieldName> <?datasetName?> |
---|
890 | Set the field used to color the object. 'constant' means to use |
---|
891 | the constant color defined by the color subcommand. 'scalar' uses |
---|
892 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
893 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
894 | the active vector field. |
---|
895 | warp delete <?dataSetName?> |
---|
896 | warp edges <bool> <?dataSetName?> |
---|
897 | warp lighting <bool> <?dataSetName?> |
---|
898 | warp linecolor <r> <g> <b> <?dataSetName?> |
---|
899 | warp linewidth <width> <?dataSetName?> |
---|
900 | warp opacity <value> <?dataSetName?> |
---|
901 | warp orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
902 | warp ptsize <size> <?dataSetName?> |
---|
903 | warp pos <x> <y> <z> <?dataSetName?> |
---|
904 | warp preinterp <bool> <?dataSetName?> |
---|
905 | Controls if VTK's InterpolateScalarsBeforeMapping option is set. |
---|
906 | Setting this on will give more correct colors, as the interpolation |
---|
907 | is done on texture coordinates that lookup into a 1D texture instead |
---|
908 | of using color interpolation from triangle vertices. |
---|
909 | warp scale <sx> <sy> <sz> <?dataSetName?> |
---|
910 | warp visible <bool> <?dataSetName?> |
---|
911 | warp warpscale <value> <?dataSetName?> |
---|
912 | Specify amount to scale vector magnitudes when warping |
---|
913 | warp wireframe <bool> <?datasetName?> |
---|
914 | |
---|
915 | ================================================================================ |
---|
916 | Replies: |
---|
917 | ================================================================================ |
---|
918 | nv>camera set <posX> <posY> <posZ> <focalPtX> <focalPtY> <focalPtZ> <viewUpX> <viewUpY> <viewUpZ> |
---|
919 | Reply to "camera get" |
---|
920 | nv>image -type image -bytes <nbytes> |
---|
921 | <binary RGB data> |
---|
922 | nv>image -type image -bbox {x y w h} -bytes <nbytes> |
---|
923 | <binary RGB data> |
---|
924 | The bounding box of the 2D image camera zoom region is supplied |
---|
925 | Note: The bbox coordinates are in the form used by 'camera ortho world ...': |
---|
926 | x,y - world coord. of lower left corner, w,h - width height in world coords |
---|
927 | This form is currently used only if the camera mode is set to 'image'. |
---|
928 | nv>legend <colormapName> <title> <rmin> <rmax> <nbytes> |
---|
929 | <binary RGB data> |
---|
930 | nv>dataset names <Tcl list of names> |
---|
931 | nv>dataset scalar world <x> <y> <z> <value> <dataSetName> |
---|
932 | nv>dataset scalar pixel <x> <y> <value> <dataSetName> |
---|
933 | nv>dataset vector world <x> <y> <z> <valueX> <valueY> <valueZ> <dataSetName> |
---|
934 | nv>dataset vector pixel <x> <y> <valueX> <valueY> <valueZ> <dataSetName> |
---|
935 | nv>ok -token <seqnum> |
---|
936 | Reply indicated commands through <seqnum> (numbered beginning at 1) have been |
---|
937 | processed, but no new image was rendered |
---|
938 | ================================================================================ |
---|
939 | Error Replies: |
---|
940 | ================================================================================ |
---|
941 | nv>viserror -bytes <nbytes> |
---|
942 | <multi-line error string of nbytes> |
---|
943 | ================================================================================ |
---|