Changeset 3644 for trunk/examples
- Timestamp:
- May 10, 2013, 3:31:17 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/zoo/image/tool.xml
r1715 r3644 1 1 <?xml version="1.0"?> 2 2 <run> 3 <tool> 4 <title>image</title> 5 <about>Example of a Rappture <image> object. 3 <tool> 4 <about>Press Simulate to view results.</about> 5 <command>matlab -nodisplay -r infile='@driver',path('@tool',path),imagei</command> 6 </tool> 7 <input> 8 <number id="temperature"> 9 <about> 10 <label>Ambient temperature</label> 11 <description>Temperature of the environment.</description> 12 </about> 13 <units>K</units> 14 <min>0K</min> 15 <max>500K</max> 16 <default>300K</default> 17 <preset> 18 <value>300K</value> 19 <label>300K (room temperature)</label> 20 </preset> 21 <preset> 22 <value>77K</value> 23 <label>77K (liquid nitrogen)</label> 24 </preset> 25 <preset> 26 <value>4.2K</value> 27 <label>4.2K (liquid helium)</label> 28 </preset> 29 </number> 30 <number id="Ef"> 31 <about> 32 <label>Fermi Level</label> 33 <description>Energy at center of distribution.</description> 34 </about> 35 <units>eV</units> 36 <min>-10eV</min> 37 <max>10eV</max> 38 <default>0eV</default> 39 </number> 40 </input> 41 </run> 6 42 7 Images are used to decorate input and show output.8 9 When you click the Simulate button, the input image will be rotated to produce the output image.10 </about>11 <command>12 tclsh @tool/image.tcl @driver13 </command>14 </tool>15 <input>16 <loader>17 <about>18 <label>Image</label>19 <description>Use this to load different images.</description>20 </about>21 <example>*.xml</example>22 <default>nanohub.xml</default>23 </loader>24 <image>25 <about>26 <label>Image</label>27 <description>Input image that gets rotated.</description>28 <diffs>ignore</diffs>29 </about>30 <convert>bmp</convert>31 </image>32 <number id="angle">33 <about>34 <label>Rotate</label>35 <description>Rotate image by this amount in degrees.</description>36 </about>37 <units>deg</units>38 <min>0deg</min>39 <max>360deg</max>40 <default>0deg</default>41 </number>42 </input>43 </run>
Note: See TracChangeset
for help on using the changeset viewer.