Changeset 4391 for branches/1.3
- Timestamp:
- Jun 17, 2014, 3:13:44 PM (10 years ago)
- Location:
- branches/1.3/gui/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3/gui/scripts/visviewer.tcl
r4260 r4391 1100 1100 # StopBufferingCommands -- 1101 1101 # 1102 # This gets called when we want to stop buffering the commands for 1103 # the server and actually send then to the server. Note that there's 1104 # a reference count on buffering. This is so that you can can 1105 # Start/Stop multiple times without worrying about the current state. 1106 # 1102 1107 itcl::body Rappture::VisViewer::StopBufferingCommands { } { 1103 1108 incr _buffering -1 -
branches/1.3/gui/scripts/vtkisosurfaceviewer.tcl
r4351 r4391 1003 1003 lappend _obj2datasets($dataobj) $tag 1004 1004 if { [info exists _obj2ovride($dataobj-raise)] } { 1005 # Setting dataset visible enables outline1006 # and contour3d1007 1005 SendCmd "contour3d visible 1 $tag" 1008 1006 } … … 1070 1068 set _reset 0 1071 1069 } 1070 # Redraw the legend even if we're using the same colormap. The position 1071 # of the isolines may have changed because the range of data changed. 1072 DrawLegend 1072 1073 1073 1074 # Actually write the commands to the server socket. If it fails, we don't … … 1348 1349 "-cutplanesvisible" { 1349 1350 set bool $_settings($what) 1350 SendCmd "cutplane visible $bool" 1351 SendCmd "cutplane visible 0" 1352 if { $bool } { 1353 foreach tag [CurrentDatasets -visible] { 1354 SendCmd "cutplane visible $bool $tag" 1355 } 1356 } 1357 if { $bool } { 1358 Rappture::Tooltip::for $itk_component(cutplane) \ 1359 "Hide the cutplanes" 1360 } else { 1361 Rappture::Tooltip::for $itk_component(cutplane) \ 1362 "Show the cutplanes" 1363 } 1351 1364 } 1352 1365 "-cutplanewireframe" { … … 1432 1445 "Show the isosurface" 1433 1446 } 1434 DrawLegend1435 1447 } 1436 1448 "-isosurfacelighting" { … … 1444 1456 "-isosurfaceoutline" { 1445 1457 set bool $_settings($what) 1446 SendCmd "outline visible $bool" 1458 SendCmd "outline visible 0" 1459 if { $bool } { 1460 foreach tag [CurrentDatasets -visible] { 1461 SendCmd "outline visible $bool $tag" 1462 } 1463 } 1464 if { $bool } { 1465 Rappture::Tooltip::for $itk_component(contour) \ 1466 "Hide the isosurface" 1467 } else { 1468 Rappture::Tooltip::for $itk_component(contour) \ 1469 "Show the isosurface" 1470 } 1447 1471 } 1448 1472 "-isolinecolor" {
Note: See TracChangeset
for help on using the changeset viewer.