Changeset 3686 for trunk/gui/scripts
- Timestamp:
- Jun 14, 2013 2:42:39 PM (11 years ago)
- Location:
- trunk/gui/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/field.tcl
r3684 r3686 1342 1342 append out "$vtkassoc $numValues\n" 1343 1343 if { $_comp2type($cname) == "scalar" } { 1344 set vtktype "SCALARS" 1344 append out "SCALARS $label double $elemSize\n" 1345 append out "LOOKUP_TABLE default\n" 1345 1346 } elseif { $_comp2type($cname) == "vector" } { 1346 set vtktype "VECTORS"1347 append out "VECTORS $label double $elemSize\n" 1347 1348 } else { 1348 1349 error "unknown element type \"$_comp2type($cname)\"" 1349 1350 } 1350 append out "$vtktype $label double $elemSize\n"1351 append out "LOOKUP_TABLE default\n"1352 1351 append out "[$vector range 0 end]\n" 1353 1352 if 0 { -
trunk/gui/scripts/vtkglyphviewer.tcl
r3685 r3686 2117 2117 SendCmd "glyphs add arrow $tag" 2118 2118 SendCmd "glyphs edges $style(-edges) $tag" 2119 SendCmd "glyphs gscale 10 $tag"2119 SendCmd "glyphs gscale 20 $tag" 2120 2120 SendCmd "outline add $tag" 2121 2121 SendCmd "outline color [Color2RGB $itk_option(-plotforeground)] $tag"
Note: See TracChangeset
for help on using the changeset viewer.