Changeset 3544
- Timestamp:
- Mar 19, 2013, 6:48:23 PM (12 years ago)
- Location:
- trunk/gui/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/vtkheightmapviewer.tcl
r3537 r3544 1040 1040 # 1041 1041 SendCmd "axis color all [Color2RGB $itk_option(-plotforeground)]" 1042 SendCmd " datasetcolor [Color2RGB $itk_option(-plotforeground)]"1042 SendCmd "outline color [Color2RGB $itk_option(-plotforeground)]" 1043 1043 ResetAxes 1044 1044 set q [list $_view(qw) $_view(qx) $_view(qy) $_view(qz)] … … 1586 1586 "outline" { 1587 1587 if { $_settings(isHeightmap) } { 1588 SendCmd " dataset outline 0"1588 SendCmd "outline visible 0" 1589 1589 } else { 1590 1590 set _settings(saveOutline) $_settings(outline) 1591 1591 set bool $_settings(outline) 1592 SendCmd " dataset outline $bool"1592 SendCmd "outline visible $bool" 1593 1593 } 1594 1594 } … … 1765 1765 if { [isconnected] } { 1766 1766 set rgb [Color2RGB $itk_option(-plotforeground)] 1767 SendCmd " datasetcolor $rgb"1767 SendCmd "outline color $rgb" 1768 1768 SendCmd "axis color all $rgb" 1769 1769 } … … 2253 2253 DrawLegend 2254 2254 } 2255 SendCmd "dataset outline $_settings(outline) $tag" 2256 SendCmd "dataset color [Color2RGB $itk_option(-plotforeground)] $tag" 2255 SendCmd "outline add $tag" 2256 SendCmd "outline color [Color2RGB $itk_option(-plotforeground)] $tag" 2257 SendCmd "outline visible $_settings(outline) $tag" 2257 2258 set scale [GetHeightmapScale] 2258 2259 SendCmd "heightmap add numcontours $_currentNumIsolines $scale $tag" -
trunk/gui/scripts/vtkisosurfaceviewer.tcl
r3543 r3544 1445 1445 "isosurfaceOutline" { 1446 1446 set bool $_settings(isosurfaceOutline) 1447 SendCmd " dataset outline $bool"1447 SendCmd "outline visible $bool" 1448 1448 } 1449 1449 "isolineColor" { … … 1561 1561 set rgb [Color2RGB $itk_option(-plotforeground)] 1562 1562 SendCmd "axis color all $rgb" 1563 SendCmd " datasetcolor $rgb"1563 SendCmd "outline color $rgb" 1564 1564 SendCmd "cutplane ccolor $rgb" 1565 1565 } … … 2177 2177 SendCmd [list contour3d add contourlist $_contourList $tag] 2178 2178 SendCmd "contour3d edges $style(-edges) $tag" 2179 SendCmd "dataset outline $style(-outline) $tag" 2180 SendCmd "dataset color [Color2RGB $itk_option(-plotforeground)]" 2179 SendCmd "outline add $tag" 2180 SendCmd "outline color [Color2RGB $itk_option(-plotforeground)] $tag" 2181 SendCmd "outline visible $style(-outline) $tag" 2181 2182 set _settings(isosurfaceOutline) $style(-outline) 2182 2183 set _settings(isosurfaceEdges) $style(-edges)
Note: See TracChangeset
for help on using the changeset viewer.