Changeset 3833
- Timestamp:
- Jul 24, 2013, 1:24:52 PM (11 years ago)
- Location:
- trunk/gui/scripts
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/vtkglyphviewer.tcl
r3814 r3833 1383 1383 if { $color == "none" } { 1384 1384 if { $_settings(colormapVisible) } { 1385 SendCmd "glyphs colormode c color{}"1385 SendCmd "glyphs colormode constant {}" 1386 1386 set _settings(colormapVisible) 0 1387 1387 } … … 1532 1532 SendCmd "axis color all $rgb" 1533 1533 SendCmd "outline color $rgb" 1534 #SendCmd "cutplane c color $rgb"1534 #SendCmd "cutplane color $rgb" 1535 1535 } 1536 1536 } -
trunk/gui/scripts/vtkisosurfaceviewer.tcl
r3814 r3833 1389 1389 if { $color == "none" } { 1390 1390 if { $_settings(colormapVisible) } { 1391 SendCmd "contour3d colormode c color{}"1391 SendCmd "contour3d colormode constant {}" 1392 1392 set _settings(colormapVisible) 0 1393 1393 } … … 1554 1554 SendCmd "axis color all $rgb" 1555 1555 SendCmd "outline color $rgb" 1556 SendCmd "cutplane c color $rgb"1556 SendCmd "cutplane color $rgb" 1557 1557 } 1558 1558 } -
trunk/gui/scripts/vtkstreamlinesviewer.tcl
r3816 r3833 2168 2168 SendCmd "cutplane add $tag" 2169 2169 SendCmd "polydata add $tag" 2170 #SendCmd "polydata colormode ccolor{} $tag"2170 SendCmd "polydata colormode constant {} $tag" 2171 2171 set _settings(volumeEdges) $settings(-edges) 2172 2172 set _settings(volumeLighting) $settings(-lighting) -
trunk/gui/scripts/vtkviewer.tcl
r3817 r3833 1376 1376 if { $type == "polydata" } { 1377 1377 ChangeColormap $dataobj $comp $palette 1378 # FIXME: fill in current selected fieldname 1378 1379 #SendCmd "polydata colormode scalar {} $dataset" 1379 1380 } … … 1683 1684 switch -- [$dataobj type $comp] { 1684 1685 "polydata" { 1685 # FIXME: Can't colormap a polydata from a scalar field 1686 # currently. If we want to support this, need to use 1687 # a pseudocolor instead of a polydata, or add colormap 1688 # support to polydata 1689 #SendCmd "polydata colormap $name $tag" 1686 SendCmd "polydata colormap $name $tag" 1690 1687 } 1691 1688 "glyphs" { … … 2453 2450 "glyphs" { 2454 2451 array set settings { 2455 -color \# 8080802452 -color \#FFFFFF 2456 2453 -gscale 1 2457 2454 -edges 0 … … 2469 2466 SendCmd "glyphs gscale $settings(-gscale) $tag" 2470 2467 SendCmd "glyphs wireframe $settings(-wireframe) $tag" 2471 #SendCmd "glyphs ccolor [Color2RGB $settings(-color)] $tag"2472 #SendCmd "glyphs colormode c color{} $tag"2468 SendCmd "glyphs color [Color2RGB $settings(-color)] $tag" 2469 #SendCmd "glyphs colormode constant {} $tag" 2473 2470 SendCmd "glyphs gorient 0 {} $tag" 2474 2471 SendCmd "glyphs smode vcomp {} $tag" … … 2499 2496 set _settings(polydata-edges) $settings(-edges) 2500 2497 SendCmd "polydata color [Color2RGB $settings(-color)] $tag" 2498 #SendCmd "polydata colormode constant {} $tag" 2501 2499 SendCmd "polydata lighting $settings(-lighting) $tag" 2502 2500 set _settings(polydata-lighting) $settings(-lighting)
Note: See TracChangeset
for help on using the changeset viewer.