Changeset 4428 for branches/1.3
- Timestamp:
- Jun 25, 2014, 11:29:50 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3/gui/scripts/vtkisosurfaceviewer.tcl
r4426 r4428 141 141 private variable _isolines 142 142 private variable _contourList 143 143 private variable _currentLimits "" 144 144 common _downloadPopup; # download options from popup 145 145 private common _hardcopy … … 577 577 set _obj2ovride($dataobj-width) $params(-width) 578 578 set _obj2ovride($dataobj-raise) $params(-raise) 579 EventuallyChangeContourLevels580 579 $_dispatcher event -idle !rebuild 581 580 } … … 609 608 # If anything changed, then rebuild the plot 610 609 if { $changed } { 611 EventuallyChangeContourLevels612 610 $_dispatcher event -idle !rebuild 613 611 } … … 1069 1067 } 1070 1068 $itk_component(field) value $_curFldLabel 1069 1070 if { ![info exists _limits($_curFldName)] } { 1071 SendCmd "dataset maprange all" 1072 } else { 1073 set limits $_limits($_curFldName) 1074 SendCmd "dataset maprange explicit $limits $_curFldName" 1075 if { $limits != $_currentLimits } { 1076 set _currentLimits $limits 1077 EventuallyChangeContourLevels 1078 } 1079 } 1071 1080 } 1072 1081 InitSettings -cutplanesvisible -isosurfacevisible -isosurfaceoutline … … 1453 1462 "-numcontours" { 1454 1463 set _settings($what) [$itk_component(numcontours) value] 1455 set _contourList(numLevels) $_settings($what) 1456 EventuallyChangeContourLevels 1464 if { $_contourList(numLevels) != $_settings($what) } { 1465 set _contourList(numLevels) $_settings($what) 1466 EventuallyChangeContourLevels 1467 } 1457 1468 } 1458 1469 "-isosurfacewireframe" { … … 1525 1536 puts stderr "dataset maprange all" 1526 1537 } else { 1527 puts stderr "dataset maprange explicit $_limits($_curFldName) $_curFldName"1528 1538 SendCmd "dataset maprange explicit $_limits($_curFldName) $_curFldName" 1529 1539 }
Note: See TracChangeset
for help on using the changeset viewer.