- Timestamp:
- Jul 9, 2014, 9:10:33 PM (10 years ago)
- Location:
- branches/1.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3
- Property svn:mergeinfo changed
/trunk merged: 4414-4416,4419-4421,4423,4425,4427,4430,4440
- Property svn:mergeinfo changed
-
branches/1.3/gui/scripts/vtkisosurfaceviewer.tcl
r4470 r4475 236 236 -axesvisible 1 237 237 -axislabelsvisible 1 238 -background black 239 -colormap BCGYR 240 -colormapvisible 1 238 -axismode "static" 239 -background black 240 -colormap BCGYR 241 -colormapvisible 1 241 242 -cutplaneedges 0 242 243 -cutplanelighting 1 … … 245 246 -cutplanesvisible 0 246 247 -cutplanewireframe 0 247 248 248 -field "Default" 249 -isolinecolor white 249 250 -isosurfaceedges 0 250 251 -isosurfacelighting 1 … … 266 267 } 267 268 array set _changed { 269 -colormap 0 268 270 -isosurfaceopacity 0 269 -colormap 0270 271 -numcontours 0 271 272 } … … 1439 1440 } 1440 1441 "-colormap" { 1441 set _changed( -colormap) 11442 set _changed($what) 1 1442 1443 StartBufferingCommands 1443 1444 set color [$itk_component(colormap) value] … … 1819 1820 "furthest_triad" "farthest" \ 1820 1821 "outer_edges" "outer" 1821 $itk_component(axisMode) value "static"1822 $itk_component(axisMode) value $_settings(-axismode) 1822 1823 bind $inner.mode <<Value>> [itcl::code $this AdjustSetting -axismode] 1823 1824 … … 2171 2172 set style(-opacity) 1 2172 2173 } 2173 SendCmd "cutplane add $tag"2174 SendCmd "cutplane visible 0 $tag"2175 2174 2176 2175 # This is too complicated. We want to set the colormap, number of … … 2211 2210 set _settings(-zcutplaneposition) $style(-zcutplaneposition) 2212 2211 2213 GenerateContourList 2214 SendCmd [list contour3d add contourlist $_contourList(values) $tag] 2215 2216 SendCmd "contour3d edges $style(-edges) $tag" 2212 SendCmd "cutplane add $tag" 2213 SendCmd "cutplane visible $style(-cutplanesvisible) $tag" 2214 2217 2215 SendCmd "outline add $tag" 2218 2216 SendCmd "outline color [Color2RGB $itk_option(-plotforeground)] $tag" 2219 2217 SendCmd "outline visible $style(-outline) $tag" 2220 2218 set _settings(-outline) $style(-outline) 2219 2220 GenerateContourList 2221 SendCmd [list contour3d add contourlist $_contourList(values) $tag] 2222 SendCmd "contour3d visible $style(-isosurfacevisible) $tag" 2223 SendCmd "contour3d edges $style(-edges) $tag" 2221 2224 set _settings(-isosurfaceedges) $style(-edges) 2222 2225 #SendCmd "contour3d color [Color2RGB $settings(-color)] $tag"
Note: See TracChangeset
for help on using the changeset viewer.