Changeset 4123
- Timestamp:
- Jan 15, 2014, 2:32:52 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/vtkvolumeviewer.tcl
r4122 r4123 260 260 cutplaneWireframe 0 261 261 legendVisible 1 262 outline 0 262 263 volumeAmbient 40 263 264 volumeBlendMode composite … … 1024 1025 } 1025 1026 DoRotate 1026 InitSettings background axisGridX axisGridY axisGridZ axisFlyMode \1027 InitSettings outline background axisGridX axisGridY axisGridZ axisFlyMode \ 1027 1028 axesVisible axisLabels 1028 1029 PanCamera … … 1393 1394 "outline" { 1394 1395 set bool $_settings(outline) 1395 SendCmd "outline visible $bool" 1396 SendCmd "outline visible 0" 1397 foreach tag [GetDatasetsWithComponent $_current] { 1398 SendCmd "outline visible $bool $tag" 1399 } 1400 } 1401 "legendVisible" { 1402 set bool $_settings(legendVisible) 1403 set _settings($_current-legendVisible) $bool 1396 1404 } 1397 1405 "volumeVisible" { … … 2274 2282 SendCmd "volume colormap $cname $tag" 2275 2283 SendCmd "$_cutplaneCmd colormap $cname-opaque $tag" 2284 SendCmd "outline add $tag" 2285 SendCmd "outline visible 0 $tag" 2276 2286 } 2277 2287
Note: See TracChangeset
for help on using the changeset viewer.