Changeset 3330 for trunk/gui/scripts/vtkvolumeviewer.tcl
- Timestamp:
- Feb 24, 2013 1:11:18 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/vtkvolumeviewer.tcl
r3177 r3330 1 # -*- mode: tcl; indent-tabs-mode: nil -*- 1 2 2 3 # ---------------------------------------------------------------------- … … 211 212 $_parser alias dataset [itcl::code $this ReceiveDataset] 212 213 $_parser alias legend [itcl::code $this ReceiveLegend] 214 $_parser alias viserror [itcl::code $this ReceiveError] 213 215 214 216 array set _outline { … … 293 295 bind $c <KeyPress-Down> [list %W yview scroll -10 units] 294 296 bind $c <Enter> "focus %W" 297 bind $c <Control-F1> [itcl::code $this ToggleConsole] 295 298 296 299 # Fixes the scrollregion in case we go off screen … … 1034 1037 } 1035 1038 1036 if 0{1039 if 1 { 1037 1040 # Tell the server the name of the tool, the version, and dataset 1038 1041 # that we are rendering. Have to do it here because we don't know … … 1042 1045 lappend args version [$_first hints toolRevision] 1043 1046 lappend args dataset [$_first hints label] 1044 SendCmd "clientinfo $args"1047 SendCmd "clientinfo [list $args]" 1045 1048 } 1046 1049 … … 2169 2172 2170 2173 itk_component add xCutScale { 2171 ::scale $inner.xval -from 100 -to 1\2174 ::scale $inner.xval -from 100 -to 0 \ 2172 2175 -width 10 -orient vertical -showvalue yes \ 2173 2176 -borderwidth 1 -highlightthickness 0 \ … … 2196 2199 2197 2200 itk_component add yCutScale { 2198 ::scale $inner.yval -from 100 -to 1\2201 ::scale $inner.yval -from 100 -to 0 \ 2199 2202 -width 10 -orient vertical -showvalue yes \ 2200 2203 -borderwidth 1 -highlightthickness 0 \ … … 2223 2226 2224 2227 itk_component add zCutScale { 2225 ::scale $inner.zval -from 100 -to 1\2228 ::scale $inner.zval -from 100 -to 0 \ 2226 2229 -width 10 -orient vertical -showvalue yes \ 2227 2230 -borderwidth 1 -highlightthickness 0 \
Note: See TracChangeset
for help on using the changeset viewer.