Changeset 3533 for trunk/gui/scripts/nanovisviewer.tcl
- Timestamp:
- Mar 19, 2013 12:53:20 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/nanovisviewer.tcl
r3517 r3533 200 200 qz 0.146447 201 201 zoom 1.0 202 xpan 0203 ypan 0202 xpan 0 203 ypan 0 204 204 } 205 205 set _arcball [blt::arcball create 100 100] … … 217 217 $this-qz $_view(qz) 218 218 $this-zoom $_view(zoom) 219 $this-xpan $_view(xpan)220 $this-ypan $_view(ypan)219 $this-xpan $_view(xpan) 220 $this-ypan $_view(ypan) 221 221 $this-volume 1 222 222 $this-xcutplane 0 … … 816 816 SendCmd "volume state 1 $tag" 817 817 } 818 set _limits($tag-min) $info(min); # Minimum value of the volume.819 set _limits($tag-max) $info(max); # Maximum value of the volume.818 set _limits($tag-min) $info(min); # Minimum value of the volume. 819 set _limits($tag-max) $info(max); # Maximum value of the volume. 820 820 set _limits(vmin) $info(vmin); # Overall minimum value. 821 821 set _limits(vmax) $info(vmax); # Overall maximum value. … … 924 924 set _settings($this-qy) $_view(qy) 925 925 set _settings($this-qz) $_view(qz) 926 set _settings($this-xpan) $_view(xpan)927 set _settings($this-ypan) $_view(ypan)926 set _settings($this-xpan) $_view(xpan) 927 set _settings($this-ypan) $_view(ypan) 928 928 set _settings($this-zoom) $_view(zoom) 929 929 … … 1046 1046 set _settings($this-qy) $_view(qy) 1047 1047 set _settings($this-qz) $_view(qz) 1048 set _settings($this-xpan) $_view(xpan)1049 set _settings($this-ypan) $_view(ypan)1048 set _settings($this-xpan) $_view(xpan) 1049 set _settings($this-ypan) $_view(ypan) 1050 1050 set _settings($this-zoom) $_view(zoom) 1051 $itk_component(orientation) value "default"1052 1051 } 1053 1052 } … … 1920 1919 1921 1920 blt::table $inner \ 1922 1923 1921 0,0 $inner.view_l -anchor e -pady 2 \ 1922 0,1 $inner.view -anchor w -pady 2 1924 1923 1925 1924 set row 1 … … 2120 2119 $_arcball quaternion $q 2121 2120 SendCmd "camera orient $q" 2122 } 2123 2121 SendCmd "camera reset" 2122 set _view(xpan) 0 2123 set _view(ypan) 0 2124 set _view(zoom) 1.0 2125 set _settings($this-xpan) $_view(xpan) 2126 set _settings($this-ypan) $_view(ypan) 2127 set _settings($this-zoom) $_view(zoom) 2128 } 2129
Note: See TracChangeset
for help on using the changeset viewer.