Changeset 3250
- Timestamp:
- Jan 9, 2013, 5:53:19 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Rappture 1.2/gui/scripts/vtkheightmapviewer.tcl
r3249 r3250 2311 2311 -lighting 1 2312 2312 -linewidth 1.0 2313 -opacity 1.02314 2313 -levels 10 2315 2314 -visible 1 2316 -wireframe 02317 -isolinecolor red2318 2315 } 2319 2316 set style [$dataobj style $comp] … … 2328 2325 } 2329 2326 $itk_component(palette) value $settings(-color) 2330 $itk_component(isolinecolor) value $settings(-isolinecolor)2331 2327 set _numContours $settings(-levels) 2332 2328 set scale [GetHeightmapScale] 2333 2329 SendCmd "heightmap add numcontours $settings(-levels) $scale $tag" 2334 2330 set _comp2scale($tag) $_settings(heightmap-scale) 2335 SendCmd "heightmap edges $settings(-edges) $tag" 2336 set _settings(contour-edges) $settings(-edges) 2337 SendCmd "heightmap lighting $settings(-lighting) $tag" 2338 set _settings(contour-lighting) $settings(-lighting) 2339 SendCmd "heightmap linecolor [Color2RGB $settings(-edgecolor)] $tag" 2340 SendCmd "heightmap linewidth $settings(-linewidth) $tag" 2341 SendCmd "heightmap opacity $settings(-opacity) $tag" 2342 set _settings(contour-opacity) $settings(-opacity) 2343 SendCmd "heightmap wireframe $settings(-wireframe) $tag" 2344 set _settings(contour-wireframe) $settings(-wireframe) 2345 set _settings(contour-opacity) [expr $settings(-opacity) * 100.0] 2331 SendCmd "heightmap edges $_settings(contour-edges) $tag" 2332 SendCmd "heightmap lighting $_settings(contour-lighting) $tag" 2333 SendCmd "heightmap wireframe $_settings(contour-wireframe) $tag" 2346 2334 SetColormap $dataobj $comp 2347 2335 }
Note: See TracChangeset
for help on using the changeset viewer.