- Timestamp:
- Jul 6, 2013, 2:52:57 PM (11 years ago)
- Location:
- branches/1.3/examples/zoo/mesh
- Files:
-
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3/examples/zoo/mesh/Makefile.in
r3471 r3752 16 16 17 17 FILES = \ 18 $(srcdir)/data.tcl \19 $(srcdir)/datatri.tcl \20 18 $(srcdir)/file.vtk \ 19 $(srcdir)/mesh.m \ 21 20 $(srcdir)/mesh.tcl \ 22 21 $(srcdir)/mesh.vtk \ 23 $(srcdir)/tool.xml 22 $(srcdir)/particle_data.txt \ 23 $(srcdir)/points.txt \ 24 $(srcdir)/substrate_data.txt \ 25 $(srcdir)/tool.xml \ 26 $(srcdir)/tool_octave.xml \ 27 $(srcdir)/triangles.txt 24 28 25 29 destdir = $(prefix)/examples/zoo/mesh -
branches/1.3/examples/zoo/mesh/mesh.m
r3739 r3752 3 3 lib = rpLib(infile); 4 4 5 meshtype = rpLibGetString(lib, 'input.choice .current');6 contour = rpLibGetString(lib, 'input.boolean .current')5 meshtype = rpLibGetString(lib, 'input.choice(mesh).current'); 6 contour = rpLibGetString(lib, 'input.boolean(contour).current') 7 7 switch contour 8 8 case 'yes' -
branches/1.3/examples/zoo/mesh/mesh.tcl
r3739 r3752 10 10 set driver [Rappture::library [lindex $argv 0]] 11 11 12 set meshtype [$driver get input.choice.current]13 set contour [$driver get input.boolean.current]12 set meshtype [$driver get "input.choice(mesh).current"] 13 set contour [$driver get "input.boolean(contour).current"] 14 14 if { $contour == "yes" } { 15 15 set view contour -
branches/1.3/examples/zoo/mesh/tool.xml
r3739 r3752 79 79 <default>triangular</default> 80 80 </choice> 81 <boolean id="contour"> 82 <about> 83 <label>Contour Plot</label> 84 <description>Display as a contour plot or surface plot</description> 85 </about> 86 <default>yes</default> 87 </boolean> 81 88 </input> 82 89 </run> -
branches/1.3/examples/zoo/mesh/tool_octave.xml
r3751 r3752 7 7 <input> 8 8 <choice id="mesh"> 9 </option>10 9 <option> 11 10 <about> … … 80 79 <default>triangular</default> 81 80 </choice> 82 <boolean>83 <about>84 <label>Contour Plot</label>85 <description>Display as a contour plot or surface plot</description>86 </about>87 <default>yes</default>88 </boolean>81 <boolean id="contour"> 82 <about> 83 <label>Contour Plot</label> 84 <description>Display as a contour plot or surface plot</description> 85 </about> 86 <default>yes</default> 87 </boolean> 89 88 </input> 90 89 </run>
Note: See TracChangeset
for help on using the changeset viewer.