Changeset 4190
- Timestamp:
- Feb 20, 2014 7:40:21 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/vtkglyphviewer.tcl
r4151 r4190 2050 2050 array set style { 2051 2051 -color BCGYR 2052 -edgecolor black 2052 2053 -edges 0 2053 -edgecolor black 2054 -gscale 1 2055 -lighting 1 2054 2056 -linewidth 1.0 2057 -normscale 1 2058 -opacity 1.0 2059 -orientGlyphs 1 2060 -outline 0 2055 2061 -ptsize 1.0 2056 -opacity 1.0 2062 -quality 1 2063 -scaleMode "vmag" 2064 -shape "arrow" 2057 2065 -wireframe 0 2058 -lighting 12059 -outline 02060 -shape "arrow"2061 -orientGlyphs 12062 -scaleMode "vmag"2063 -quality 12064 2066 } 2065 2067 set numComponents [$dataobj numComponents $comp] … … 2103 2105 SendCmd "glyphs edges $style(-edges) $tag" 2104 2106 # normscale=1 and gscale=1 are defaults 2105 #SendCmd "glyphs normscale 1 $tag" 2106 #SendCmd "glyphs gscale 1 $tag" 2107 2107 if {$style(-normscale) != 1} { 2108 SendCmd "glyphs normscale $style(-normscale) $tag" 2109 } 2110 if {$style(-gscale) != 1} { 2111 SendCmd "glyphs gscale $style(-gscale) $tag" 2112 } 2108 2113 SendCmd "outline add $tag" 2109 2114 SendCmd "outline color [Color2RGB $itk_option(-plotforeground)] $tag" … … 2111 2116 set _settings(glyphOutline) $style(-outline) 2112 2117 set _settings(glyphEdges) $style(-edges) 2113 #SendCmd "glyphs color [Color2RGB $settings(-color)] $tag" 2118 # constant color only used if colormode set to constant 2119 SendCmd "glyphs color [Color2RGB $itk_option(-plotforeground)] $tag" 2114 2120 # Omitting field name for gorient and smode commands 2115 2121 # defaults to active scalars or vectors depending on mode
Note: See TracChangeset
for help on using the changeset viewer.