Last change
on this file since 572 was
572,
checked in by mmc, 17 years ago
|
Added a test harness for the nanoVIS server. Run "nanovis-test" and
you can send individual commands or command files to the server and
monitor the communication.
Fixed examples/zoo/field to have nanoVIS output as an option.
Fixed the app-fermi/matlab example to include the proper path
for loading scripts from the local directory.
|
File size:
1.8 KB
|
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 | </tool> |
---|
15 | <input> |
---|
16 | <string id="formula"> |
---|
17 | <about> |
---|
18 | <label>Formula</label> |
---|
19 | <description>Formula used to calculate the value of the field.</description> |
---|
20 | <hints>Example: 2*x*y + z</hints> |
---|
21 | </about> |
---|
22 | <default>x*y*z</default> |
---|
23 | </string> |
---|
24 | <separator/> |
---|
25 | <choice id="3D"> |
---|
26 | <about> |
---|
27 | <label>3D Rendering</label> |
---|
28 | <description>Determines the method used for 3D rendering--either the built-in Vtk library or the external nanoVIS engine.</description> |
---|
29 | </about> |
---|
30 | <option> |
---|
31 | <about> |
---|
32 | <label>Vtk library</label> |
---|
33 | <description>This is the older visualization solution, implemented in Vtk and linked into the Rappture environment.</description> |
---|
34 | </about> |
---|
35 | <value>vtk</value> |
---|
36 | </option> |
---|
37 | <option> |
---|
38 | <about> |
---|
39 | <label>nanoVIS</label> |
---|
40 | <description>This is the newer nanoVIS engine running on accelerated hardware in the nanoHUB environment.</description> |
---|
41 | </about> |
---|
42 | <value>nanovis</value> |
---|
43 | </option> |
---|
44 | <default>nanovis</default> |
---|
45 | </choice> |
---|
46 | </input> |
---|
47 | <output> |
---|
48 | <cloud id="m2d"> |
---|
49 | <about><label>2D Mesh</label></about> |
---|
50 | <units>um</units> |
---|
51 | <hide>yes</hide> |
---|
52 | </cloud> |
---|
53 | <field id="f2d"> |
---|
54 | <about><label>2D Field</label></about> |
---|
55 | <component> |
---|
56 | <mesh>output.cloud(m2d)</mesh> |
---|
57 | <values></values> |
---|
58 | </component> |
---|
59 | </field> |
---|
60 | |
---|
61 | <field id="f3d"> |
---|
62 | <about><label>3D Field</label></about> |
---|
63 | <component> |
---|
64 | <style>-color yellow</style> |
---|
65 | </component> |
---|
66 | </field> |
---|
67 | </output> |
---|
68 | </run> |
---|
Note: See
TracBrowser
for help on using the repository browser.