Changeset 4735 for trunk/gui/scripts
- Timestamp:
- Nov 17, 2014, 1:56:13 AM (10 years ago)
- Location:
- trunk/gui/scripts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/vtkglyphviewer.tcl
r4707 r4735 1856 1856 0,0 $inner.view_l -anchor e -pady 2 \ 1857 1857 0,1 $inner.view -anchor w -pady 2 1858 blt::table configure $inner r0 -resize none 1858 1859 1859 1860 set labels { qx qy qz qw xpan ypan zoom } … … 1881 1882 incr row 1882 1883 1883 blt::table configure $inner c* r*-resize none1884 blt::table configure $inner c* -resize none 1884 1885 blt::table configure $inner c2 -resize expand 1885 1886 blt::table configure $inner r$row -resize expand -
trunk/gui/scripts/vtkisosurfaceviewer.tcl
r4715 r4735 1829 1829 0,0 $inner.view_l -anchor e -pady 2 \ 1830 1830 0,1 $inner.view -anchor w -pady 2 1831 blt::table configure $inner r0 -resize none 1831 1832 1832 1833 set labels { qx qy qz qw xpan ypan zoom } … … 1854 1855 incr row 1855 1856 1856 blt::table configure $inner c* r*-resize none1857 blt::table configure $inner c* -resize none 1857 1858 blt::table configure $inner c2 -resize expand 1858 1859 blt::table configure $inner r$row -resize expand … … 2128 2129 -edgecolor black 2129 2130 -edges 0 2130 -isosurfaceopacity 0.62131 2131 -isosurfacevisible 1 2132 2132 -levels 10 2133 2133 -lighting 1 2134 2134 -linewidth 1.0 2135 -opacity 0.6 2135 2136 -outline 0 2136 2137 -wireframe 0 … … 2144 2145 array set style [$dataobj style $comp] 2145 2146 if { $dataobj != $_first || $style(-levels) == 1 } { 2146 set style(- isosurfaceopacity) 1.02147 set style(-opacity) 1.0 2147 2148 } 2148 2149 … … 2157 2158 2158 2159 if { $_changed(-isosurfaceopacity) } { 2159 set style(- isosurfaceopacity) $_settings(-isosurfaceopacity)2160 set style(-opacity) $_settings(-isosurfaceopacity) 2160 2161 } 2161 2162 if { $_changed(-numcontours) } { … … 2206 2207 SendCmd "contour3d linecolor [Color2RGB $style(-edgecolor)] $tag" 2207 2208 SendCmd "contour3d linewidth $style(-linewidth) $tag" 2208 SendCmd "contour3d opacity $style(- isosurfaceopacity) $tag"2209 set _settings(-isosurfaceopacity) $style(- isosurfaceopacity)2209 SendCmd "contour3d opacity $style(-opacity) $tag" 2210 set _settings(-isosurfaceopacity) $style(-opacity) 2210 2211 SetCurrentColormap $style(-color) 2211 2212 SendCmd "contour3d wireframe $style(-wireframe) $tag" -
trunk/gui/scripts/vtkvolumeviewer.tcl
r4730 r4735 2232 2232 set tag $dataobj-$cname 2233 2233 array set styles { 2234 -color BCGYR2235 - volumelighting12236 - volumeoutline02237 -v olumevisible12234 -color BCGYR 2235 -lighting 1 2236 -outline 0 2237 -visible 1 2238 2238 } 2239 2239 array set styles [$dataobj style $cname] 2240 SendCmd "volume add $tag" 2241 set _settings($cname-volumelighting) $styles(-volumelighting) 2242 set _settings($cname-volumeoutline) $styles(-volumeoutline) 2243 set _settings($cname-volumevisible) $styles(-volumevisible) 2240 set _settings($cname-volumelighting) $styles(-lighting) 2241 set _settings($cname-volumeoutline) $styles(-outline) 2242 set _settings($cname-volumevisible) $styles(-visible) 2244 2243 2245 2244 $itk_component(colormap) value $styles(-color) 2245 2246 SendCmd "outline add $tag" 2247 SendCmd "outline visible $styles(-outline) $tag" 2246 2248 2247 2249 SendCmd "$_cutplaneCmd add $tag" 2248 2250 SendCmd "$_cutplaneCmd visible 0 $tag" 2249 SendCmd "volume lighting $styles(-volumelighting) $tag" 2251 2252 SendCmd "volume add $tag" 2253 SendCmd "volume lighting $styles(-lighting) $tag" 2254 SendCmd "volume visible $styles(-visible) $tag" 2255 2250 2256 SetInitialTransferFunction $dataobj $cname 2251 2257 SendCmd "volume colormap $cname $tag" 2252 2258 SendCmd "$_cutplaneCmd colormap $cname-opaque $tag" 2253 SendCmd "outline add $tag"2254 SendCmd "outline visible $styles(-volumeoutline) $tag"2255 2259 } 2256 2260
Note: See TracChangeset
for help on using the changeset viewer.