Line | |
---|
1 | <?xml version="1.0"?> |
---|
2 | <run> |
---|
3 | <tool> |
---|
4 | <title>field</title> |
---|
5 | <about>Example of a Rappture <field> object. |
---|
6 | |
---|
7 | Fields are a set of values defined on a mesh of some sort (see <mesh> and <cloud> elements for details). |
---|
8 | |
---|
9 | When you click the Simulate button, the inputs will be used to generate output fields. |
---|
10 | </about> |
---|
11 | <command> |
---|
12 | tclsh @tool/field.tcl @driver |
---|
13 | </command> |
---|
14 | <limits> |
---|
15 | <cputime>unlimited</cputime> |
---|
16 | <filesize>unlimited</filesize> |
---|
17 | </limits> |
---|
18 | </tool> |
---|
19 | <input> |
---|
20 | <string id="formula"> |
---|
21 | <about> |
---|
22 | <label>Formula</label> |
---|
23 | <description>Formula used to calculate the value of the field.</description> |
---|
24 | <hints>Example: 2*x*y + z</hints> |
---|
25 | </about> |
---|
26 | <default>x*y*z</default> |
---|
27 | </string> |
---|
28 | <separator/> |
---|
29 | <choice id="3D"> |
---|
30 | <about> |
---|
31 | <label>3D Rendering</label> |
---|
32 | <description>Determines the method used for 3D rendering--either the built-in Vtk library or the external nanoVIS engine.</description> |
---|
33 | </about> |
---|
34 | <option> |
---|
35 | <about> |
---|
36 | <label>Vtk library</label> |
---|
37 | <description>This is the older visualization solution, implemented in Vtk and linked into the Rappture environment.</description> |
---|
38 | </about> |
---|
39 | <value>vtk</value> |
---|
40 | </option> |
---|
41 | <option> |
---|
42 | <about> |
---|
43 | <label>nanoVIS</label> |
---|
44 | <description>This is the newer nanoVIS engine running on accelerated hardware in the nanoHUB environment.</description> |
---|
45 | </about> |
---|
46 | <value>nanovis</value> |
---|
47 | </option> |
---|
48 | <default>nanovis</default> |
---|
49 | </choice> |
---|
50 | </input> |
---|
51 | <output> |
---|
52 | <cloud id="m2d"> |
---|
53 | <about><label>2D Mesh</label></about> |
---|
54 | <units>um</units> |
---|
55 | <hide>yes</hide> |
---|
56 | </cloud> |
---|
57 | <field id="f2d"> |
---|
58 | <about><label>2D Field</label></about> |
---|
59 | <component> |
---|
60 | <mesh>output.cloud(m2d)</mesh> |
---|
61 | <values></values> |
---|
62 | </component> |
---|
63 | </field> |
---|
64 | |
---|
65 | <field id="f3d"> |
---|
66 | <about><label>3D Field</label></about> |
---|
67 | <component> |
---|
68 | <style> |
---|
69 | -color blue:yellow:red |
---|
70 | </style> |
---|
71 | </component> |
---|
72 | </field> |
---|
73 | </output> |
---|
74 | </run> |
---|
Note: See
TracBrowser
for help on using the repository browser.