Changeset 4552 for branches/1.3/gui/scripts/vtkvolumeviewer.tcl
- Timestamp:
- Jul 17, 2014 9:20:41 PM (10 years ago)
- Location:
- branches/1.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3
-
branches/1.3/gui/scripts/vtkvolumeviewer.tcl
r4550 r4552 225 225 cutplaneWireframe 0 226 226 cutplane-opacity 100 227 legendVisible 1 228 outline 0 227 229 volumeLighting 1 228 230 volume-material 80 … … 921 923 } 922 924 DoRotate 923 InitSettings background axis-xgrid axis-ygrid axis-zgrid axisFlyMode \925 InitSettings outline background axis-xgrid axis-ygrid axis-zgrid axisFlyMode \ 924 926 axesVisible axisLabels 925 927 PanCamera … … 1274 1276 DrawLegend 1275 1277 } 1278 "outline" { 1279 set bool $_settings($what) 1280 SendCmd "outline visible 0" 1281 foreach tag [CurrentDatasets -visible] { 1282 SendCmd "outline visible $bool $tag" 1283 } 1284 } 1285 "legendVisible" { 1286 set bool $_settings($what) 1287 set _settings($_current-$what) $bool 1288 } 1276 1289 "volumeVisible" { 1277 1290 set bool $_settings($what) … … 2071 2084 set _settings(volumeLighting) $settings(-lighting) 2072 2085 SetColormap $dataobj $comp 2086 SendCmd "outline add $tag" 2087 SendCmd "outline visible 0 $tag" 2073 2088 } 2074 2089
Note: See TracChangeset
for help on using the changeset viewer.