Changeset 6359
- Timestamp:
- May 23, 2016, 6:00:40 PM (8 years ago)
- Location:
- trunk/gui/scripts
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/vtkglyphviewer.tcl
r6338 r6359 151 151 private variable _rotatePending 0 152 152 private variable _cutplanePending 0 153 private variable _colorMode "vmag"; # Mode of colormap (vmag or scalar)154 153 private variable _fields 155 154 private variable _curFldName "" 156 155 private variable _curFldLabel "" 157 156 private variable _curFldComp 3 157 private variable _colorMode "vmag"; # Mode of colormap (vmag or scalar) 158 158 private variable _mouseOver ""; # what called LegendRangeAction: 159 159 # vmin or vmax -
trunk/gui/scripts/vtkheightmapviewer.tcl
r6355 r6359 262 262 263 263 itk_component add fieldmenu { 264 menu $itk_component(plotarea).menu \ 265 -relief flat \ 266 -tearoff 0 264 menu $itk_component(plotarea).menu -relief flat -tearoff 0 267 265 } { 268 266 usual … … 293 291 } 294 292 pack $itk_component(reset) -side top -padx 2 -pady { 2 0 } 295 Rappture::Tooltip::for $itk_component(reset) "Reset the view to the default zoom level" 293 Rappture::Tooltip::for $itk_component(reset) \ 294 "Reset the view to the default zoom level" 296 295 297 296 itk_component add zoomin { … … 924 923 # Reset the camera and other view parameters 925 924 # 926 InitSettings -isheightmap -background 925 InitSettings -isheightmap -background \ 926 -xgrid -ygrid -zgrid -axismode \ 927 -axesvisible -axislabels -axisminorticks 927 928 928 929 # Setting a custom exponent and label format for axes is causing … … 937 938 #SendCmd "axis exp 0 0 0 1" 938 939 940 SendCmd "axis tickpos outside" 939 941 SendCmd "axis lrot z 90" 940 942 $_arcball quaternion [ViewToQuaternion] … … 1006 1008 InitSettings -stretchtofit -outline 1007 1009 if { $_reset } { 1008 SendCmd "axis tickpos outside"1009 #SendCmd "axis lformat all %g"1010 1011 1010 foreach axis { x y z } { 1012 1011 set label "" … … 1065 1064 } 1066 1065 PanCamera 1067 InitSettings -xgrid -ygrid -zgrid \ 1068 -axesvisible -axislabels -heightmapscale -field -isheightmap \ 1069 -numisolines 1066 InitSettings -heightmapscale -field -isheightmap -numisolines 1070 1067 if { [array size _fields] < 2 } { 1071 1068 catch {blt::table forget $itk_component(field) $itk_component(field_l)} -
trunk/gui/scripts/vtkimageviewer.tcl
r6357 r6359 244 244 245 245 itk_component add fieldmenu { 246 menu $itk_component(plotarea).menu \ 247 -relief flat \ 248 -tearoff 0 246 menu $itk_component(plotarea).menu -relief flat -tearoff 0 249 247 } { 250 248 usual … … 275 273 } 276 274 pack $itk_component(reset) -side top -padx 2 -pady { 2 0 } 277 Rappture::Tooltip::for $itk_component(reset) "Reset the view to the default zoom level" 275 Rappture::Tooltip::for $itk_component(reset) \ 276 "Reset the view to the default zoom level" 278 277 279 278 itk_component add zoomin { … … 908 907 # Reset the camera and other view parameters 909 908 # 910 InitSettings -view3d -background 911 909 InitSettings -view3d -background \ 910 -xgrid -ygrid -zgrid -axismode \ 911 -axesvisible -axislabels -axisminorticks 912 913 SendCmd "axis tickpos outside" 912 914 SendCmd "axis lrot z 90" 913 915 $_arcball quaternion [ViewToQuaternion] … … 973 975 InitSettings -stretchtofit -outline 974 976 if { $_reset } { 975 SendCmd "axis tickpos outside"976 #SendCmd "axis lformat all %g"977 978 977 foreach axis { x y z } { 979 978 set label "" … … 1016 1015 } 1017 1016 PanCamera 1018 InitSettings -xgrid -ygrid -zgrid \ 1019 -axesvisible -axislabels -field -view3d 1017 InitSettings -field -view3d 1020 1018 if { [array size _fields] < 2 } { 1021 1019 catch {blt::table forget $itk_component(field) $itk_component(field_l)} -
trunk/gui/scripts/vtkisosurfaceviewer.tcl
r6338 r6359 160 160 private variable _rotatePending 0 161 161 private variable _cutplanePending 0 162 private variable _colorMode "scalar"; # Mode of colormap (vmag or scalar)163 162 private variable _fields 164 163 private variable _curFldName "" 165 164 private variable _curFldLabel "" 165 private variable _colorMode "scalar"; # Mode of colormap (vmag or scalar) 166 166 private variable _mouseOver ""; # what called LegendRangeAction: 167 167 # vmin or vmax -
trunk/gui/scripts/vtkstreamlinesviewer.tcl
r6355 r6359 146 146 private variable _curFldName "" 147 147 private variable _curFldLabel "" 148 private variable _colorMode "vmag"; # Mode of colormap (vmag or scalar) 148 149 private variable _streamlinesLength 0 149 150 private variable _numSeeds 200 150 private variable _colorMode "vmag"; # Mode of colormap (vmag or scalar)151 151 152 152 private common _downloadPopup; # download options from popup … … 301 301 } 302 302 pack $itk_component(reset) -side top -padx 2 -pady 2 303 Rappture::Tooltip::for $itk_component(reset) "Reset the view to the default zoom level" 303 Rappture::Tooltip::for $itk_component(reset) \ 304 "Reset the view to the default zoom level" 304 305 305 306 itk_component add zoomin { -
trunk/gui/scripts/vtksurfaceviewer.tcl
r6344 r6359 139 139 private variable _legendPending 0 140 140 private variable _rotatePending 0 141 private variable _colorMode "scalar"; # Mode of colormap (vmag or scalar)142 141 private variable _fields 143 142 private variable _curFldName "" 144 143 private variable _curFldLabel "" 144 private variable _colorMode "scalar"; # Mode of colormap (vmag or scalar) 145 145 146 146 private common _downloadPopup; # download options from popup
Note: See TracChangeset
for help on using the changeset viewer.