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 ccolor <r> <g> <b> <?datasetName?> |
---|
345 | synonym for linecolor |
---|
346 | contour2d colormap <colormapName> <?datasetName?> |
---|
347 | contour2d colormode <scalar|vmag|vx|vy|vz|ccolor> <fieldName> <?datasetName?> |
---|
348 | Set the field used to color the object. 'ccolor' means to use |
---|
349 | the constant color defined by the ccolor 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 ccolor r g b <?datasetName?> |
---|
372 | contour3d colormap <colorMapName> <?dataSetName?> |
---|
373 | contour3d colormode <scalar|vmag|vx|vy|vz|ccolor> <fieldName> <?datasetName?> |
---|
374 | Set the field used to color the object. 'ccolor' means to use |
---|
375 | the constant color defined by the ccolor 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 ccolor 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 ccolor r g b <?datasetName?> |
---|
474 | glyphs colormap <colorMapName> <?dataSetName?> |
---|
475 | glyphs colormode <scalar|vmag|vx|vy|vz|ccolor> <fieldName> <?dataSetName?> |
---|
476 | Set the color mode: color by scalar field or |
---|
477 | vector magnitude -- uses the current color map, |
---|
478 | or ccolor 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|ccolor> <fieldName> <?datasetName?> |
---|
540 | Set the field used to color the object. 'ccolor' means to use |
---|
541 | the constant color defined by the ccolor 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 | lic add <?datasetName?> |
---|
576 | lic colormap <colormapName> <?datasetName?> |
---|
577 | lic delete <?datasetName?> |
---|
578 | lic edges <bool> <?datasetName?> |
---|
579 | lic lighting <bool> <?datasetName?> |
---|
580 | lic linecolor <r> <g> <b> <?datasetName?> |
---|
581 | lic linewidth <val> <?datasetName?> |
---|
582 | lic opacity <val> <?datasetName?> |
---|
583 | lic orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
584 | lic pos <x> <y> <z> <?dataSetName?> |
---|
585 | lic preinterp <bool> <?dataSetName?> |
---|
586 | Controls if VTK's InterpolateScalarsBeforeMapping option is set. |
---|
587 | Setting this on will give more correct colors, as the interpolation |
---|
588 | is done on texture coordinates that lookup into a 1D texture instead |
---|
589 | of using color interpolation from triangle vertices. |
---|
590 | lic scale <sx> <sy> <sz> <?dataSetName?> |
---|
591 | lic slice <axis> <ratio> <?datasetName?> |
---|
592 | For 3D data, select a slice along a principle axis of the volume. The |
---|
593 | ratio is [0,1] |
---|
594 | lic visible <bool> <?datasetName?> |
---|
595 | |
---|
596 | line add <points> <name> |
---|
597 | Create a polyline from the list of point coordinates in <points>. The |
---|
598 | list size must be a multiple of 3 (each point's x,y,z coordinates) |
---|
599 | line color <r> <g> <b> <?name?> |
---|
600 | line delete <?name?> |
---|
601 | line linecolor <r> <g> <b> <?name?> |
---|
602 | Synonym for color |
---|
603 | line linewidth <val> <?name?> |
---|
604 | line opacity <val> <?name?> |
---|
605 | line orient <qw> <qx> <qy> <qz> <?name?> |
---|
606 | line origin <x> <y> <z> <?name?> |
---|
607 | line pos <x> <y> <z> <?name?> |
---|
608 | line scale <sx> <sy> <sz> <?name?> |
---|
609 | line visible <bool> <?name?> |
---|
610 | |
---|
611 | molecule add <?datasetName?> |
---|
612 | molecule aquality <val> <?datasetName?> |
---|
613 | Set atom sphere resolution quality val=[0,10], 1 is default |
---|
614 | molecule ascale <val> <?datasetName?> |
---|
615 | Set atom scale factor |
---|
616 | molecule atoms <bool> <?datasetName?> |
---|
617 | Toggle rendering of atoms |
---|
618 | molecule bcmode <by_elements|constant> <?datasetName?> |
---|
619 | Set bond color mode |
---|
620 | molecule bcolor <r> <g> <b> <?datasetName?> |
---|
621 | Set constant bond color |
---|
622 | molecule bonds <bool> <?datasetName?> |
---|
623 | Toggle rendering of bonds |
---|
624 | molecule bquality <val> <?datasetName?> |
---|
625 | Set bond cylinder resolution quality val=[0,10], 1 is default |
---|
626 | molecule bscale <val> <?datasetName?> |
---|
627 | Set bond scale factor |
---|
628 | molecule bstyle <cylinder|line> <?datasetName?> |
---|
629 | Set bond render style |
---|
630 | molecule ccolor r g b <?datasetName?> |
---|
631 | molecule colormap <colormapName> <?datasetName?> |
---|
632 | molecule colormode <by_elements|scalar|vmag|vx|vy|vz|ccolor> <fieldName> <?datasetName?> |
---|
633 | Set the field used to color the object. 'ccolor' means to use |
---|
634 | the constant color defined by the ccolor subcommand. 'scalar' uses |
---|
635 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
636 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
637 | the active vector field. |
---|
638 | molecule delete <?datasetName?> |
---|
639 | molecule edges <bool> <?datasetName?> |
---|
640 | molecule labels <bool> <?datasetName?> |
---|
641 | Toggle display of atom labels |
---|
642 | molecule lfield <fieldName> <?datasetName?> |
---|
643 | Set the field used for atom labels |
---|
644 | molecule lighting <bool> <?datasetName?> |
---|
645 | molecule linecolor <r> <g> <b> <?datasetName?> |
---|
646 | molecule linewidth <val> <?datasetName?> |
---|
647 | molecule material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?datasetName?> |
---|
648 | molecule opacity <val> <?datasetName?> |
---|
649 | molecule orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
650 | molecule pos <x> <y> <z> <?dataSetName?> |
---|
651 | molecule rscale <val> <?dataSetName?> |
---|
652 | Atom radius scaling |
---|
653 | val = van_der_waals|covalent|atomic|none |
---|
654 | molecule scale <sx> <sy> <sz> <?dataSetName?> |
---|
655 | molecule visible <bool> <?datasetName?> |
---|
656 | molecule wireframe <bool> <?datasetName?> |
---|
657 | |
---|
658 | outline add <?datasetName?> |
---|
659 | outline color <r> <g> <b> <?datasetName?> |
---|
660 | outline delete <?datasetName?> |
---|
661 | outline linecolor <r> <g> <b> <?datasetName?> |
---|
662 | Synonym for color |
---|
663 | outline linewidth <val> <?datasetName?> |
---|
664 | outline opacity <val> <?datasetName?> |
---|
665 | outline orient <qw> <qx> <qy> <qz> <?datasetName?> |
---|
666 | outline pos <x> <y> <z> <?datasetName?> |
---|
667 | outline scale <sx> <sy> <sz> <?datasetName?> |
---|
668 | outline visible <bool> <?datasetName?> |
---|
669 | |
---|
670 | polydata add <?datasetName?> |
---|
671 | polydata cloudstyle <style> <?datasetName?> |
---|
672 | <style> = mesh | points |
---|
673 | polydata color <r> <g> <b> <?datasetName?> |
---|
674 | polydata culling <bool> <?name?> |
---|
675 | polydata delete <?datasetName?> |
---|
676 | polydata edges <bool> <?datasetName?> |
---|
677 | polydata lighting <bool> <?datasetName?> |
---|
678 | polydata linecolor <r> <g> <b> <?datasetName?> |
---|
679 | polydata linewidth <val> <?datasetName?> |
---|
680 | polydata material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> |
---|
681 | polydata opacity <val> <?datasetName?> |
---|
682 | polydata orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
683 | polydata origin <x> <y> <z> <?name?> |
---|
684 | polydata pos <x> <y> <z> <?dataSetName?> |
---|
685 | polydata ptsize <size> <?dataSetName?> |
---|
686 | polydata scale <sx> <sy> <sz> <?dataSetName?> |
---|
687 | polydata shading <val> <?name?> |
---|
688 | val = flat|smooth |
---|
689 | polydata visible <bool> <?datasetName?> |
---|
690 | polydata wireframe <bool> <?datasetName?> |
---|
691 | |
---|
692 | polygon add <numSides> <centerX> <centerY> <centerZ> <normX> <normY> <normZ> <radius> <name> |
---|
693 | polygon color <r> <g> <b> <?name?> |
---|
694 | polygon culling <bool> <?name?> |
---|
695 | polygon delete <?name?> |
---|
696 | polygon edges <bool> <?name?> |
---|
697 | polygon flipnorm <bool> <?name?> |
---|
698 | polygon lighting <bool> <?name?> |
---|
699 | polygon linecolor <r> <g> <b> <?name?> |
---|
700 | polygon linewidth <val> <?name?> |
---|
701 | polygon material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?> |
---|
702 | polygon opacity <val> <?name?> |
---|
703 | polygon orient <qw> <qx> <qy> <qz> <?name?> |
---|
704 | polygon origin <x> <y> <z> <?name?> |
---|
705 | polygon pos <x> <y> <z> <?name?> |
---|
706 | polygon scale <sx> <sy> <sz> <?name?> |
---|
707 | polygon shading <val> <?name?> |
---|
708 | val = flat|smooth |
---|
709 | polygon visible <bool> <?name?> |
---|
710 | polygon wireframe <bool> <?name?> |
---|
711 | |
---|
712 | pseudocolor add <?datasetName?> |
---|
713 | pseudocolor ccolor <r> <g> <b> <?datasetName?> |
---|
714 | pseudocolor cloudstyle <style> <?datasetName?> |
---|
715 | <style> = mesh | points | splat |
---|
716 | pseudocolor colormap <colormapName> <?datasetName?> |
---|
717 | pseudocolor colormode <scalar|vmag|vx|vy|vz|ccolor> <fieldName> <?datasetName?> |
---|
718 | Set the field used to color the object. 'ccolor' means to use |
---|
719 | the constant color defined by the ccolor subcommand. 'scalar' uses |
---|
720 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
721 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
722 | the active vector field. |
---|
723 | pseudocolor delete <?datasetName?> |
---|
724 | pseudocolor edges <bool> <?datasetName?> |
---|
725 | pseudocolor lighting <bool> <?datasetName?> |
---|
726 | pseudocolor linecolor <r> <g> <b> <?datasetName?> |
---|
727 | pseudocolor linewidth <val> <?datasetName?> |
---|
728 | pseudocolor opacity <val> <?datasetName?> |
---|
729 | pseudocolor orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
730 | pseudocolor pos <x> <y> <z> <?dataSetName?> |
---|
731 | pseudocolor preinterp <bool> <?dataSetName?> |
---|
732 | Controls if VTK's InterpolateScalarsBeforeMapping option is set. |
---|
733 | Setting this on will give more correct colors, as the interpolation |
---|
734 | is done on texture coordinates that lookup into a 1D texture instead |
---|
735 | of using color interpolation from triangle vertices. |
---|
736 | pseudocolor ptsize <size> <?dataSetName?> |
---|
737 | pseudocolor scale <sx> <sy> <sz> <?dataSetName?> |
---|
738 | pseudocolor visible <bool> <?datasetName?> |
---|
739 | pseudocolor wireframe <bool> <?datasetName?> |
---|
740 | |
---|
741 | sphere add <centerX> <centerY> <centerZ> <radius> <name> |
---|
742 | sphere color <r> <g> <b> <?name?> |
---|
743 | sphere culling <bool> <?name?> |
---|
744 | sphere delete <?name?> |
---|
745 | sphere edges <bool> <?name?> |
---|
746 | sphere flipnorm <bool> <?name?> |
---|
747 | sphere lighting <bool> <?name?> |
---|
748 | sphere linecolor <r> <g> <b> <?name?> |
---|
749 | sphere linewidth <val> <?name?> |
---|
750 | sphere material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?> |
---|
751 | sphere opacity <val> <?name?> |
---|
752 | sphere orient <qw> <qx> <qy> <qz> <?name?> |
---|
753 | sphere origin <x> <y> <z> <?name?> |
---|
754 | sphere pos <x> <y> <z> <?name?> |
---|
755 | sphere resolution <thetaRes> <phiRes> <?name?> |
---|
756 | sphere scale <sx> <sy> <sz> <?name?> |
---|
757 | sphere section <thetaStart> <thetaEnd> <phiStart> <phiEnd> <?name?> |
---|
758 | Angles are in degrees |
---|
759 | sphere shading <val> <?name?> |
---|
760 | val = flat|smooth |
---|
761 | sphere visible <bool> <?name?> |
---|
762 | sphere wireframe <bool> <?name?> |
---|
763 | |
---|
764 | streamlines add <?datasetName?> |
---|
765 | streamlines ccolor <r> <g> <b> <?datasetName?> |
---|
766 | Set the constant color of streamlines used for color mode 'ccolor' |
---|
767 | streamlines colormap <colormapName> <?datasetName?> |
---|
768 | Colormap used to color streamlines/tubes/ribbons by vector magnitude |
---|
769 | streamlines colormode <scalar|vmag|vx|vy|vz|ccolor> <fieldName> <?datasetName?> |
---|
770 | Set the field used to color the streamlines. 'ccolor' means to use |
---|
771 | the constant color defined by the ccolor subcommand. 'scalar' uses |
---|
772 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
773 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
774 | the active vector field. |
---|
775 | streamlines delete <?datasetName?> |
---|
776 | streamlines edges <bool> <?datasetName?> |
---|
777 | Turn on/off edges for tubes, ribbons |
---|
778 | streamlines length <?datasetName?> |
---|
779 | Set maximum length in world coordinates of streamlines |
---|
780 | streamlines lighting <bool> <?datasetName?> |
---|
781 | streamlines linecolor <r> <g> <b> <?datasetName?> |
---|
782 | Set color of edges for tubes, ribbons (lines are colored by |
---|
783 | colormap) |
---|
784 | streamlines lines <?datasetName?> |
---|
785 | Set rendering type to polylines |
---|
786 | streamlines linewidth <val> <?datasetName?> |
---|
787 | streamlines opacity <val> <?datasetName?> |
---|
788 | streamlines orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
789 | streamlines pos <x> <y> <z> <?dataSetName?> |
---|
790 | streamlines ribbons <width> <angle> <?datasetName?> |
---|
791 | Set rendering type to ribbons, width is minimum half-width, angle is |
---|
792 | degrees offset from normal orientation |
---|
793 | streamlines scale <sx> <sy> <sz> <?dataSetName?> |
---|
794 | streamlines seed color <r> <g> <b> <?datasetName?> |
---|
795 | streamlines seed disk <centerX> <centerY> <centerZ> <normalX> <normalY> <normalZ> <radius> <innerRadius> <numPoints> <?dataSetName?> |
---|
796 | Create a disk seed area with optional hole, filled with randomly |
---|
797 | placed points |
---|
798 | streamlines seed fmesh <numPoints> data follows <nbytes> <?datasetName?> |
---|
799 | Fill a mesh supplied as a VTK data file with randomly placed points |
---|
800 | streamlines seed fpoly <centerX> <centerY> <centerZ> <normalX> <normalY> <normalZ> <angle> <radius> <numSides> <numPoints> <?dataSetName?> |
---|
801 | Create a regular n-sided polygonal seed area filled with randomly |
---|
802 | placed points |
---|
803 | streamlines seed mesh data follows <nbytes> <?datasetName?> |
---|
804 | Use points of a mesh supplied as a VTK data file |
---|
805 | streamlines seed numpts <?datasetName?> |
---|
806 | If seeds have been created using 'seed random', 'seed fmesh', |
---|
807 | 'seed mesh' or 'seed points' this command can be used to change the |
---|
808 | number of randomly distributed seeds. In the case of 'seed mesh' |
---|
809 | or 'seed points', the number is the maximum number of points of the |
---|
810 | mesh to be used -- the actual number may be fewer if the mesh |
---|
811 | contains fewer points. Set to a number less than 0 to use all the |
---|
812 | points of the mesh. |
---|
813 | streamlines seed points <?datasetName?> |
---|
814 | Use points of the streamlines' dataset mesh |
---|
815 | streamlines seed polygon <centerX> <centerY> <centerZ> <normalX> <normalY> <normalZ> <angle> <radius> <numSides> <?dataSetName?> |
---|
816 | Create seed points from vertices of a regular n-sided polygon |
---|
817 | streamlines seed ptsize <size> <?datasetName?> |
---|
818 | Set the point size for rendering seed points |
---|
819 | streamlines seed rake <startX> <startY> <startZ> <endX> <endY> <endZ> <numPoints> <?datasetName?> |
---|
820 | streamlines seed random <numPoints> <?datasetName?> |
---|
821 | Fill the streamlines' dataset mesh with randomly placed points |
---|
822 | streamlines seed visible <bool> <?datasetName?> |
---|
823 | streamlines tubes <numSides> <radius> <?datasetName?> |
---|
824 | Set rendering type to tubes, numSides is number of sides of tubes, |
---|
825 | radius is minimum tube radius |
---|
826 | streamlines visible <bool> <?datasetName?> |
---|
827 | |
---|
828 | volume add <?datasetName?> |
---|
829 | volume colormap <colorMapName> <?datasetName?> |
---|
830 | volume delete <?datasetName?> |
---|
831 | volume lighting <bool> <?datasetName?> |
---|
832 | volume orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
833 | volume pos <x> <y> <z> <?dataSetName?> |
---|
834 | volume quality <val> <?datasetName?> |
---|
835 | val = [0,1] |
---|
836 | volume scale <sx> <sy> <sz> <?dataSetName?> |
---|
837 | volume shading ambient <coeff> <?datasetName?> |
---|
838 | volume shading diffuse <coeff> <?datasetName?> |
---|
839 | volume shading specular <coeff> <power> <?datasetName?> |
---|
840 | volume visible <bool> <?datasetName?> |
---|
841 | |
---|
842 | warp add <?dataSetName?> |
---|
843 | warp ccolor <r> <g> <b> <?datasetName?> |
---|
844 | warp cloudstyle <style> <?datasetName?> |
---|
845 | <style> = mesh | points |
---|
846 | warp colormap <colormapName> <?datasetName?> |
---|
847 | warp colormode <scalar|vmag|vx|vy|vz|ccolor> <fieldName> <?datasetName?> |
---|
848 | Set the field used to color the object. 'ccolor' means to use |
---|
849 | the constant color defined by the ccolor subcommand. 'scalar' uses |
---|
850 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
851 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
852 | the active vector field. |
---|
853 | warp delete <?dataSetName?> |
---|
854 | warp edges <bool> <?dataSetName?> |
---|
855 | warp lighting <bool> <?dataSetName?> |
---|
856 | warp linecolor <r> <g> <b> <?dataSetName?> |
---|
857 | warp linewidth <width> <?dataSetName?> |
---|
858 | warp opacity <value> <?dataSetName?> |
---|
859 | warp orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
860 | warp ptsize <size> <?dataSetName?> |
---|
861 | warp pos <x> <y> <z> <?dataSetName?> |
---|
862 | warp preinterp <bool> <?dataSetName?> |
---|
863 | Controls if VTK's InterpolateScalarsBeforeMapping option is set. |
---|
864 | Setting this on will give more correct colors, as the interpolation |
---|
865 | is done on texture coordinates that lookup into a 1D texture instead |
---|
866 | of using color interpolation from triangle vertices. |
---|
867 | warp scale <sx> <sy> <sz> <?dataSetName?> |
---|
868 | warp visible <bool> <?dataSetName?> |
---|
869 | warp warpscale <value> <?dataSetName?> |
---|
870 | Specify amount to scale vector magnitudes when warping |
---|
871 | warp wireframe <bool> <?datasetName?> |
---|
872 | |
---|
873 | ================================================================================ |
---|
874 | Replies: |
---|
875 | ================================================================================ |
---|
876 | nv>camera set <posX> <posY> <posZ> <focalPtX> <focalPtY> <focalPtZ> <viewUpX> <viewUpY> <viewUpZ> |
---|
877 | Reply to "camera get" |
---|
878 | nv>image -type image -bytes <nbytes> |
---|
879 | <binary RGB data> |
---|
880 | nv>image -type image -bbox {x y w h} -bytes <nbytes> |
---|
881 | <binary RGB data> |
---|
882 | The bounding box of the 2D image camera zoom region is supplied |
---|
883 | Note: The bbox coordinates are in the form used by 'camera ortho world ...': |
---|
884 | x,y - world coord. of lower left corner, w,h - width height in world coords |
---|
885 | This form is currently used only if the camera mode is set to 'image'. |
---|
886 | nv>legend <colormapName> <title> <rmin> <rmax> <nbytes> |
---|
887 | <binary RGB data> |
---|
888 | nv>dataset names <Tcl list of names> |
---|
889 | nv>dataset scalar world <x> <y> <z> <value> <dataSetName> |
---|
890 | nv>dataset scalar pixel <x> <y> <value> <dataSetName> |
---|
891 | nv>dataset vector world <x> <y> <z> <valueX> <valueY> <valueZ> <dataSetName> |
---|
892 | nv>dataset vector pixel <x> <y> <valueX> <valueY> <valueZ> <dataSetName> |
---|
893 | nv>ok -token <seqnum> |
---|
894 | Reply indicated commands through <seqnum> (numbered beginning at 1) have been |
---|
895 | processed, but no new image was rendered |
---|
896 | ================================================================================ |
---|
897 | Error Replies: |
---|
898 | ================================================================================ |
---|
899 | nv>viserror -bytes <nbytes> |
---|
900 | <multi-line error string of nbytes> |
---|
901 | ================================================================================ |
---|