source: trunk/packages/vizservers/vtkvis/protocol.txt @ 4604

Last change on this file since 4604 was 4091, checked in by ldelgass, 11 years ago

Update protocol doc

  • Property svn:eol-style set to native
File size: 45.6 KB
RevLine 
[2100]1================================================================================
2================================================================================
[2892]3Protocol for vtkvis render server. 
4
[4040]5Commands take the general form of command and arguments using Tcl syntax and are
[2892]6terminated by a newline.  Some command arguments expect a Tcl list which can be
7sent by enclosing the list in curly braces to prevent the interpreter from
8splitting the list into multiple arguments.  Likewise, strings with spaces
9should be quoted or enclosed in curly braces.  In the documentation below,
10arguments are indicated by angle brackets and optional arguments are surrounded
11by question marks -- the brackets and question marks are not part of the
12protocol and should not be included in argument strings.  The arguments shown
13in angle brackets should be replaced with a string (where there are fixed
14choices this document indicates valid values by separating them with pipe
15symbols), a list in Tcl syntax, or a numeric value.  Boolean arguments can take
16the form of 0|1, true|false, or yes|no.  Since the protocol commands are
17executed in a Tcl interpreter, Tcl code such as math expressions in expr
18commands enclosed in square brackets are also allowed.  Since the interpreter
19is a "safe" interpreter, some Tcl commands that could cause security issues may
20not be available for use.
21
22When binary data is to be sent, it should follow the newline after a command
23that indicates incoming data including a byte count argument.
24================================================================================
25================================================================================
[2100]26Requests:
[2892]27================================================================================
[2100]28
[3330]29== General dataset, scene and renderer commands ==
[2290]30
[3330]31axis 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
35axis 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
40axis bounds <axis> <min> <max>
41     Explicitly specify bounds to use for an axis.
42     <axis> = x|y|z|all
43axis color <axis> <r> <g> <b> <?opacity?>
[2115]44     Set color of axis lines, labels, titles, ticks
[3330]45     <axis> = x|y|z|all
46axis 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.
[2230]54axis flymode <mode>
55     <mode> = static_edges|static_triad|outer_edges|furthest_triad|closest_triad
[3330]56axis fontsz <fontPixelSize>
57     Controls size of labels and text in 3D mode
58axis gpcolor <axis> <r> <g> <b> <?opacity?>
59     Set color/opacity of inner grid polygons
60     <axis> = x|y|z|all
61axis gpolys <axis> <bool>
62     Turn on/off inner grid polygons/planes
63     <axis> = x|y|z|all
64axis grcolor <axis> <r> <g> <b> <?opacity?>
65     Set color/opacity of gridlines
66     <axis> = x|y|z|all
[2771]67axis grid <axis> <bool>
[3330]68     Turn on/off outer gridlines
[2771]69     <axis> = x|y|z|all
[3330]70axis igcolor <axis> <r> <g> <b> <?opacity?>
71     Set color/opacity of inner gridlines
72     <axis> = x|y|z|all
73axis igrid <axis> <bool>
74     Turn on/off inner gridlines
75     <axis> = x|y|z|all
[2328]76axis labels <axis> <bool>
77     Toggle visibility of axis labels
78     <axis> = x|y|z|all
[3330]79axis lcolor <axis> <r> <g> <b> <?opacity?>
80     Set color/opacity of tick labels
81     <axis> = x|y|z|all
82axis lfont <axis> <fontName>
83     Set label font family
84     <axis> = x|y|z|all
85     <fontName> = Arial|Courier|Times
86axis lformat <axis> <formatString>
87     <axis> = x|y|z|all
88     <formatString> = printf style format string
89axis 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
94axis linecolor <axis> <r> <g> <b> <?opacity?>
95     Set color/opacity of main axis lines
96     <axis> = x|y|z|all
97axis lrot <axis> <rotation>
98     <axis> = x|y|z|all
99     <rotation> = rotation angle in degrees
100axis 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
107axis minticks <axis> <bool>
108     Toggle visibility of axis minor tick marks
109     <axis> = x|y|z|all
[2112]110axis name <axis> <title>
[3330]111     <axis> = x|y|z|all
112     <title> = Title of axis
113axis 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
118axis 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
126axis scale <axis> <scale>
[4040]127     Set axis range to be computed based on scaling the axis bounds by the given
128     scale factor.
[3330]129     <axis> = x|y|z|all
130     <scale> = scale factor where range = bounds * scale
131axis tcolor <axis> <r> <g> <b> <?opacity?>
132     Set color/opacity of axis title
133     <axis> = x|y|z|all
[2329]134axis tickpos <position>
135     Set position of ticks on 3D axes (not implemented for 2D axes)
136     <position> = inside|outside|both
[2328]137axis ticks <axis> <bool>
138     Toggle visibility of axis tick marks
139     <axis> = x|y|z|all
[3330]140axis tfont <axis> <fontName>
141     Set title font family
142     <axis> = x|y|z|all
143     <fontName> = Arial|Courier|Times
144axis 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
149axis 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
[2112]153axis units <axis> <units>
154     Currently only supported when camera mode is not image mode
155axis visible <axis> <bool>
156     <axis> = x|y|z|all
[2434]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.
[2100]160
[3330]161camera aspect <aspectMode>
162       Set 2D aspect ratio mode
163       <aspectMode> = native|square|window
[2200]164camera get
[2351]165       Request current camera parameters
[2112]166camera mode <mode>
167       <mode> = persp|ortho|image
[2218]168camera orient <quatW> <quatX> <quatY> <quatZ>
[2213]169       Set scene orientation using a quaternion
[2423]170camera ortho <coordMode> <x> <y> <width> <height>
171       <coordMode> = pixel|world
172       Supply bounds of plot area for image camera mode
[2112]173camera pan <x> <y>
[2351]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
[2112]178camera reset <?all?>
179       Option all resets orientation/rotation as well as pan/zoom/clip range
180camera rotate <yaw> <pitch> <roll>
[2349]181       Specify relative rotation in Euler angles
[2213]182camera set <posX> <posY> <posZ> <focalPtX> <focalPtY> <focalPtZ> <viewUpX> <viewUpY> <viewUpZ>
[2351]183       Set camera parameters: camera position, focal point and view up vector
[2112]184camera zoom <z>
[2351]185       Specify zoom ratio.  z > 1 is a zoom in, z < 1 is zoom out. z = 1
186       resets to default.
[2100]187
[3615]188clientinfo <list>
189
[2124]190colormap add <colorMapName> <colorMap> <opacityMap>
[3983]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.
[2124]193         colorMap = Tcl list of {value r g b} control points
194         opacityMap = Tcl list of {value alpha} control points
[3983]195colormap define <colorMapName> <colorMap> <opacityMap>
196         (Re-)define a colormap (same as 'add')
[2124]197colormap delete <?colorMapName?>
[3330]198colormap res <numberOfTableEntries>
199         Set the "resolution" or number of lookup table entries in the colormap
200         <numberOfTableEntries> = integer or "default"
[2124]201
[2100]202dataset add <datasetName> data follows <nbytes>
[2124]203dataset delete <?datasetName?>
[2423]204dataset getscalar world <x> <y> <z> <datasetName>
205dataset getscalar pixel <x> <y> <datasetName>
206dataset getvector world <x> <y> <z> <datasetName>
207dataset getvector pixel <x> <y> <datasetName>
[2112]208        Use pixel for image camera mode
[3330]209dataset maprange <val> <?min?> <?max?> <?fieldName?> <?fieldType?> <?numComp?> <?component?>
[2194]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"
[3330]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.
225dataset names
226        Returns a list of the loaded data sets
[2137]227dataset opacity <val> <?datasetName?>
[2393]228dataset scalar <scalarName> <?datasetName?>
229        Set the active scalar field to plot
230dataset vector <vectorName> <?datasetName?>
231        Set the active vector field to plot
[2137]232dataset visible <bool> <?datasetName?>
[2100]233
[3330]234legend <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
[4091]244legend2 <colormapName> <width> <height>
245        Simple legend command for rendering legend without labels or title
246
[3330]247renderer 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.
[4040]252renderer depthpeel <bool> <?occlusionRatio?> <?maxPeels?>
[3330]253         Set use of depth peeling algorithm for transparency
[4040]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
[3330]262renderer light2side <bool>
263         Toggle use of two-sided lighting (controls if backfaces are lit with a
264         flipped normal)
[3683]265renderer lights <lightNum> <bool>
266         Toggle lights on/off.  Light 0 is the headlight, light 1 the skylight
[3330]267renderer render
268         Force a new image to be rendered - use for advancing animation
269
270screen bgcolor <r> <g> <b>
271screen size <width> <height>
272
273== Graphics objects ==
274
[3696]275arc 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.
[3167]278arc color <r> <g> <b> <?name?>
279arc delete <?name?>
280arc linecolor <r> <g> <b> <?name?>
281arc linewidth <val> <?name?>
282arc opacity <val> <?name?>
283arc orient <qw> <qx> <qy> <qz> <?name?>
[3683]284arc origin <x> <y> <z> <?name?>
[3167]285arc pos <x> <y> <z> <?name?>
286arc resolution <res> <?name?>
287arc scale <sx> <sy> <sz> <?name?>
288arc visible <bool> <?name?>
289
[3168]290arrow add <tipRadius> <shaftRadius> <tipLength> <name>
291      Arrow will have base at 0,0,0 and tip at 1, 0, 0
292arrow color <r> <g> <b> <?name?>
[3683]293arrow culling <bool> <?name?>
[3168]294arrow delete <?name?>
295arrow edges <bool> <?name?>
[4091]296arrow flipnorms <bool> <?name?>
[3168]297arrow lighting <bool> <?name?>
298arrow linecolor <r> <g> <b> <?name?>
299arrow linewidth <val> <?name?>
300arrow material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?>
301arrow opacity <val> <?name?>
302arrow orient <qw> <qx> <qy> <qz> <?name?>
[3683]303arrow origin <x> <y> <z> <?name?>
[3168]304arrow pos <x> <y> <z> <?name?>
305arrow resolution <tipRes> <shaftRes> <?name?>
306arrow scale <sx> <sy> <sz> <?name?>
[3683]307arrow shading <val> <?name?>
308      val = flat|smooth
[3168]309arrow visible <bool> <?name?>
310arrow wireframe <bool> <?name?>
311
[3683]312box add <xLen> <yLen> <zLen> <name>
[3148]313box color <r> <g> <b> <?name?>
[3683]314box culling <bool> <?name?>
[3148]315box delete <?name?>
316box edges <bool> <?name?>
[4091]317box flipnorms <bool> <?name?>
[3148]318box lighting <bool> <?name?>
319box linecolor <r> <g> <b> <?name?>
320box linewidth <val> <?name?>
[3166]321box material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?>
322box opacity <val> <?name?>
[3148]323box orient <qw> <qx> <qy> <qz> <?name?>
[3683]324box origin <x> <y> <z> <?name?>
[3148]325box pos <x> <y> <z> <?name?>
326box scale <sx> <sy> <sz> <?name?>
[3683]327box shading <val> <?name?>
328    val = flat|smooth
[3148]329box visible <bool> <?name?>
330box wireframe <bool> <?name?>
331
[3168]332cone add <radius> <height> <cap> <name>
333     <cap> = boolean flag for cap disks
334cone color <r> <g> <b> <?name?>
[3683]335cone culling <bool> <?name?>
[3168]336cone delete <?name?>
337cone edges <bool> <?name?>
[4091]338cone flipnorms <bool> <?name?>
[3168]339cone lighting <bool> <?name?>
340cone linecolor <r> <g> <b> <?name?>
341cone linewidth <val> <?name?>
342cone material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?>
343cone opacity <val> <?name?>
344cone orient <qw> <qx> <qy> <qz> <?name?>
[3683]345cone origin <x> <y> <z> <?name?>
[3168]346cone pos <x> <y> <z> <?name?>
347cone resolution <res> <?name?>
348cone scale <sx> <sy> <sz> <?name?>
[3683]349cone shading <val> <?name?>
350     val = flat|smooth
[3168]351cone visible <bool> <?name?>
352cone wireframe <bool> <?name?>
353
[2137]354contour2d add numcontours <n> <?datasetName?>
[2194]355          Generate evenly spaced contours including range endpoints.  See also
356          'dataset maprange' command.
[2137]357contour2d add contourlist <list> <?datasetName?>
[2100]358          list = {isoval1 isoval2 isoval3...}
[3834]359contour2d color <r> <g> <b> <?datasetName?>
[2459]360          synonym for linecolor
[3153]361contour2d colormap <colormapName> <?datasetName?>
[3834]362contour2d 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
[3153]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.
[3488]368contour2d contourlist <list> <?dataSetName?>
[2124]369contour2d delete <?datasetName?>
[2137]370contour2d lighting <bool> <?datasetName?>
371contour2d linecolor <r> <g> <b> <?datasetName?>
[2459]372          synonym for color
[2137]373contour2d linewidth <val> <?datasetName?>
[3488]374contour2d numcontours <n> <?dataSetName?>
[2137]375contour2d opacity <val> <?datasetName?>
[2335]376contour2d orient <qw> <qx> <qy> <qz> <?dataSetName?>
377contour2d pos <x> <y> <z> <?dataSetName?>
378contour2d scale <sx> <sy> <sz> <?dataSetName?>
[2137]379contour2d visible <bool> <?datasetName?>
[2100]380
[2290]381contour3d add numcontours <n> <?datasetName?>
382          Generate evenly spaced contours including range endpoints.  See also
383          'dataset maprange' command.
384contour3d add contourlist <list> <?datasetName?>
385          list = {isoval1 isoval2 isoval3...}
[3834]386contour3d color r g b <?datasetName?>
[2290]387contour3d colormap <colorMapName> <?dataSetName?>
[3834]388contour3d 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
[3330]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.
[3488]394contour3d contourlist <list> <?dataSetName?>
[2290]395contour3d delete <?datasetName?>
396contour3d edges <bool> <?datasetName?>
397contour3d lighting <bool> <?datasetName?>
398contour3d linecolor <r> <g> <b> <?datasetName?>
399contour3d linewidth <val> <?datasetName?>
[3488]400contour3d numcontours <n> <?dataSetName?>
[2290]401contour3d opacity <val> <?datasetName?>
[2335]402contour3d orient <qw> <qx> <qy> <qz> <?dataSetName?>
403contour3d pos <x> <y> <z> <?dataSetName?>
404contour3d scale <sx> <sy> <sz> <?dataSetName?>
[2290]405contour3d visible <bool> <?datasetName?>
406contour3d wireframe <bool> <?datasetName?>
407
[2514]408cutplane add <?dataSetName?>
[2575]409cutplane axis <axis> <bool> <?dataSetName?>
410         Toggle visibility of the 3 principal axis cutplanes
[4091]411cutplane cloudstyle <style> <?datasetName?>
412         <style> = mesh | splat
[3834]413cutplane color r g b <?datasetName?>
[2752]414         Set color of outline bounding box
[2514]415cutplane colormap <colorMapName> <?dataSetName?>
[2612]416cutplane colormode <scalar|vmag|vx|vy|vz> <fieldName> <?datasetName?>
[2514]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.
421cutplane delete <?dataSetName?>
422cutplane edges <bool> <?dataSetName?>
423cutplane lighting <bool> <?dataSetName?>
424cutplane linecolor <r> <g> <b> <?dataSetName?>
425cutplane linewidth <width> <?dataSetName?>
426cutplane opacity <value> <?dataSetName?>
427cutplane orient <qw> <qx> <qy> <qz> <?dataSetName?>
[2752]428cutplane outline <bool> <?dataSetName?>
429         Toggle rendering of cutplane outlines
[2514]430cutplane pos <x> <y> <z> <?dataSetName?>
[3542]431cutplane 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.
[2514]436cutplane scale <sx> <sy> <sz> <?dataSetName?>
437cutplane slice axis ratio <?dataSetName?>
438         For 3D data, select a slice along a principle axis of the volume. The
439         ratio is [0,1]
440cutplane visible <bool> <?dataSetName?>
441cutplane wireframe <bool> <?datasetName?>
442
[3168]443cylinder add <radius> <height> <cap> <name>
444         <cap> = boolean flag for cap disks
445cylinder color <r> <g> <b> <?name?>
[3683]446cylinder culling <bool> <?name?>
[3168]447cylinder delete <?name?>
448cylinder edges <bool> <?name?>
[4091]449cylinder flipnorms <bool> <?name?>
[3168]450cylinder lighting <bool> <?name?>
451cylinder linecolor <r> <g> <b> <?name?>
452cylinder linewidth <val> <?name?>
453cylinder material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?>
454cylinder opacity <val> <?name?>
455cylinder orient <qw> <qx> <qy> <qz> <?name?>
[3683]456cylinder origin <x> <y> <z> <?name?>
[3168]457cylinder pos <x> <y> <z> <?name?>
458cylinder resolution <res> <?name?>
459cylinder scale <sx> <sy> <sz> <?name?>
[3683]460cylinder shading <val> <?name?>
461         val = flat|smooth
[3168]462cylinder visible <bool> <?name?>
463cylinder wireframe <bool> <?name?>
464
[3167]465disk add <innerRadius> <outerRadius> <name>
466disk color <r> <g> <b> <?name?>
[3683]467disk culling <bool> <?name?>
[3167]468disk delete <?name?>
469disk edges <bool> <?name?>
[4091]470disk flipnorms <bool> <?name?>
[3167]471disk lighting <bool> <?name?>
472disk linecolor <r> <g> <b> <?name?>
473disk linewidth <val> <?name?>
474disk material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?>
475disk opacity <val> <?name?>
476disk orient <qw> <qx> <qy> <qz> <?name?>
[3683]477disk origin <x> <y> <z> <?name?>
[3167]478disk pos <x> <y> <z> <?name?>
479disk resolution <resRadial> <resCircum> <?name?>
480disk scale <sx> <sy> <sz> <?name?>
[3683]481disk shading <val> <?name?>
482     val = flat|smooth
[3167]483disk visible <bool> <?name?>
484disk wireframe <bool> <?name?>
485
[2503]486glyphs add <shape> <?dataSetName?>
487       See 'glyphs shape' for list of shapes
[3834]488glyphs color r g b <?datasetName?>
[2269]489glyphs colormap <colorMapName> <?dataSetName?>
[3834]490glyphs colormode <scalar|vmag|vx|vy|vz|constant> <fieldName> <?dataSetName?>
[2467]491       Set the color mode: color by scalar field or
492       vector magnitude -- uses the current color map,
[3834]493       or color for constant color
[2269]494glyphs delete <?dataSetName?>
[2332]495glyphs edges <bool> <?datasetName?>
[3097]496glyphs gorient <bool> <fieldName> <?datasetName?>
497       Set the glyph orientation mode: orient glyphs by
498       a named vector field, or set to default orientation (off)
[2335]499glyphs gscale <scaleFactor> <?datasetName?>
500       Set glyph scaling factor
[2269]501glyphs lighting <bool> <?datasetName?>
[2332]502glyphs linecolor <r> <g> <b> <?datasetName?>
503glyphs linewidth <val> <?datasetName?>
[2493]504glyphs normscale <bool> <?datasetName?>
505       Control if data values are normalized to [0,1] range before applying
506       glyph scaling factor (gscale)
[3772]507glyphs 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
[2269]514glyphs opacity <val> <?datasetName?>
[2335]515glyphs orient <qw> <qx> <qy> <qz> <?dataSetName?>
516glyphs pos <x> <y> <z> <?dataSetName?>
[3677]517glyphs ptsize <size> <?dataSetName?>
[3696]518glyphs quality <val> <?dataSetName?>
519       Set glyph shape resolution quality val=[0,10], 1 is default
[2335]520glyphs scale <sx> <sy> <sz> <?dataSetName?>
[3677]521glyphs shape <arrow|cone|cube|cylinder|dodecahedron|icosahedron|line|octahedron|point|sphere|tetrahedron> <?datasetName?>
[2641]522glyphs smode <scalar|vmag|vcomp|off> <fieldName> <?dataSetName?>
[4037]523       Set the scaling mode: use the scalar field, vector magnitude,
524       vector components, or disable scaling
[2269]525glyphs visible <bool> <?datasetName?>
[2328]526glyphs wireframe <bool> <?datasetName?>
[2269]527
[3683]528group add <nodeList> <name>
[3772]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.
[3683]532group delete <?name?>
533group orient <qw> <qx> <qy> <qz> <?name?>
534group origin <x> <y> <z> <?name?>
535group pos <x> <y> <z> <?name?>
536group remove <nodeList> <name>
[3772]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.
[3683]540group scale <sx> <sy> <sz> <?name?>
541group visible <bool> <?name?>
542
[2423]543heightmap add numcontours <n> <heightScale> <?dataSetName?>
[2260]544          Generate evenly spaced contours including range endpoints.  See also
545          'dataset maprange' command.
[2423]546heightmap add contourlist <list> <heightScale> <?dataSetName?>
[2260]547          list = {isoval1 isoval2 isoval3...}
[3330]548heightmap aspect <aspectRatio>
549          Set scaling by aspect ratio
550          <aspectRatio> = width/height or 0 for native aspect
[3680]551heightmap cloudstyle <style> <?datasetName?>
552          <style> = mesh | splat
[2260]553heightmap colormap <colorMapName> <?dataSetName?>
[3834]554heightmap 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
[3330]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.
[4091]560heightmap 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.
[2423]566heightmap contourlist <list> <?dataSetName?>
[2260]567heightmap delete <?dataSetName?>
568heightmap edges <bool> <?dataSetName?>
569heightmap heightscale <value> <?dataSetName?>
[3330]570heightmap isolinecmap <bool> <?dataSetName?>
571          Toggle colormapping of isolines (false means to use constant color)
[2260]572heightmap isolinecolor <r> <g> <b> <?dataSetName?>
573heightmap isolines <bool> <?dataSetName?>
574heightmap isolinewidth <width> <?dataSetName?>
575heightmap lighting <bool> <?dataSetName?>
576heightmap linecolor <r> <g> <b> <?dataSetName?>
577heightmap linewidth <width> <?dataSetName?>
[2423]578heightmap numcontours <n> <?dataSetName?>
[2260]579heightmap opacity <value> <?dataSetName?>
[2328]580heightmap orient <qw> <qx> <qy> <qz> <?dataSetName?>
581heightmap pos <x> <y> <z> <?dataSetName?>
[3542]582heightmap 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.
[2328]587heightmap scale <sx> <sy> <sz> <?dataSetName?>
[2771]588heightmap slice <axis> <ratio> <?dataSetName?>
[2514]589          For 3D data, select a slice along a principle axis of the volume. The
590          ratio is [0,1]
[2423]591heightmap surface <bool> <?dataSetName?>
592          Toggle rendering of colormapped surface (mountain plot or cutplane)
[2260]593heightmap visible <bool> <?dataSetName?>
[2423]594heightmap wireframe <bool> <?datasetName?>
[2260]595
[3818]596image add <?dataSetName?>
597      Create an image from a vtkImageData data set
598image backing <bool> <?dataSetName?>
599image bg <bool> <?dataSetName?>
600image border <bool> <?dataSetName?>
601image color <r> <g> <b> <?dataSetName?>
602image colormap <colorMapName> <?dataSetName?>
603image delete <?dataSetName?>
604image extents <xmin> <xmax> <ymin> <ymax> <zmin> <zmax> <?dataSetName?>
[4091]605      Deprecated
606image follow <bool> <?dataSetName?>
607      Toggle camera following.  When on, slice plane will face the camera and
608      camera focal point determines slice offset
[3818]609image level <level> <?dataSetName?>
610image opacity <opacity> <?dataSetName?>
611image orient <qw> <qx> <qy> <qz> <?dataSetName?>
612image pos <x> <y> <z> <?dataSetName?>
613image scale <sx> <sy> <sz> <?dataSetName?>
[4091]614image 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)
[3818]617image visible <bool> <?dataSetName?>
618image window <windowWidth> <?dataSetName?>
619image zslice <sliceNum> <?dataSetName?>
[4091]620      Deprecated
[3818]621
[4091]622imgcutplane add <?dataSetName?>
623imgcutplane axis <axis> <bool> <?dataSetName?>
624            Toggle visibility of the 3 principal axis cutplanes
625imgcutplane color r g b <?datasetName?>
626            Set color of outline bounding box
627imgcutplane colormap <colorMapName> <?dataSetName?>
628imgcutplane delete <?dataSetName?>
629imgcutplane level <level> <?dataSetName?>
630imgcutplane material <ambient> <diffuse> <?dataSetName?>
631imgcutplane opacity <value> <?dataSetName?>
632imgcutplane orient <qw> <qx> <qy> <qz> <?dataSetName?>
633imgcutplane outline <bool> <?dataSetName?>
634            Toggle rendering of imgcutplane outlines
635imgcutplane pos <x> <y> <z> <?dataSetName?>
636imgcutplane scale <sx> <sy> <sz> <?dataSetName?>
637imgcutplane slice axis ratio <?dataSetName?>
638            For 3D data, select a slice along a principle axis of the volume. The
639            ratio is [0,1]
640imgcutplane visible <bool> <?dataSetName?>
641imgcutplane window <window> <?dataSetName?>
642
[2320]643lic add <?datasetName?>
644lic colormap <colormapName> <?datasetName?>
645lic delete <?datasetName?>
646lic edges <bool> <?datasetName?>
647lic lighting <bool> <?datasetName?>
648lic linecolor <r> <g> <b> <?datasetName?>
649lic linewidth <val> <?datasetName?>
650lic opacity <val> <?datasetName?>
[2335]651lic orient <qw> <qx> <qy> <qz> <?dataSetName?>
652lic pos <x> <y> <z> <?dataSetName?>
[3542]653lic preinterp <bool> <?dataSetName?>
654    Controls if VTK's InterpolateScalarsBeforeMapping option is set.
655    Setting this on will give more correct colors, as the interpolation
656    is done on texture coordinates that lookup into a 1D texture instead
657    of using color interpolation from triangle vertices.
[2335]658lic scale <sx> <sy> <sz> <?dataSetName?>
[2514]659lic slice <axis> <ratio> <?datasetName?>
660    For 3D data, select a slice along a principle axis of the volume. The
661    ratio is [0,1]
[2320]662lic visible <bool> <?datasetName?>
663
[3696]664line add <points> <name>
665     Create a polyline from the list of point coordinates in <points>. The
666     list size must be a multiple of 3 (each point's x,y,z coordinates)
[3165]667line color <r> <g> <b> <?name?>
668line delete <?name?>
669line linecolor <r> <g> <b> <?name?>
[3540]670     Synonym for color
[3165]671line linewidth <val> <?name?>
[3166]672line opacity <val> <?name?>
[3165]673line orient <qw> <qx> <qy> <qz> <?name?>
[3683]674line origin <x> <y> <z> <?name?>
[3165]675line pos <x> <y> <z> <?name?>
676line scale <sx> <sy> <sz> <?name?>
677line visible <bool> <?name?>
678
[2320]679molecule add <?datasetName?>
[3693]680molecule aquality <val> <?datasetName?>
681         Set atom sphere resolution quality val=[0,10], 1 is default
682molecule ascale <val> <?datasetName?>
683         Set atom scale factor
[2320]684molecule atoms <bool> <?datasetName?>
685         Toggle rendering of atoms
[3145]686molecule bcmode <by_elements|constant> <?datasetName?>
[3112]687         Set bond color mode
688molecule bcolor <r> <g> <b> <?datasetName?>
689         Set constant bond color
[2320]690molecule bonds <bool> <?datasetName?>
691         Toggle rendering of bonds
[3693]692molecule bquality <val> <?datasetName?>
693         Set bond cylinder resolution quality val=[0,10], 1 is default
[3110]694molecule bscale <val> <?datasetName?>
695         Set bond scale factor
[3143]696molecule bstyle <cylinder|line> <?datasetName?>
697         Set bond render style
[3834]698molecule color r g b <?datasetName?>
[2320]699molecule colormap <colormapName> <?datasetName?>
[3834]700molecule colormode <by_elements|scalar|vmag|vx|vy|vz|constant> <fieldName> <?datasetName?>
701         Set the field used to color the object.  'constant' means to use
702         the constant color defined by the color subcommand.  'scalar' uses
[3145]703         the active scalar field.  'vmag' uses the magnitude of the current
704         vector field, and 'vx','vy','vz' use the corresponding component of
705         the active vector field.
[2320]706molecule delete <?datasetName?>
707molecule edges <bool> <?datasetName?>
[3134]708molecule labels <bool> <?datasetName?>
[3641]709         Toggle display of atom labels
710molecule lfield <fieldName> <?datasetName?>
711         Set the field used for atom labels
[2320]712molecule lighting <bool> <?datasetName?>
713molecule linecolor <r> <g> <b> <?datasetName?>
714molecule linewidth <val> <?datasetName?>
[3798]715molecule material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?datasetName?>
[2320]716molecule opacity <val> <?datasetName?>
[2328]717molecule orient <qw> <qx> <qy> <qz> <?dataSetName?>
718molecule pos <x> <y> <z> <?dataSetName?>
719molecule rscale <val> <?dataSetName?>
720         Atom radius scaling
[3085]721         val = van_der_waals|covalent|atomic|none
[2328]722molecule scale <sx> <sy> <sz> <?dataSetName?>
[2320]723molecule visible <bool> <?datasetName?>
724molecule wireframe <bool> <?datasetName?>
725
[3540]726outline add <?datasetName?>
727outline color <r> <g> <b> <?datasetName?>
728outline delete <?datasetName?>
729outline linecolor <r> <g> <b> <?datasetName?>
730        Synonym for color
731outline linewidth <val> <?datasetName?>
732outline opacity <val> <?datasetName?>
733outline orient <qw> <qx> <qy> <qz> <?datasetName?>
734outline pos <x> <y> <z> <?datasetName?>
735outline scale <sx> <sy> <sz> <?datasetName?>
736outline visible <bool> <?datasetName?>
737
[3861]738parallelepiped add <v0x> <v0y> <v0z> <v1x> <v1y> <v1z> <v2x> <v2y> <v2z> <name>
739               Specify parallelepiped using 3 basis vectors.  The 3 vectors should
740               be given in order to create a right-handed coordinate system, i.e.
741               (v0 cross v1) dot v2 should be positive.
742parallelepiped color <r> <g> <b> <?name?>
743parallelepiped culling <bool> <?name?>
744parallelepiped delete <?name?>
745parallelepiped edges <bool> <?name?>
[4091]746parallelepiped flipnorms <bool> <?name?>
[3861]747parallelepiped lighting <bool> <?name?>
748parallelepiped linecolor <r> <g> <b> <?name?>
749parallelepiped linewidth <val> <?name?>
750parallelepiped material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?>
751parallelepiped opacity <val> <?name?>
752parallelepiped orient <qw> <qx> <qy> <qz> <?name?>
753parallelepiped origin <x> <y> <z> <?name?>
754parallelepiped pos <x> <y> <z> <?name?>
755parallelepiped scale <sx> <sy> <sz> <?name?>
756parallelepiped shading <val> <?name?>
757               val = flat|smooth
758parallelepiped visible <bool> <?name?>
759parallelepiped wireframe <bool> <?name?>
[3859]760
[2137]761polydata add <?datasetName?>
[3680]762polydata cloudstyle <style> <?datasetName?>
763         <style> = mesh | points
[4091]764polydata color <r> <g> <b> <?datasetName?>
[3818]765polydata colormap <colormapName> <?datasetName?>
[3834]766polydata colormode <scalar|vmag|vx|vy|vz|constant> <fieldName> <?datasetName?>
767         Set the field used to color the object.  'constant' means to use
768         the constant color defined by the color subcommand.  'scalar' uses
[3818]769         the active scalar field.  'vmag' uses the magnitude of the current
770         vector field, and 'vx','vy','vz' use the corresponding component of
771         the active vector field.
[3683]772polydata culling <bool> <?name?>
[2124]773polydata delete <?datasetName?>
[2137]774polydata edges <bool> <?datasetName?>
775polydata lighting <bool> <?datasetName?>
776polydata linecolor <r> <g> <b> <?datasetName?>
777polydata linewidth <val> <?datasetName?>
[3148]778polydata material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp>
[2137]779polydata opacity <val> <?datasetName?>
[2328]780polydata orient <qw> <qx> <qy> <qz> <?dataSetName?>
[3683]781polydata origin <x> <y> <z> <?name?>
[2328]782polydata pos <x> <y> <z> <?dataSetName?>
[3835]783polydata preinterp <bool> <?dataSetName?>
784         Controls if VTK's InterpolateScalarsBeforeMapping option is set.
785         Setting this on will give more correct colors, as the interpolation
786         is done on texture coordinates that lookup into a 1D texture instead
787         of using color interpolation from triangle vertices.
[2423]788polydata ptsize <size> <?dataSetName?>
[2328]789polydata scale <sx> <sy> <sz> <?dataSetName?>
[3683]790polydata shading <val> <?name?>
791         val = flat|smooth
[2137]792polydata visible <bool> <?datasetName?>
793polydata wireframe <bool> <?datasetName?>
[2112]794
[3683]795polygon add <numSides> <centerX> <centerY> <centerZ> <normX> <normY> <normZ> <radius> <name>
[3166]796polygon color <r> <g> <b> <?name?>
[3683]797polygon culling <bool> <?name?>
[3166]798polygon delete <?name?>
799polygon edges <bool> <?name?>
[4091]800polygon flipnorms <bool> <?name?>
[3166]801polygon lighting <bool> <?name?>
802polygon linecolor <r> <g> <b> <?name?>
803polygon linewidth <val> <?name?>
804polygon material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?>
805polygon opacity <val> <?name?>
806polygon orient <qw> <qx> <qy> <qz> <?name?>
[3683]807polygon origin <x> <y> <z> <?name?>
[3166]808polygon pos <x> <y> <z> <?name?>
809polygon scale <sx> <sy> <sz> <?name?>
[3683]810polygon shading <val> <?name?>
811        val = flat|smooth
[3166]812polygon visible <bool> <?name?>
813polygon wireframe <bool> <?name?>
814
[2269]815pseudocolor add <?datasetName?>
[3680]816pseudocolor cloudstyle <style> <?datasetName?>
817            <style> = mesh | points | splat
[4091]818pseudocolor color <r> <g> <b> <?datasetName?>
[2269]819pseudocolor colormap <colormapName> <?datasetName?>
[3834]820pseudocolor colormode <scalar|vmag|vx|vy|vz|constant> <fieldName> <?datasetName?>
821            Set the field used to color the object.  'constant' means to use
822            the constant color defined by the color subcommand.  'scalar' uses
[2493]823            the active scalar field.  'vmag' uses the magnitude of the current
824            vector field, and 'vx','vy','vz' use the corresponding component of
825            the active vector field.
[2269]826pseudocolor delete <?datasetName?>
827pseudocolor edges <bool> <?datasetName?>
828pseudocolor lighting <bool> <?datasetName?>
829pseudocolor linecolor <r> <g> <b> <?datasetName?>
830pseudocolor linewidth <val> <?datasetName?>
831pseudocolor opacity <val> <?datasetName?>
[2335]832pseudocolor orient <qw> <qx> <qy> <qz> <?dataSetName?>
833pseudocolor pos <x> <y> <z> <?dataSetName?>
[3542]834pseudocolor preinterp <bool> <?dataSetName?>
835            Controls if VTK's InterpolateScalarsBeforeMapping option is set.
836            Setting this on will give more correct colors, as the interpolation
837            is done on texture coordinates that lookup into a 1D texture instead
838            of using color interpolation from triangle vertices.
[3680]839pseudocolor ptsize <size> <?dataSetName?>
[2335]840pseudocolor scale <sx> <sy> <sz> <?dataSetName?>
[2269]841pseudocolor visible <bool> <?datasetName?>
[2317]842pseudocolor wireframe <bool> <?datasetName?>
[2269]843
[3683]844sphere add <centerX> <centerY> <centerZ> <radius> <name>
[3148]845sphere color <r> <g> <b> <?name?>
[3683]846sphere culling <bool> <?name?>
[3148]847sphere delete <?name?>
848sphere edges <bool> <?name?>
[4091]849sphere flipnorms <bool> <?name?>
[3148]850sphere lighting <bool> <?name?>
851sphere linecolor <r> <g> <b> <?name?>
852sphere linewidth <val> <?name?>
[3166]853sphere material <ambientCoeff> <diffuseCoeff> <specularCoeff> <specularExp> <?name?>
854sphere opacity <val> <?name?>
[3148]855sphere orient <qw> <qx> <qy> <qz> <?name?>
[3683]856sphere origin <x> <y> <z> <?name?>
[3148]857sphere pos <x> <y> <z> <?name?>
[3149]858sphere resolution <thetaRes> <phiRes> <?name?>
[3148]859sphere scale <sx> <sy> <sz> <?name?>
[3166]860sphere section <thetaStart> <thetaEnd> <phiStart> <phiEnd> <?name?>
[3149]861       Angles are in degrees
[3683]862sphere shading <val> <?name?>
863       val = flat|smooth
[3148]864sphere visible <bool> <?name?>
865sphere wireframe <bool> <?name?>
866
[2317]867streamlines add <?datasetName?>
[3834]868streamlines color <r> <g> <b> <?datasetName?>
869            Set the constant color of streamlines used for color mode 'constant'
[2317]870streamlines colormap <colormapName> <?datasetName?>
871            Colormap used to color streamlines/tubes/ribbons by vector magnitude
[3834]872streamlines colormode <scalar|vmag|vx|vy|vz|constant> <fieldName> <?datasetName?>
873            Set the field used to color the streamlines.  'constant' means to use
874            the constant color defined by the color subcommand.  'scalar' uses
[2393]875            the active scalar field.  'vmag' uses the magnitude of the current
876            vector field, and 'vx','vy','vz' use the corresponding component of
877            the active vector field.
[2317]878streamlines delete <?datasetName?>
879streamlines edges <bool> <?datasetName?>
880            Turn on/off edges for tubes, ribbons
881streamlines length <?datasetName?>
882            Set maximum length in world coordinates of streamlines
883streamlines lighting <bool> <?datasetName?>
884streamlines linecolor <r> <g> <b> <?datasetName?>
[3330]885            Set color of edges for tubes, ribbons (lines are colored by
886            colormap)
[2317]887streamlines lines <?datasetName?>
888            Set rendering type to polylines
889streamlines linewidth <val> <?datasetName?>
890streamlines opacity <val> <?datasetName?>
[2335]891streamlines orient <qw> <qx> <qy> <qz> <?dataSetName?>
892streamlines pos <x> <y> <z> <?dataSetName?>
[2317]893streamlines ribbons <width> <angle> <?datasetName?>
894            Set rendering type to ribbons, width is minimum half-width, angle is
895            degrees offset from normal orientation
[2335]896streamlines scale <sx> <sy> <sz> <?dataSetName?>
[2317]897streamlines seed color <r> <g> <b> <?datasetName?>
[2349]898streamlines seed disk <centerX> <centerY> <centerZ> <normalX> <normalY> <normalZ> <radius> <innerRadius> <numPoints> <?dataSetName?>
[2351]899            Create a disk seed area with optional hole, filled with randomly
900            placed points
[2506]901streamlines seed fmesh <numPoints> data follows <nbytes> <?datasetName?>
902            Fill a mesh supplied as a VTK data file with randomly placed points
[2349]903streamlines seed fpoly <centerX> <centerY> <centerZ> <normalX> <normalY> <normalZ> <angle> <radius> <numSides> <numPoints> <?dataSetName?>
[2351]904            Create a regular n-sided polygonal seed area filled with randomly
905            placed points
[2506]906streamlines seed mesh data follows <nbytes> <?datasetName?>
907            Use points of a mesh supplied as a VTK data file
[2581]908streamlines seed numpts <?datasetName?>
[3682]909            If seeds have been created using 'seed random', 'seed fmesh',
910            'seed mesh' or 'seed points' this command can be used to change the
911            number of randomly distributed seeds.  In the case of 'seed mesh'
912            or 'seed points', the number is the maximum number of points of the
913            mesh to be used -- the actual number may be fewer if the mesh
914            contains fewer points.  Set to a number less than 0 to use all the
915            points of the mesh.
[2506]916streamlines seed points <?datasetName?>
917            Use points of the streamlines' dataset mesh
[2349]918streamlines seed polygon <centerX> <centerY> <centerZ> <normalX> <normalY> <normalZ> <angle> <radius> <numSides> <?dataSetName?>
919            Create seed points from vertices of a regular n-sided polygon
[3682]920streamlines seed ptsize <size> <?datasetName?>
921            Set the point size for rendering seed points
[2317]922streamlines seed rake <startX> <startY> <startZ> <endX> <endY> <endZ> <numPoints> <?datasetName?>
923streamlines seed random <numPoints> <?datasetName?>
[2506]924            Fill the streamlines' dataset mesh with randomly placed points
[2317]925streamlines seed visible <bool> <?datasetName?>
926streamlines tubes <numSides> <radius> <?datasetName?>
927            Set rendering type to tubes, numSides is number of sides of tubes,
928            radius is minimum tube radius
929streamlines visible <bool> <?datasetName?>
930
[3818]931text3d add <textString> <name>
[4091]932text3d bold <bool> <?name?>
[3818]933text3d color <r> <g> <b> <?name?>
934text3d delete <?name?>
935text3d fntfamily <fontName> <?name?>
936text3d fntsize <fontSize> <?name?>
[4091]937text3d follow <bool> <?name?>
938       Toggle text automatically aligning toward camera
939text3d italic <bool> <?name?>
[3818]940text3d opacity <opacity> <?name?>
941text3d orient <qw> <qx> <qy> <qz> <?name?>
942text3d origin <x> <y> <z> <?name?>
943text3d pos <x> <y> <z> <?name?>
944text3d scale <sx> <sy> <sz> <?name?>
[4091]945text3d shadow <bool> <?name?>
946text3d text <text> <?name?>
[3818]947text3d visible <bool> <?name?>
948
[2261]949volume add <?datasetName?>
[3961]950volume blendmode <mode> <?dataSetName?>
[3962]951       mode = composite|max_intensity|min_intensity|additive
[2261]952volume colormap <colorMapName> <?datasetName?>
953volume delete <?datasetName?>
954volume lighting <bool> <?datasetName?>
[4091]955volume opacity <opacity> <?datasetName?>
[2335]956volume orient <qw> <qx> <qy> <qz> <?dataSetName?>
957volume pos <x> <y> <z> <?dataSetName?>
[2757]958volume quality <val> <?datasetName?>
959       val = [0,1]
[2335]960volume scale <sx> <sy> <sz> <?dataSetName?>
[2261]961volume shading ambient <coeff> <?datasetName?>
962volume shading diffuse <coeff> <?datasetName?>
963volume shading specular <coeff> <power> <?datasetName?>
964volume visible <bool> <?datasetName?>
965
[3126]966warp add <?dataSetName?>
[3680]967warp cloudstyle <style> <?datasetName?>
968     <style> = mesh | points
[4091]969warp color <r> <g> <b> <?datasetName?>
[3330]970warp colormap <colormapName> <?datasetName?>
[3834]971warp colormode <scalar|vmag|vx|vy|vz|constant> <fieldName> <?datasetName?>
972     Set the field used to color the object.  'constant' means to use
973     the constant color defined by the color subcommand.  'scalar' uses
[3330]974     the active scalar field.  'vmag' uses the magnitude of the current
975     vector field, and 'vx','vy','vz' use the corresponding component of
976     the active vector field.
[3126]977warp delete <?dataSetName?>
978warp edges <bool> <?dataSetName?>
979warp lighting <bool> <?dataSetName?>
980warp linecolor <r> <g> <b> <?dataSetName?>
981warp linewidth <width> <?dataSetName?>
982warp opacity <value> <?dataSetName?>
983warp orient <qw> <qx> <qy> <qz> <?dataSetName?>
984warp pos <x> <y> <z> <?dataSetName?>
[3542]985warp preinterp <bool> <?dataSetName?>
[3683]986     Controls if VTK's InterpolateScalarsBeforeMapping option is set.
[3542]987     Setting this on will give more correct colors, as the interpolation
988     is done on texture coordinates that lookup into a 1D texture instead
989     of using color interpolation from triangle vertices.
[4091]990warp ptsize <size> <?dataSetName?>
[3126]991warp scale <sx> <sy> <sz> <?dataSetName?>
992warp visible <bool> <?dataSetName?>
993warp warpscale <value> <?dataSetName?>
994     Specify amount to scale vector magnitudes when warping
995warp wireframe <bool> <?datasetName?>
996
[2100]997================================================================================
998Replies:
[2892]999================================================================================
[2317]1000nv>camera set <posX> <posY> <posZ> <focalPtX> <focalPtY> <focalPtZ> <viewUpX> <viewUpY> <viewUpZ>
[2200]1001   Reply to "camera get"
[2100]1002nv>image -type image -bytes <nbytes>
1003  <binary RGB data>
[2423]1004nv>image -type image -bbox {x y w h} -bytes <nbytes>
[2194]1005  <binary RGB data>
[2423]1006  The bounding box of the 2D image camera zoom region is supplied
1007  Note: The bbox coordinates are in the form used by 'camera ortho world ...':
[3330]1008  x,y - world coord. of lower left corner, w,h - width height in world coords
[2423]1009  This form is currently used only if the camera mode is set to 'image'.
[2471]1010nv>legend <colormapName> <title> <rmin> <rmax> <nbytes>
[2100]1011  <binary RGB data>
[3330]1012nv>dataset names <Tcl list of names>
[2423]1013nv>dataset scalar world <x> <y> <z> <value> <dataSetName>
1014nv>dataset scalar pixel <x> <y> <value> <dataSetName>
1015nv>dataset vector world <x> <y> <z> <valueX> <valueY> <valueZ> <dataSetName>
1016nv>dataset vector pixel <x> <y> <valueX> <valueY> <valueZ> <dataSetName>
[3479]1017nv>ok -token <seqnum>
1018   Reply indicated commands through <seqnum> (numbered beginning at 1) have been
1019   processed, but no new image was rendered
[2100]1020================================================================================
[2892]1021Error Replies:
1022================================================================================
[3330]1023nv>viserror -bytes <nbytes>
1024   <multi-line error string of nbytes>
[2892]1025================================================================================
Note: See TracBrowser for help on using the repository browser.