- Timestamp:
- Feb 23, 2016, 1:20:37 PM (9 years ago)
- Location:
- trunk/gui/scripts
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/vtkglyphviewer.tcl
r5769 r6045 2191 2191 array unset style -scaleMode 2192 2192 } 2193 if { $dataobj != $_first } {2194 set style(-opacity) 12195 }2196 2193 if 0 { 2197 2194 SendCmd "cutplane add $tag" -
trunk/gui/scripts/vtkisosurfaceviewer.tcl
r6043 r6045 2269 2269 2270 2270 itcl::body Rappture::VtkIsosurfaceViewer::SetObjectStyle { dataobj comp } { 2271 DebugTrace "Enter" 2271 2272 # Parse style string. 2272 2273 set tag $dataobj-$comp … … 2295 2296 -zcutplanevisible 1 2296 2297 } 2298 if { $style(-levels) == 1 } { 2299 set style(-opacity) 1.0 2300 } 2297 2301 array set style [$dataobj style $comp] 2298 if { $dataobj != $_first || $style(-levels) == 1 } { 2299 set style(-opacity) 1.0 2300 } 2302 #DebugTrace [array get style] 2301 2303 2302 2304 # This is too complicated. We want to set the colormap, number of … … 2366 2368 SendCmd "cutplane lighting $style(-cutplanelighting) $tag" 2367 2369 SendCmd "cutplane opacity $style(-cutplaneopacity) $tag" 2370 set _widget(-cutplaneopacity) [expr $style(-cutplaneopacity) * 100] 2368 2371 SendCmd "cutplane preinterp $style(-cutplanepreinterp) $tag" 2369 2372 SendCmd "cutplane wireframe $style(-cutplanewireframe) $tag" … … 2386 2389 SendCmd "contour3d opacity $style(-opacity) $tag" 2387 2390 set _settings(-isosurfaceopacity) $style(-opacity) 2391 set _widget(-isosurfaceopacity) [expr $style(-opacity) * 100] 2388 2392 SetCurrentColormap $style(-color) 2389 2393 SendCmd "contour3d wireframe $style(-wireframe) $tag" -
trunk/gui/scripts/vtkmeshviewer.tcl
r5772 r6045 1525 1525 -wireframe 0 1526 1526 } 1527 if { $dataobj != $_first } {1528 set style(-wireframe) 11529 }1530 1527 if {$type == "cloud"} { 1531 1528 set style(-cloudstyle) points -
trunk/gui/scripts/vtkstreamlinesviewer.tcl
r5772 r6045 2117 2117 } 2118 2118 array set style [$dataobj style $comp] 2119 if { $dataobj != $_first } { 2120 set style(-opacity) 1.0 2121 } 2119 2122 2120 StartBufferingCommands 2123 2121 SendCmd "streamlines add $tag" -
trunk/gui/scripts/vtksurfaceviewer.tcl
r5818 r6045 1894 1894 } 1895 1895 array set style [$dataobj style $comp] 1896 if { $dataobj != $_first || $style(-levels) == 1 } {1897 set style(-opacity) 1.01898 }1899 1896 1900 1897 # This is too complicated. We want to set the colormap, number of -
trunk/gui/scripts/vtkviewer.tcl
r5772 r6045 2634 2634 set type [$dataobj type $comp] 2635 2635 set style [$dataobj style $comp] 2636 if { $dataobj != $_first } {2637 set settings(-wireframe) 12638 }2639 2636 switch -- $type { 2640 2637 "glyphs" {
Note: See TracChangeset
for help on using the changeset viewer.