- Timestamp:
- Jun 12, 2009, 3:53:22 PM (15 years ago)
- Location:
- trunk/gui/scripts
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/field.tcl
r1496 r1511 855 855 set max 0 856 856 foreach cname [$_field children -type component] { 857 if { [info exists _comp2unirect3d($cname)] } { 858 set value [$_comp2unirect3d($cname) components] 859 } elseif { [info exists _comp2unirect2d($cname)] } { 860 set value [$_comp2unirect2d($cname) components] 861 } elseif { [info exists _comp2extents($cname)] } { 862 set value $_comp2extents($cname) 863 } else { 857 if { ![info exists _comp2unirect3d($cname)] && 858 ![info exists _comp2extents($cname)] } { 864 859 continue 865 860 } 861 set value $_comp2extents($cname) 866 862 if { $max < $value } { 867 863 set max $value … … 872 868 if { $what == "component0"} { 873 869 set what [lindex [components -name] 0] 874 if { [info exists _comp2unirect3d($what)] } {875 return [$_comp2unirect3d($what) components]876 } elseif { [info exists _comp2unirect2d($what)] } {877 return [$_comp2unirect2d($what) components]878 } elseif { [info exists _comp2extents($what)] } {879 return $_comp2extents($what)880 }881 870 } 882 871 return $_comp2extents($what) -
trunk/gui/scripts/flowspeed.tcl
r1496 r1511 72 72 [itcl::code $this _validate %A] 73 73 bind $itk_component(entry) <KeyPress-Return> \ 74 "$this value \[$itk_component(entry) get\]" 75 bind $itk_component(entry) <KeyPress-Tab> \ 74 76 "$this value \[$itk_component(entry) get\]" 75 77 -
trunk/gui/scripts/flowvisviewer.tcl
r1509 r1511 425 425 } 426 426 bind $itk_component(duration) <Return> [itcl::code $this flow duration] 427 bind $itk_component(duration) <Tab> [itcl::code $this flow duration] 427 428 Rappture::Tooltip::for $itk_component(duration) \ 428 429 "Set duration of flow (format is min:sec)" … … 2885 2886 set framerate [expr 1000.0 / $_flow(delay)] 2886 2887 set framerate 25.0 2887 set bitrate 4000002888 set bitrate 6000000 2888 2889 2889 2890 set start [clock seconds] -
trunk/gui/scripts/unirect3d.tcl
r1509 r1511 30 30 return _axisOrder; 31 31 } 32 public method components {} {33 return _components;34 }35 32 private method GetString { obj path varName } 36 33 private method GetValue { obj path varName } … … 47 44 private variable _zMin 0 48 45 private variable _zNum 0 49 private variable _components 150 46 private variable _values ""; # BLT vector containing the z-values 51 47 private variable _hints … … 71 67 GetSize $m "yaxis.numpoints" _yNum 72 68 GetSize $m "zaxis.numpoints" _zNum 73 GetSize $m "components" _components74 69 itcl::delete object $m 75 70 … … 100 95 lappend data "zmin" $_zMin "zmax" $_zMax "znum" $_zNum 101 96 lappend data "axisorder" $_axisOrder 102 lappend data "components" $_components103 97 if { [$_values length] > 0 } { 104 98 lappend data "values" [$_values range 0 end]
Note: See TracChangeset
for help on using the changeset viewer.