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 given |
---|
128 | 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 | (Re-)define a colormap. If colorMapName doesn't exist, it is created, |
---|
192 | otherwise the colormap is redefined and all users will be updated. |
---|
193 | colorMap = Tcl list of {value r g b} control points |
---|
194 | opacityMap = Tcl list of {value alpha} control points |
---|
195 | colormap define <colorMapName> <colorMap> <opacityMap> |
---|
196 | (Re-)define a colormap (same as 'add') |
---|
197 | colormap delete <?colorMapName?> |
---|
198 | colormap res <numberOfTableEntries> |
---|
199 | Set the "resolution" or number of lookup table entries in the colormap |
---|
200 | <numberOfTableEntries> = integer or "default" |
---|
201 | |
---|
202 | dataset add <datasetName> data follows <nbytes> |
---|
203 | dataset delete <?datasetName?> |
---|
204 | dataset getscalar world <x> <y> <z> <datasetName> |
---|
205 | dataset getscalar pixel <x> <y> <datasetName> |
---|
206 | dataset getvector world <x> <y> <z> <datasetName> |
---|
207 | dataset getvector pixel <x> <y> <datasetName> |
---|
208 | Use pixel for image camera mode |
---|
209 | dataset maprange <val> <?min?> <?max?> <?fieldName?> <?fieldType?> <?numComp?> <?component?> |
---|
210 | Controls if data range for colormapping and contours is based on |
---|
211 | cumulative range of all datasets ("all"), only visible datasets |
---|
212 | ("visible") or each individual dataset ("separate"). Defaults to |
---|
213 | "all" |
---|
214 | <val> = all|explicit|visible|separate |
---|
215 | The following arguments are only used for 'explicit' mode: |
---|
216 | <min>,<max> = Required in explicit mode, specify the range to use |
---|
217 | <fieldName> = Required in explicit mode, specify the field to which the |
---|
218 | range should be applied |
---|
219 | <fieldType> = point_data|cell_data|field_data, optional (defaults to |
---|
220 | point_data) |
---|
221 | <numComp> = Number of components (1 = scalar, 3 = vector), optional (1 |
---|
222 | is default) |
---|
223 | <component> = Component index for vector fields, required if numComp is |
---|
224 | 3, otherwise unused. |
---|
225 | dataset names |
---|
226 | Returns a list of the loaded data sets |
---|
227 | dataset opacity <val> <?datasetName?> |
---|
228 | dataset scalar <scalarName> <?datasetName?> |
---|
229 | Set the active scalar field to plot |
---|
230 | dataset vector <vectorName> <?datasetName?> |
---|
231 | Set the active vector field to plot |
---|
232 | dataset visible <bool> <?datasetName?> |
---|
233 | |
---|
234 | legend <colormapName> <legendType> <fieldName> <legendTitle> <width> <height> <numLabels> <?datasetName?> |
---|
235 | Causes legend to be rendered and written back with labels and title |
---|
236 | (title may be left blank) |
---|
237 | <legendType> = scalar|vmag|vx|vy|vz |
---|
238 | <numLabels> Can be zero or more 'tick' value labels |
---|
239 | If datasetName is omitted, the cumulative data range of all data sets |
---|
240 | will be used to label the legend -- otherwise, the current setting of |
---|
241 | 'dataset maprange' will be used to determine if the individual dataset |
---|
242 | range or cumulative range will be used. |
---|
243 | |
---|
244 | legend2 <colormapName> <width> <height> |
---|
245 | Simple legend command for rendering legend without labels or title |
---|
246 | |
---|
247 | renderer clipplane <axis> <ratio> <direction> |
---|
248 | Set a user clipping plane, ratio is [0,1] and is always interpreted as |
---|
249 | 0 = min_bound, 1 = max_bound, regardless of direction. Sign of |
---|
250 | direction determines normal of clipping plane. User clip planes do not |
---|
251 | apply if camera mode is image. |
---|
252 | renderer depthpeel <bool> <?occlusionRatio?> <?maxPeels?> |
---|
253 | Set use of depth peeling algorithm for transparency |
---|
254 | <occlusionRatio> = [0,0.5] Value of 0 means exact rendering, higher |
---|
255 | values can speed rendering at the cost of some quality. From VTK docs: |
---|
256 | "the threshold under which the algorithm stops to iterate over peel |
---|
257 | layers. This is the ratio of the number of pixels that have been |
---|
258 | touched by the last layer over the total number of pixels of the |
---|
259 | viewport area." |
---|
260 | <maxPeels> = 0 means unlimited passes, positive value limits the number |
---|
261 | of rendering passes |
---|
262 | renderer light2side <bool> |
---|
263 | Toggle use of two-sided lighting (controls if backfaces are lit with a |
---|
264 | flipped normal) |
---|
265 | renderer lights <lightNum> <bool> |
---|
266 | Toggle lights on/off. Light 0 is the headlight, light 1 the skylight |
---|
267 | renderer render |
---|
268 | Force a new image to be rendered - use for advancing animation |
---|
269 | |
---|
270 | screen bgcolor <r> <g> <b> |
---|
271 | screen size <width> <height> |
---|
272 | |
---|
273 | == Graphics objects == |
---|
274 | |
---|
275 | arc add <centerX> <centerY> <centerZ> <startX> <startY> <startZ> <normX> <normY> <normZ> <angle> <name> |
---|
276 | Creates a circular arc given a center and starting point, a normal and a |
---|
277 | sweep angle. |
---|
278 | arc color <r> <g> <b> <?name?> |
---|
279 | arc delete <?name?> |
---|
280 | arc linecolor <r> <g> <b> <?name?> |
---|
281 | arc linewidth <val> <?name?> |
---|
282 | arc opacity <val> <?name?> |
---|
283 | arc orient <qw> <qx> <qy> <qz> <?name?> |
---|
284 | arc origin <x> <y> <z> <?name?> |
---|
285 | arc pos <x> <y> <z> <?name?> |
---|
286 | arc resolution <res> <?name?> |
---|
287 | arc scale <sx> <sy> <sz> <?name?> |
---|
288 | arc visible <bool> <?name?> |
---|
289 | |
---|
290 | arrow add <tipRadius> <shaftRadius> <tipLength> <name> |
---|
291 | Arrow will have base at 0,0,0 and tip at 1, 0, 0 |
---|
292 | arrow color <r> <g> <b> <?name?> |
---|
293 | arrow culling <bool> <?name?> |
---|
294 | arrow delete <?name?> |
---|
295 | arrow edges <bool> <?name?> |
---|
296 | arrow flipnorms <bool> <?name?> |
---|
297 | arrow lighting <bool> <?name?> |
---|
298 | arrow linecolor <r> <g> <b> <?name?> |
---|
299 | arrow linewidth <val> <?name?> |
---|
300 | arrow material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?> |
---|
301 | arrow opacity <val> <?name?> |
---|
302 | arrow orient <qw> <qx> <qy> <qz> <?name?> |
---|
303 | arrow origin <x> <y> <z> <?name?> |
---|
304 | arrow pos <x> <y> <z> <?name?> |
---|
305 | arrow resolution <tipRes> <shaftRes> <?name?> |
---|
306 | arrow scale <sx> <sy> <sz> <?name?> |
---|
307 | arrow shading <val> <?name?> |
---|
308 | val = flat|smooth |
---|
309 | arrow visible <bool> <?name?> |
---|
310 | arrow wireframe <bool> <?name?> |
---|
311 | |
---|
312 | box add <xLen> <yLen> <zLen> <name> |
---|
313 | box color <r> <g> <b> <?name?> |
---|
314 | box culling <bool> <?name?> |
---|
315 | box delete <?name?> |
---|
316 | box edges <bool> <?name?> |
---|
317 | box flipnorms <bool> <?name?> |
---|
318 | box lighting <bool> <?name?> |
---|
319 | box linecolor <r> <g> <b> <?name?> |
---|
320 | box linewidth <val> <?name?> |
---|
321 | box material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?> |
---|
322 | box opacity <val> <?name?> |
---|
323 | box orient <qw> <qx> <qy> <qz> <?name?> |
---|
324 | box origin <x> <y> <z> <?name?> |
---|
325 | box pos <x> <y> <z> <?name?> |
---|
326 | box scale <sx> <sy> <sz> <?name?> |
---|
327 | box shading <val> <?name?> |
---|
328 | val = flat|smooth |
---|
329 | box visible <bool> <?name?> |
---|
330 | box wireframe <bool> <?name?> |
---|
331 | |
---|
332 | cone add <radius> <height> <cap> <name> |
---|
333 | <cap> = boolean flag for cap disks |
---|
334 | cone color <r> <g> <b> <?name?> |
---|
335 | cone culling <bool> <?name?> |
---|
336 | cone delete <?name?> |
---|
337 | cone edges <bool> <?name?> |
---|
338 | cone flipnorms <bool> <?name?> |
---|
339 | cone lighting <bool> <?name?> |
---|
340 | cone linecolor <r> <g> <b> <?name?> |
---|
341 | cone linewidth <val> <?name?> |
---|
342 | cone material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?> |
---|
343 | cone opacity <val> <?name?> |
---|
344 | cone orient <qw> <qx> <qy> <qz> <?name?> |
---|
345 | cone origin <x> <y> <z> <?name?> |
---|
346 | cone pos <x> <y> <z> <?name?> |
---|
347 | cone resolution <res> <?name?> |
---|
348 | cone scale <sx> <sy> <sz> <?name?> |
---|
349 | cone shading <val> <?name?> |
---|
350 | val = flat|smooth |
---|
351 | cone visible <bool> <?name?> |
---|
352 | cone wireframe <bool> <?name?> |
---|
353 | |
---|
354 | contour2d add numcontours <n> <?datasetName?> |
---|
355 | Generate evenly spaced contours including range endpoints. See also |
---|
356 | 'dataset maprange' command. |
---|
357 | contour2d add contourlist <list> <?datasetName?> |
---|
358 | list = {isoval1 isoval2 isoval3...} |
---|
359 | contour2d color <r> <g> <b> <?datasetName?> |
---|
360 | synonym for linecolor |
---|
361 | contour2d colormap <colormapName> <?datasetName?> |
---|
362 | contour2d colormode <scalar|vmag|vx|vy|vz|constant> <fieldName> <?datasetName?> |
---|
363 | Set the field used to color the object. 'constant' means to use |
---|
364 | the constant color defined by the color subcommand. 'scalar' uses |
---|
365 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
366 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
367 | the active vector field. |
---|
368 | contour2d contourlist <list> <?dataSetName?> |
---|
369 | contour2d delete <?datasetName?> |
---|
370 | contour2d lighting <bool> <?datasetName?> |
---|
371 | contour2d linecolor <r> <g> <b> <?datasetName?> |
---|
372 | synonym for color |
---|
373 | contour2d linewidth <val> <?datasetName?> |
---|
374 | contour2d numcontours <n> <?dataSetName?> |
---|
375 | contour2d opacity <val> <?datasetName?> |
---|
376 | contour2d orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
377 | contour2d pos <x> <y> <z> <?dataSetName?> |
---|
378 | contour2d scale <sx> <sy> <sz> <?dataSetName?> |
---|
379 | contour2d visible <bool> <?datasetName?> |
---|
380 | |
---|
381 | contour3d add numcontours <n> <?datasetName?> |
---|
382 | Generate evenly spaced contours including range endpoints. See also |
---|
383 | 'dataset maprange' command. |
---|
384 | contour3d add contourlist <list> <?datasetName?> |
---|
385 | list = {isoval1 isoval2 isoval3...} |
---|
386 | contour3d color r g b <?datasetName?> |
---|
387 | contour3d colormap <colorMapName> <?dataSetName?> |
---|
388 | contour3d colormode <scalar|vmag|vx|vy|vz|constant> <fieldName> <?datasetName?> |
---|
389 | Set the field used to color the object. 'constant' means to use |
---|
390 | the constant color defined by the color subcommand. 'scalar' uses |
---|
391 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
392 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
393 | the active vector field. |
---|
394 | contour3d contourlist <list> <?dataSetName?> |
---|
395 | contour3d delete <?datasetName?> |
---|
396 | contour3d edges <bool> <?datasetName?> |
---|
397 | contour3d lighting <bool> <?datasetName?> |
---|
398 | contour3d linecolor <r> <g> <b> <?datasetName?> |
---|
399 | contour3d linewidth <val> <?datasetName?> |
---|
400 | contour3d numcontours <n> <?dataSetName?> |
---|
401 | contour3d opacity <val> <?datasetName?> |
---|
402 | contour3d orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
403 | contour3d pos <x> <y> <z> <?dataSetName?> |
---|
404 | contour3d scale <sx> <sy> <sz> <?dataSetName?> |
---|
405 | contour3d visible <bool> <?datasetName?> |
---|
406 | contour3d wireframe <bool> <?datasetName?> |
---|
407 | |
---|
408 | cutplane add <?dataSetName?> |
---|
409 | cutplane axis <axis> <bool> <?dataSetName?> |
---|
410 | Toggle visibility of the 3 principal axis cutplanes |
---|
411 | cutplane cloudstyle <style> <?datasetName?> |
---|
412 | <style> = mesh | splat |
---|
413 | cutplane color r g b <?datasetName?> |
---|
414 | Set color of outline bounding box |
---|
415 | cutplane colormap <colorMapName> <?dataSetName?> |
---|
416 | cutplane colormode <scalar|vmag|vx|vy|vz> <fieldName> <?datasetName?> |
---|
417 | Set the field used to color the object. 'scalar' uses |
---|
418 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
419 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
420 | the active vector field. |
---|
421 | cutplane delete <?dataSetName?> |
---|
422 | cutplane edges <bool> <?dataSetName?> |
---|
423 | cutplane lighting <bool> <?dataSetName?> |
---|
424 | cutplane linecolor <r> <g> <b> <?dataSetName?> |
---|
425 | cutplane linewidth <width> <?dataSetName?> |
---|
426 | cutplane opacity <value> <?dataSetName?> |
---|
427 | cutplane orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
428 | cutplane outline <bool> <?dataSetName?> |
---|
429 | Toggle rendering of cutplane outlines |
---|
430 | cutplane pos <x> <y> <z> <?dataSetName?> |
---|
431 | cutplane preinterp <bool> <?dataSetName?> |
---|
432 | Controls if VTK's InterpolateScalarsBeforeMapping option is set. |
---|
433 | Setting this on will give more correct colors, as the interpolation |
---|
434 | is done on texture coordinates that lookup into a 1D texture instead |
---|
435 | of using color interpolation from triangle vertices. |
---|
436 | cutplane scale <sx> <sy> <sz> <?dataSetName?> |
---|
437 | cutplane slice axis ratio <?dataSetName?> |
---|
438 | For 3D data, select a slice along a principle axis of the volume. The |
---|
439 | ratio is [0,1] |
---|
440 | cutplane visible <bool> <?dataSetName?> |
---|
441 | cutplane wireframe <bool> <?datasetName?> |
---|
442 | |
---|
443 | cylinder add <radius> <height> <cap> <name> |
---|
444 | <cap> = boolean flag for cap disks |
---|
445 | cylinder color <r> <g> <b> <?name?> |
---|
446 | cylinder culling <bool> <?name?> |
---|
447 | cylinder delete <?name?> |
---|
448 | cylinder edges <bool> <?name?> |
---|
449 | cylinder flipnorms <bool> <?name?> |
---|
450 | cylinder lighting <bool> <?name?> |
---|
451 | cylinder linecolor <r> <g> <b> <?name?> |
---|
452 | cylinder linewidth <val> <?name?> |
---|
453 | cylinder material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?> |
---|
454 | cylinder opacity <val> <?name?> |
---|
455 | cylinder orient <qw> <qx> <qy> <qz> <?name?> |
---|
456 | cylinder origin <x> <y> <z> <?name?> |
---|
457 | cylinder pos <x> <y> <z> <?name?> |
---|
458 | cylinder resolution <res> <?name?> |
---|
459 | cylinder scale <sx> <sy> <sz> <?name?> |
---|
460 | cylinder shading <val> <?name?> |
---|
461 | val = flat|smooth |
---|
462 | cylinder visible <bool> <?name?> |
---|
463 | cylinder wireframe <bool> <?name?> |
---|
464 | |
---|
465 | disk add <innerRadius> <outerRadius> <name> |
---|
466 | disk color <r> <g> <b> <?name?> |
---|
467 | disk culling <bool> <?name?> |
---|
468 | disk delete <?name?> |
---|
469 | disk edges <bool> <?name?> |
---|
470 | disk flipnorms <bool> <?name?> |
---|
471 | disk lighting <bool> <?name?> |
---|
472 | disk linecolor <r> <g> <b> <?name?> |
---|
473 | disk linewidth <val> <?name?> |
---|
474 | disk material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?> |
---|
475 | disk opacity <val> <?name?> |
---|
476 | disk orient <qw> <qx> <qy> <qz> <?name?> |
---|
477 | disk origin <x> <y> <z> <?name?> |
---|
478 | disk pos <x> <y> <z> <?name?> |
---|
479 | disk resolution <resRadial> <resCircum> <?name?> |
---|
480 | disk scale <sx> <sy> <sz> <?name?> |
---|
481 | disk shading <val> <?name?> |
---|
482 | val = flat|smooth |
---|
483 | disk visible <bool> <?name?> |
---|
484 | disk wireframe <bool> <?name?> |
---|
485 | |
---|
486 | glyphs add <shape> <?dataSetName?> |
---|
487 | See 'glyphs shape' for list of shapes |
---|
488 | glyphs color r g b <?datasetName?> |
---|
489 | glyphs colormap <colorMapName> <?dataSetName?> |
---|
490 | glyphs colormode <scalar|vmag|vx|vy|vz|constant> <fieldName> <?dataSetName?> |
---|
491 | Set the color mode: color by scalar field or |
---|
492 | vector magnitude -- uses the current color map, |
---|
493 | or color for constant color |
---|
494 | glyphs delete <?dataSetName?> |
---|
495 | glyphs edges <bool> <?datasetName?> |
---|
496 | glyphs gorient <bool> <fieldName> <?datasetName?> |
---|
497 | Set the glyph orientation mode: orient glyphs by |
---|
498 | a named vector field, or set to default orientation (off) |
---|
499 | glyphs gscale <scaleFactor> <?datasetName?> |
---|
500 | Set glyph scaling factor |
---|
501 | glyphs lighting <bool> <?datasetName?> |
---|
502 | glyphs linecolor <r> <g> <b> <?datasetName?> |
---|
503 | glyphs linewidth <val> <?datasetName?> |
---|
504 | glyphs normscale <bool> <?datasetName?> |
---|
505 | Control if data values are normalized to [0,1] range before applying |
---|
506 | glyph scaling factor (gscale) |
---|
507 | glyphs numglyphs <max> <random> <offset> <ratio> <?dataSetName?> |
---|
508 | Limit the maximum number of glyphs displayed. Can use either a random |
---|
509 | sampling or every nth point sampling (useful for uniform grids) |
---|
510 | <max> = integer maximum number of glyphs |
---|
511 | <random> = bool indicating if random sampling should be used |
---|
512 | <offset> = offset point index from which to start sampling |
---|
513 | <ratio> = If random is false, use this to control every nth point sampling |
---|
514 | glyphs opacity <val> <?datasetName?> |
---|
515 | glyphs orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
516 | glyphs pos <x> <y> <z> <?dataSetName?> |
---|
517 | glyphs ptsize <size> <?dataSetName?> |
---|
518 | glyphs quality <val> <?dataSetName?> |
---|
519 | Set glyph shape resolution quality val=[0,10], 1 is default |
---|
520 | glyphs scale <sx> <sy> <sz> <?dataSetName?> |
---|
521 | glyphs shape <arrow|cone|cube|cylinder|dodecahedron|icosahedron|line|octahedron|point|sphere|tetrahedron> <?datasetName?> |
---|
522 | glyphs smode <scalar|vmag|vcomp|off> <fieldName> <?dataSetName?> |
---|
523 | Set the scaling mode: use the scalar field, vector magnitude, |
---|
524 | vector components, or disable scaling |
---|
525 | glyphs visible <bool> <?datasetName?> |
---|
526 | glyphs wireframe <bool> <?datasetName?> |
---|
527 | |
---|
528 | group add <nodeList> <name> |
---|
529 | Add listed nodes to group named <name>. Group will be created if |
---|
530 | it doesn't exist, but nodes may be added to existing groups. The |
---|
531 | nodes will be removed from the virtual root scene. |
---|
532 | group delete <?name?> |
---|
533 | group orient <qw> <qx> <qy> <qz> <?name?> |
---|
534 | group origin <x> <y> <z> <?name?> |
---|
535 | group pos <x> <y> <z> <?name?> |
---|
536 | group remove <nodeList> <name> |
---|
537 | Remove listed nodes from group. Currently, nodes will be added back |
---|
538 | to the virtual root scene, and so nodes must be explicitly deleted to |
---|
539 | remove them from the scene. |
---|
540 | group scale <sx> <sy> <sz> <?name?> |
---|
541 | group visible <bool> <?name?> |
---|
542 | |
---|
543 | heightmap add numcontours <n> <heightScale> <?dataSetName?> |
---|
544 | Generate evenly spaced contours including range endpoints. See also |
---|
545 | 'dataset maprange' command. |
---|
546 | heightmap add contourlist <list> <heightScale> <?dataSetName?> |
---|
547 | list = {isoval1 isoval2 isoval3...} |
---|
548 | heightmap aspect <aspectRatio> |
---|
549 | Set scaling by aspect ratio |
---|
550 | <aspectRatio> = width/height or 0 for native aspect |
---|
551 | heightmap cloudstyle <style> <?datasetName?> |
---|
552 | <style> = mesh | splat |
---|
553 | heightmap colormap <colorMapName> <?dataSetName?> |
---|
554 | heightmap colormode <scalar|vmag|vx|vy|vz|constant> <fieldName> <?datasetName?> |
---|
555 | Set the field used to color the object. 'constant' means to use |
---|
556 | the constant color defined by the color subcommand. 'scalar' uses |
---|
557 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
558 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
559 | the active vector field. |
---|
560 | heightmap colormode2 <scalar|vmag|vx|vy|vz|constant> <fieldName> <point_data|cell_data|field_data|any> <min> <max> <?datasetName?> |
---|
561 | Set the field used to color the object. 'constant' means to use |
---|
562 | the constant color defined by the color subcommand. 'scalar' uses |
---|
563 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
564 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
565 | the active vector field. |
---|
566 | heightmap contourlist <list> <?dataSetName?> |
---|
567 | heightmap delete <?dataSetName?> |
---|
568 | heightmap edges <bool> <?dataSetName?> |
---|
569 | heightmap heightscale <value> <?dataSetName?> |
---|
570 | heightmap isolinecmap <bool> <?dataSetName?> |
---|
571 | Toggle colormapping of isolines (false means to use constant color) |
---|
572 | heightmap isolinecolor <r> <g> <b> <?dataSetName?> |
---|
573 | heightmap isolines <bool> <?dataSetName?> |
---|
574 | heightmap isolinewidth <width> <?dataSetName?> |
---|
575 | heightmap lighting <bool> <?dataSetName?> |
---|
576 | heightmap linecolor <r> <g> <b> <?dataSetName?> |
---|
577 | heightmap linewidth <width> <?dataSetName?> |
---|
578 | heightmap numcontours <n> <?dataSetName?> |
---|
579 | heightmap opacity <value> <?dataSetName?> |
---|
580 | heightmap orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
581 | heightmap pos <x> <y> <z> <?dataSetName?> |
---|
582 | heightmap preinterp <bool> <?dataSetName?> |
---|
583 | Controls if VTK's InterpolateScalarsBeforeMapping option is set. |
---|
584 | Setting this on will give more correct colors, as the interpolation |
---|
585 | is done on texture coordinates that lookup into a 1D texture instead |
---|
586 | of using color interpolation from triangle vertices. |
---|
587 | heightmap scale <sx> <sy> <sz> <?dataSetName?> |
---|
588 | heightmap slice <axis> <ratio> <?dataSetName?> |
---|
589 | For 3D data, select a slice along a principle axis of the volume. The |
---|
590 | ratio is [0,1] |
---|
591 | heightmap surface <bool> <?dataSetName?> |
---|
592 | Toggle rendering of colormapped surface (mountain plot or cutplane) |
---|
593 | heightmap visible <bool> <?dataSetName?> |
---|
594 | heightmap wireframe <bool> <?datasetName?> |
---|
595 | |
---|
596 | image add <?dataSetName?> |
---|
597 | Create an image from a vtkImageData data set |
---|
598 | image backing <bool> <?dataSetName?> |
---|
599 | image bg <bool> <?dataSetName?> |
---|
600 | image border <bool> <?dataSetName?> |
---|
601 | image color <r> <g> <b> <?dataSetName?> |
---|
602 | image colormap <colorMapName> <?dataSetName?> |
---|
603 | image delete <?dataSetName?> |
---|
604 | image extents <xmin> <xmax> <ymin> <ymax> <zmin> <zmax> <?dataSetName?> |
---|
605 | Deprecated |
---|
606 | image follow <bool> <?dataSetName?> |
---|
607 | Toggle camera following. When on, slice plane will face the camera and |
---|
608 | camera focal point determines slice offset |
---|
609 | image level <level> <?dataSetName?> |
---|
610 | image opacity <opacity> <?dataSetName?> |
---|
611 | image orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
612 | image pos <x> <y> <z> <?dataSetName?> |
---|
613 | image scale <sx> <sy> <sz> <?dataSetName?> |
---|
614 | image slice <nx> <ny> <nz> <ox> <oy> <oz> <?dataSetName?> |
---|
615 | Disable camera follow and set slice plane by plane normal (nx,ny,nz) and |
---|
616 | origin (ox,oy,oz) |
---|
617 | image visible <bool> <?dataSetName?> |
---|
618 | image window <windowWidth> <?dataSetName?> |
---|
619 | image zslice <sliceNum> <?dataSetName?> |
---|
620 | Deprecated |
---|
621 | |
---|
622 | lic add <?datasetName?> |
---|
623 | lic colormap <colormapName> <?datasetName?> |
---|
624 | lic delete <?datasetName?> |
---|
625 | lic edges <bool> <?datasetName?> |
---|
626 | lic lighting <bool> <?datasetName?> |
---|
627 | lic linecolor <r> <g> <b> <?datasetName?> |
---|
628 | lic linewidth <val> <?datasetName?> |
---|
629 | lic opacity <val> <?datasetName?> |
---|
630 | lic orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
631 | lic pos <x> <y> <z> <?dataSetName?> |
---|
632 | lic preinterp <bool> <?dataSetName?> |
---|
633 | Controls if VTK's InterpolateScalarsBeforeMapping option is set. |
---|
634 | Setting this on will give more correct colors, as the interpolation |
---|
635 | is done on texture coordinates that lookup into a 1D texture instead |
---|
636 | of using color interpolation from triangle vertices. |
---|
637 | lic scale <sx> <sy> <sz> <?dataSetName?> |
---|
638 | lic slice <axis> <ratio> <?datasetName?> |
---|
639 | For 3D data, select a slice along a principle axis of the volume. The |
---|
640 | ratio is [0,1] |
---|
641 | lic visible <bool> <?datasetName?> |
---|
642 | |
---|
643 | line add <points> <name> |
---|
644 | Create a polyline from the list of point coordinates in <points>. The |
---|
645 | list size must be a multiple of 3 (each point's x,y,z coordinates) |
---|
646 | line color <r> <g> <b> <?name?> |
---|
647 | line delete <?name?> |
---|
648 | line linecolor <r> <g> <b> <?name?> |
---|
649 | Synonym for color |
---|
650 | line linewidth <val> <?name?> |
---|
651 | line opacity <val> <?name?> |
---|
652 | line orient <qw> <qx> <qy> <qz> <?name?> |
---|
653 | line origin <x> <y> <z> <?name?> |
---|
654 | line pos <x> <y> <z> <?name?> |
---|
655 | line scale <sx> <sy> <sz> <?name?> |
---|
656 | line visible <bool> <?name?> |
---|
657 | |
---|
658 | molecule add <?datasetName?> |
---|
659 | molecule aquality <val> <?datasetName?> |
---|
660 | Set atom sphere resolution quality val=[0,10], 1 is default |
---|
661 | molecule ascale <val> <?datasetName?> |
---|
662 | Set atom scale factor |
---|
663 | molecule atoms <bool> <?datasetName?> |
---|
664 | Toggle rendering of atoms |
---|
665 | molecule bcmode <by_elements|constant> <?datasetName?> |
---|
666 | Set bond color mode |
---|
667 | molecule bcolor <r> <g> <b> <?datasetName?> |
---|
668 | Set constant bond color |
---|
669 | molecule bonds <bool> <?datasetName?> |
---|
670 | Toggle rendering of bonds |
---|
671 | molecule bquality <val> <?datasetName?> |
---|
672 | Set bond cylinder resolution quality val=[0,10], 1 is default |
---|
673 | molecule bscale <val> <?datasetName?> |
---|
674 | Set bond scale factor |
---|
675 | molecule bstyle <cylinder|line> <?datasetName?> |
---|
676 | Set bond render style |
---|
677 | molecule color r g b <?datasetName?> |
---|
678 | molecule colormap <colormapName> <?datasetName?> |
---|
679 | molecule colormode <by_elements|scalar|vmag|vx|vy|vz|constant> <fieldName> <?datasetName?> |
---|
680 | Set the field used to color the object. 'constant' means to use |
---|
681 | the constant color defined by the color subcommand. 'scalar' uses |
---|
682 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
683 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
684 | the active vector field. |
---|
685 | molecule delete <?datasetName?> |
---|
686 | molecule edges <bool> <?datasetName?> |
---|
687 | molecule labels <bool> <?datasetName?> |
---|
688 | Toggle display of atom labels |
---|
689 | molecule lfield <fieldName> <?datasetName?> |
---|
690 | Set the field used for atom labels |
---|
691 | molecule lighting <bool> <?datasetName?> |
---|
692 | molecule linecolor <r> <g> <b> <?datasetName?> |
---|
693 | molecule linewidth <val> <?datasetName?> |
---|
694 | molecule material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?datasetName?> |
---|
695 | molecule opacity <val> <?datasetName?> |
---|
696 | molecule orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
697 | molecule pos <x> <y> <z> <?dataSetName?> |
---|
698 | molecule rscale <val> <?dataSetName?> |
---|
699 | Atom radius scaling |
---|
700 | val = van_der_waals|covalent|atomic|none |
---|
701 | molecule scale <sx> <sy> <sz> <?dataSetName?> |
---|
702 | molecule visible <bool> <?datasetName?> |
---|
703 | molecule wireframe <bool> <?datasetName?> |
---|
704 | |
---|
705 | outline add <?datasetName?> |
---|
706 | outline color <r> <g> <b> <?datasetName?> |
---|
707 | outline delete <?datasetName?> |
---|
708 | outline linecolor <r> <g> <b> <?datasetName?> |
---|
709 | Synonym for color |
---|
710 | outline linewidth <val> <?datasetName?> |
---|
711 | outline opacity <val> <?datasetName?> |
---|
712 | outline orient <qw> <qx> <qy> <qz> <?datasetName?> |
---|
713 | outline pos <x> <y> <z> <?datasetName?> |
---|
714 | outline scale <sx> <sy> <sz> <?datasetName?> |
---|
715 | outline visible <bool> <?datasetName?> |
---|
716 | |
---|
717 | parallelepiped add <v0x> <v0y> <v0z> <v1x> <v1y> <v1z> <v2x> <v2y> <v2z> <name> |
---|
718 | Specify parallelepiped using 3 basis vectors. The 3 vectors should |
---|
719 | be given in order to create a right-handed coordinate system, i.e. |
---|
720 | (v0 cross v1) dot v2 should be positive. |
---|
721 | parallelepiped color <r> <g> <b> <?name?> |
---|
722 | parallelepiped culling <bool> <?name?> |
---|
723 | parallelepiped delete <?name?> |
---|
724 | parallelepiped edges <bool> <?name?> |
---|
725 | parallelepiped flipnorms <bool> <?name?> |
---|
726 | parallelepiped lighting <bool> <?name?> |
---|
727 | parallelepiped linecolor <r> <g> <b> <?name?> |
---|
728 | parallelepiped linewidth <val> <?name?> |
---|
729 | parallelepiped material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?> |
---|
730 | parallelepiped opacity <val> <?name?> |
---|
731 | parallelepiped orient <qw> <qx> <qy> <qz> <?name?> |
---|
732 | parallelepiped origin <x> <y> <z> <?name?> |
---|
733 | parallelepiped pos <x> <y> <z> <?name?> |
---|
734 | parallelepiped scale <sx> <sy> <sz> <?name?> |
---|
735 | parallelepiped shading <val> <?name?> |
---|
736 | val = flat|smooth |
---|
737 | parallelepiped visible <bool> <?name?> |
---|
738 | parallelepiped wireframe <bool> <?name?> |
---|
739 | |
---|
740 | polydata add <?datasetName?> |
---|
741 | polydata cloudstyle <style> <?datasetName?> |
---|
742 | <style> = mesh | points |
---|
743 | polydata color <r> <g> <b> <?datasetName?> |
---|
744 | polydata colormap <colormapName> <?datasetName?> |
---|
745 | polydata colormode <scalar|vmag|vx|vy|vz|constant> <fieldName> <?datasetName?> |
---|
746 | Set the field used to color the object. 'constant' means to use |
---|
747 | the constant color defined by the color subcommand. 'scalar' uses |
---|
748 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
749 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
750 | the active vector field. |
---|
751 | polydata culling <bool> <?name?> |
---|
752 | polydata delete <?datasetName?> |
---|
753 | polydata edges <bool> <?datasetName?> |
---|
754 | polydata lighting <bool> <?datasetName?> |
---|
755 | polydata linecolor <r> <g> <b> <?datasetName?> |
---|
756 | polydata linewidth <val> <?datasetName?> |
---|
757 | polydata material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> |
---|
758 | polydata opacity <val> <?datasetName?> |
---|
759 | polydata orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
760 | polydata origin <x> <y> <z> <?name?> |
---|
761 | polydata pos <x> <y> <z> <?dataSetName?> |
---|
762 | polydata preinterp <bool> <?dataSetName?> |
---|
763 | Controls if VTK's InterpolateScalarsBeforeMapping option is set. |
---|
764 | Setting this on will give more correct colors, as the interpolation |
---|
765 | is done on texture coordinates that lookup into a 1D texture instead |
---|
766 | of using color interpolation from triangle vertices. |
---|
767 | polydata ptsize <size> <?dataSetName?> |
---|
768 | polydata scale <sx> <sy> <sz> <?dataSetName?> |
---|
769 | polydata shading <val> <?name?> |
---|
770 | val = flat|smooth |
---|
771 | polydata visible <bool> <?datasetName?> |
---|
772 | polydata wireframe <bool> <?datasetName?> |
---|
773 | |
---|
774 | polygon add <numSides> <centerX> <centerY> <centerZ> <normX> <normY> <normZ> <radius> <name> |
---|
775 | polygon color <r> <g> <b> <?name?> |
---|
776 | polygon culling <bool> <?name?> |
---|
777 | polygon delete <?name?> |
---|
778 | polygon edges <bool> <?name?> |
---|
779 | polygon flipnorms <bool> <?name?> |
---|
780 | polygon lighting <bool> <?name?> |
---|
781 | polygon linecolor <r> <g> <b> <?name?> |
---|
782 | polygon linewidth <val> <?name?> |
---|
783 | polygon material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?> |
---|
784 | polygon opacity <val> <?name?> |
---|
785 | polygon orient <qw> <qx> <qy> <qz> <?name?> |
---|
786 | polygon origin <x> <y> <z> <?name?> |
---|
787 | polygon pos <x> <y> <z> <?name?> |
---|
788 | polygon scale <sx> <sy> <sz> <?name?> |
---|
789 | polygon shading <val> <?name?> |
---|
790 | val = flat|smooth |
---|
791 | polygon visible <bool> <?name?> |
---|
792 | polygon wireframe <bool> <?name?> |
---|
793 | |
---|
794 | pseudocolor add <?datasetName?> |
---|
795 | pseudocolor cloudstyle <style> <?datasetName?> |
---|
796 | <style> = mesh | points | splat |
---|
797 | pseudocolor color <r> <g> <b> <?datasetName?> |
---|
798 | pseudocolor colormap <colormapName> <?datasetName?> |
---|
799 | pseudocolor colormode <scalar|vmag|vx|vy|vz|constant> <fieldName> <?datasetName?> |
---|
800 | Set the field used to color the object. '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 | pseudocolor delete <?datasetName?> |
---|
806 | pseudocolor edges <bool> <?datasetName?> |
---|
807 | pseudocolor lighting <bool> <?datasetName?> |
---|
808 | pseudocolor linecolor <r> <g> <b> <?datasetName?> |
---|
809 | pseudocolor linewidth <val> <?datasetName?> |
---|
810 | pseudocolor opacity <val> <?datasetName?> |
---|
811 | pseudocolor orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
812 | pseudocolor pos <x> <y> <z> <?dataSetName?> |
---|
813 | pseudocolor preinterp <bool> <?dataSetName?> |
---|
814 | Controls if VTK's InterpolateScalarsBeforeMapping option is set. |
---|
815 | Setting this on will give more correct colors, as the interpolation |
---|
816 | is done on texture coordinates that lookup into a 1D texture instead |
---|
817 | of using color interpolation from triangle vertices. |
---|
818 | pseudocolor ptsize <size> <?dataSetName?> |
---|
819 | pseudocolor scale <sx> <sy> <sz> <?dataSetName?> |
---|
820 | pseudocolor visible <bool> <?datasetName?> |
---|
821 | pseudocolor wireframe <bool> <?datasetName?> |
---|
822 | |
---|
823 | sphere add <centerX> <centerY> <centerZ> <radius> <name> |
---|
824 | sphere color <r> <g> <b> <?name?> |
---|
825 | sphere culling <bool> <?name?> |
---|
826 | sphere delete <?name?> |
---|
827 | sphere edges <bool> <?name?> |
---|
828 | sphere flipnorms <bool> <?name?> |
---|
829 | sphere lighting <bool> <?name?> |
---|
830 | sphere linecolor <r> <g> <b> <?name?> |
---|
831 | sphere linewidth <val> <?name?> |
---|
832 | sphere material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?> |
---|
833 | sphere opacity <val> <?name?> |
---|
834 | sphere orient <qw> <qx> <qy> <qz> <?name?> |
---|
835 | sphere origin <x> <y> <z> <?name?> |
---|
836 | sphere pos <x> <y> <z> <?name?> |
---|
837 | sphere resolution <thetaRes> <phiRes> <?name?> |
---|
838 | sphere scale <sx> <sy> <sz> <?name?> |
---|
839 | sphere section <thetaStart> <thetaEnd> <phiStart> <phiEnd> <?name?> |
---|
840 | Angles are in degrees |
---|
841 | sphere shading <val> <?name?> |
---|
842 | val = flat|smooth |
---|
843 | sphere visible <bool> <?name?> |
---|
844 | sphere wireframe <bool> <?name?> |
---|
845 | |
---|
846 | streamlines add <?datasetName?> |
---|
847 | streamlines color <r> <g> <b> <?datasetName?> |
---|
848 | Set the constant color of streamlines used for color mode 'constant' |
---|
849 | streamlines colormap <colormapName> <?datasetName?> |
---|
850 | Colormap used to color streamlines/tubes/ribbons by vector magnitude |
---|
851 | streamlines colormode <scalar|vmag|vx|vy|vz|constant> <fieldName> <?datasetName?> |
---|
852 | Set the field used to color the streamlines. 'constant' means to use |
---|
853 | the constant color defined by the color subcommand. 'scalar' uses |
---|
854 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
855 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
856 | the active vector field. |
---|
857 | streamlines delete <?datasetName?> |
---|
858 | streamlines edges <bool> <?datasetName?> |
---|
859 | Turn on/off edges for tubes, ribbons |
---|
860 | streamlines length <?datasetName?> |
---|
861 | Set maximum length in world coordinates of streamlines |
---|
862 | streamlines lighting <bool> <?datasetName?> |
---|
863 | streamlines linecolor <r> <g> <b> <?datasetName?> |
---|
864 | Set color of edges for tubes, ribbons (lines are colored by |
---|
865 | colormap) |
---|
866 | streamlines lines <?datasetName?> |
---|
867 | Set rendering type to polylines |
---|
868 | streamlines linewidth <val> <?datasetName?> |
---|
869 | streamlines opacity <val> <?datasetName?> |
---|
870 | streamlines orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
871 | streamlines pos <x> <y> <z> <?dataSetName?> |
---|
872 | streamlines ribbons <width> <angle> <?datasetName?> |
---|
873 | Set rendering type to ribbons, width is minimum half-width, angle is |
---|
874 | degrees offset from normal orientation |
---|
875 | streamlines scale <sx> <sy> <sz> <?dataSetName?> |
---|
876 | streamlines seed color <r> <g> <b> <?datasetName?> |
---|
877 | streamlines seed disk <centerX> <centerY> <centerZ> <normalX> <normalY> <normalZ> <radius> <innerRadius> <numPoints> <?dataSetName?> |
---|
878 | Create a disk seed area with optional hole, filled with randomly |
---|
879 | placed points |
---|
880 | streamlines seed fmesh <numPoints> data follows <nbytes> <?datasetName?> |
---|
881 | Fill a mesh supplied as a VTK data file with randomly placed points |
---|
882 | streamlines seed fpoly <centerX> <centerY> <centerZ> <normalX> <normalY> <normalZ> <angle> <radius> <numSides> <numPoints> <?dataSetName?> |
---|
883 | Create a regular n-sided polygonal seed area filled with randomly |
---|
884 | placed points |
---|
885 | streamlines seed mesh data follows <nbytes> <?datasetName?> |
---|
886 | Use points of a mesh supplied as a VTK data file |
---|
887 | streamlines seed numpts <?datasetName?> |
---|
888 | If seeds have been created using 'seed random', 'seed fmesh', |
---|
889 | 'seed mesh' or 'seed points' this command can be used to change the |
---|
890 | number of randomly distributed seeds. In the case of 'seed mesh' |
---|
891 | or 'seed points', the number is the maximum number of points of the |
---|
892 | mesh to be used -- the actual number may be fewer if the mesh |
---|
893 | contains fewer points. Set to a number less than 0 to use all the |
---|
894 | points of the mesh. |
---|
895 | streamlines seed points <?datasetName?> |
---|
896 | Use points of the streamlines' dataset mesh |
---|
897 | streamlines seed polygon <centerX> <centerY> <centerZ> <normalX> <normalY> <normalZ> <angle> <radius> <numSides> <?dataSetName?> |
---|
898 | Create seed points from vertices of a regular n-sided polygon |
---|
899 | streamlines seed ptsize <size> <?datasetName?> |
---|
900 | Set the point size for rendering seed points |
---|
901 | streamlines seed rake <startX> <startY> <startZ> <endX> <endY> <endZ> <numPoints> <?datasetName?> |
---|
902 | streamlines seed random <numPoints> <?datasetName?> |
---|
903 | Fill the streamlines' dataset mesh with randomly placed points |
---|
904 | streamlines seed visible <bool> <?datasetName?> |
---|
905 | streamlines tubes <numSides> <radius> <?datasetName?> |
---|
906 | Set rendering type to tubes, numSides is number of sides of tubes, |
---|
907 | radius is minimum tube radius |
---|
908 | streamlines visible <bool> <?datasetName?> |
---|
909 | |
---|
910 | text3d add <textString> <name> |
---|
911 | text3d bold <bool> <?name?> |
---|
912 | text3d color <r> <g> <b> <?name?> |
---|
913 | text3d delete <?name?> |
---|
914 | text3d fntfamily <fontName> <?name?> |
---|
915 | text3d fntsize <fontSize> <?name?> |
---|
916 | text3d follow <bool> <?name?> |
---|
917 | Toggle text automatically aligning toward camera |
---|
918 | text3d italic <bool> <?name?> |
---|
919 | text3d opacity <opacity> <?name?> |
---|
920 | text3d orient <qw> <qx> <qy> <qz> <?name?> |
---|
921 | text3d origin <x> <y> <z> <?name?> |
---|
922 | text3d pos <x> <y> <z> <?name?> |
---|
923 | text3d scale <sx> <sy> <sz> <?name?> |
---|
924 | text3d shadow <bool> <?name?> |
---|
925 | text3d text <text> <?name?> |
---|
926 | text3d visible <bool> <?name?> |
---|
927 | |
---|
928 | volume add <?datasetName?> |
---|
929 | volume blendmode <mode> <?dataSetName?> |
---|
930 | mode = composite|max_intensity|min_intensity|additive |
---|
931 | volume colormap <colorMapName> <?datasetName?> |
---|
932 | volume delete <?datasetName?> |
---|
933 | volume lighting <bool> <?datasetName?> |
---|
934 | volume opacity <opacity> <?datasetName?> |
---|
935 | volume orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
936 | volume pos <x> <y> <z> <?dataSetName?> |
---|
937 | volume quality <val> <?datasetName?> |
---|
938 | val = [0,1] |
---|
939 | volume scale <sx> <sy> <sz> <?dataSetName?> |
---|
940 | volume shading ambient <coeff> <?datasetName?> |
---|
941 | volume shading diffuse <coeff> <?datasetName?> |
---|
942 | volume shading specular <coeff> <power> <?datasetName?> |
---|
943 | volume visible <bool> <?datasetName?> |
---|
944 | |
---|
945 | warp add <?dataSetName?> |
---|
946 | warp cloudstyle <style> <?datasetName?> |
---|
947 | <style> = mesh | points |
---|
948 | warp color <r> <g> <b> <?datasetName?> |
---|
949 | warp colormap <colormapName> <?datasetName?> |
---|
950 | warp colormode <scalar|vmag|vx|vy|vz|constant> <fieldName> <?datasetName?> |
---|
951 | Set the field used to color the object. 'constant' means to use |
---|
952 | the constant color defined by the color subcommand. 'scalar' uses |
---|
953 | the active scalar field. 'vmag' uses the magnitude of the current |
---|
954 | vector field, and 'vx','vy','vz' use the corresponding component of |
---|
955 | the active vector field. |
---|
956 | warp delete <?dataSetName?> |
---|
957 | warp edges <bool> <?dataSetName?> |
---|
958 | warp lighting <bool> <?dataSetName?> |
---|
959 | warp linecolor <r> <g> <b> <?dataSetName?> |
---|
960 | warp linewidth <width> <?dataSetName?> |
---|
961 | warp opacity <value> <?dataSetName?> |
---|
962 | warp orient <qw> <qx> <qy> <qz> <?dataSetName?> |
---|
963 | warp pos <x> <y> <z> <?dataSetName?> |
---|
964 | warp preinterp <bool> <?dataSetName?> |
---|
965 | Controls if VTK's InterpolateScalarsBeforeMapping option is set. |
---|
966 | Setting this on will give more correct colors, as the interpolation |
---|
967 | is done on texture coordinates that lookup into a 1D texture instead |
---|
968 | of using color interpolation from triangle vertices. |
---|
969 | warp ptsize <size> <?dataSetName?> |
---|
970 | warp scale <sx> <sy> <sz> <?dataSetName?> |
---|
971 | warp visible <bool> <?dataSetName?> |
---|
972 | warp warpscale <value> <?dataSetName?> |
---|
973 | Specify amount to scale vector magnitudes when warping |
---|
974 | warp wireframe <bool> <?datasetName?> |
---|
975 | |
---|
976 | ================================================================================ |
---|
977 | Replies: |
---|
978 | ================================================================================ |
---|
979 | nv>camera set <posX> <posY> <posZ> <focalPtX> <focalPtY> <focalPtZ> <viewUpX> <viewUpY> <viewUpZ> |
---|
980 | Reply to "camera get" |
---|
981 | nv>image -type image -bytes <nbytes> |
---|
982 | <binary RGB data> |
---|
983 | nv>image -type image -bbox {x y w h} -bytes <nbytes> |
---|
984 | <binary RGB data> |
---|
985 | The bounding box of the 2D image camera zoom region is supplied |
---|
986 | Note: The bbox coordinates are in the form used by 'camera ortho world ...': |
---|
987 | x,y - world coord. of lower left corner, w,h - width height in world coords |
---|
988 | This form is currently used only if the camera mode is set to 'image'. |
---|
989 | nv>legend <colormapName> <title> <rmin> <rmax> <nbytes> |
---|
990 | <binary RGB data> |
---|
991 | nv>dataset names <Tcl list of names> |
---|
992 | nv>dataset scalar world <x> <y> <z> <value> <dataSetName> |
---|
993 | nv>dataset scalar pixel <x> <y> <value> <dataSetName> |
---|
994 | nv>dataset vector world <x> <y> <z> <valueX> <valueY> <valueZ> <dataSetName> |
---|
995 | nv>dataset vector pixel <x> <y> <valueX> <valueY> <valueZ> <dataSetName> |
---|
996 | nv>ok -token <seqnum> |
---|
997 | Reply indicated commands through <seqnum> (numbered beginning at 1) have been |
---|
998 | processed, but no new image was rendered |
---|
999 | ================================================================================ |
---|
1000 | Error Replies: |
---|
1001 | ================================================================================ |
---|
1002 | nv>viserror -bytes <nbytes> |
---|
1003 | <multi-line error string of nbytes> |
---|
1004 | ================================================================================ |
---|