- Timestamp:
- May 14, 2016, 4:42:36 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/vtkisosurfaceviewer.tcl
r6329 r6330 2256 2256 array set style { 2257 2257 -color BCGYR 2258 -constcolor white 2258 2259 -cutplaneedges 0 2259 2260 -cutplanelighting 1 … … 2281 2282 set style(-opacity) 1.0 2282 2283 } 2284 set style(-constcolor) $itk_option(-plotforeground) 2283 2285 array set style [$dataobj style $comp] 2284 2286 #DebugTrace [array get style] … … 2312 2314 } 2313 2315 if { $_currentColormap == "" } { 2314 SetCurrentColormap $style(-color)2315 2316 $itk_component(colormap) value $style(-color) 2316 2317 } … … 2340 2341 2341 2342 SendCmd "cutplane add $tag" 2342 SendCmd "cutplane color [Color2RGB $ itk_option(-plotforeground)] $tag"2343 SendCmd "cutplane color [Color2RGB $style(-constcolor)] $tag" 2343 2344 foreach axis {x y z} { 2344 2345 set pos [expr $style(-${axis}cutplaneposition) * 0.01] … … 2356 2357 2357 2358 SendCmd "outline add $tag" 2358 SendCmd "outline color [Color2RGB $ itk_option(-plotforeground)] $tag"2359 SendCmd "outline color [Color2RGB $style(-constcolor)] $tag" 2359 2360 SendCmd "outline visible $style(-outline) $tag" 2360 2361 … … 2364 2365 SendCmd "contour3d edges $style(-edges) $tag" 2365 2366 set _settings(-isosurfaceedges) $style(-edges) 2366 #SendCmd "contour3d color [Color2RGB $style(-co lor)] $tag"2367 #SendCmd "contour3d color [Color2RGB $style(-constcolor)] $tag" 2367 2368 SendCmd "contour3d lighting $style(-lighting) $tag" 2368 2369 set _settings(-isosurfacelighting) $style(-lighting)
Note: See TracChangeset
for help on using the changeset viewer.