Changeset 5237 for trunk/gui/scripts/vtkvolumeviewer.tcl
- Timestamp:
- Apr 15, 2015, 12:35:36 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/vtkvolumeviewer.tcl
r5233 r5237 97 97 private method BuildViewTab {} 98 98 private method BuildVolumeTab {} 99 private method DrawLegend {}100 private method DrawLegendOld {}101 99 private method Combo { option } 102 100 private method Connect {} … … 105 103 private method DoResize {} 106 104 private method DoRotate {} 105 private method DrawLegend {} 106 private method DrawLegendOld {} 107 107 private method EnterLegend { x y } 108 108 private method EventuallyResize { w h } … … 112 112 private method GetImage { args } 113 113 private method GetVtkData { args } 114 private method InitSettings { args 114 private method InitSettings { args } 115 115 private method IsValidObject { dataobj } 116 116 private method LeaveLegend {} … … 167 167 private variable _curFldName "" 168 168 private variable _curFldLabel "" 169 private variable _colorMode "scalar"; # 169 private variable _colorMode "scalar"; # Mode of colormap (vmag or scalar) 170 170 private variable _cutplaneCmd "imgcutplane" 171 171 private variable _allowMultiComponent 0 172 private variable _activeVolumes; # Array of volumes that are active.173 172 } 174 173 … … 1016 1015 SendCmd "imgflush" 1017 1016 StartBufferingCommands 1018 1017 } 1019 1018 set _first "" 1020 1021 SendCmd "dataset visible 0"1022 1019 1023 1020 # No volumes are active (i.e. in the working set of displayed volumes). … … 1025 1022 # volume in the working set may be visible/invisible depending upon the 1026 1023 # global visibility value. 1027 array unset _activeVolumes1024 SendCmd "dataset visible 0" 1028 1025 foreach dataobj [get -objects] { 1029 1026 if { [info exists _obj2ovride($dataobj-raise)] && $_first == "" } { … … 2643 2640 # reference. 2644 2641 2645 if { ![info exists _parsedFunction($cname)] || ![info exists _cname2transferFunction($cname)] } { 2642 if { ![info exists _parsedFunction($cname)] || 2643 ![info exists _cname2transferFunction($cname)] } { 2646 2644 array set style { 2647 2645 -color BCGYR
Note: See TracChangeset
for help on using the changeset viewer.