Changeset 5244 for branches/1.4/gui/scripts
- Timestamp:
- Apr 15, 2015, 3:46:47 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.4/gui/scripts/vtkvolumeviewer.tcl
r5238 r5244 106 106 private method ReceiveLegend { colormap title vmin vmax size } 107 107 private method RequestLegend {} 108 private method Rotate {option x y} 108 109 private method SetColormap { dataobj comp } 109 private method Rotate {option x y}110 110 private method SetLegendTip { x y } 111 111 private method SetObjectStyle { dataobj comp } … … 1640 1640 1641 1641 itcl::body Rappture::VtkVolumeViewer::BuildViewTab {} { 1642 set f g[option get $itk_component(hull) font Font]1643 #set bf g[option get $itk_component(hull) boldFont Font]1642 set font [option get $itk_component(hull) font Font] 1643 #set bfont [option get $itk_component(hull) boldFont Font] 1644 1644 1645 1645 set inner [$itk_component(main) insert end \ … … 1721 1721 ::scale $inner.material -from 0 -to 100 -orient horizontal \ 1722 1722 -variable [itcl::scope _settings(-volumematerial)] \ 1723 -showvalue off -command [itcl::code $this AdjustSetting -volumematerial] 1723 -showvalue off \ 1724 -command [itcl::code $this AdjustSetting -volumematerial] 1724 1725 label $inner.bright_l -text "Bright" -font $font 1725 1726 … … 1753 1754 1754 1755 blt::table $inner \ 1755 0,0 $inner.field_l -anchor w -pady 2 1756 0,0 $inner.field_l -anchor w -pady 2 \ 1756 1757 0,1 $inner.field -fill x -pady 2 -cspan 3 \ 1757 1758 1,0 $inner.visibility -anchor w -pady 2 -cspan 4 \ … … 1764 1765 6,0 $inner.quality_l -anchor w -pady 2 -cspan 4 \ 1765 1766 7,0 $inner.quality -fill x -pady 2 -cspan 4 \ 1766 8,0 $inner.colormap_l -anchor w -pady 2 1767 8,1 $inner.colormap -fill x -pady 2 -cspan 3 \1767 8,0 $inner.colormap_l -anchor w -pady 2 \ 1768 8,1 $inner.colormap -fill x -pady 2 -cspan 3 1768 1769 1769 1770 blt::table configure $inner r* c0 c1 c3 -resize none … … 2322 2323 } 2323 2324 2324 2325 2325 # ---------------------------------------------------------------------- 2326 2326 # USAGE: Slice move x|y|z <newval>
Note: See TracChangeset
for help on using the changeset viewer.