Changeset 4714 for branches/1.3


Ignore:
Timestamp:
Nov 13, 2014, 5:32:53 AM (5 years ago)
Author:
ldelgass
Message:

sync

Location:
branches/1.3/gui/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3/gui/scripts/vtkglyphviewer.tcl

    r4708 r4714  
    14331433            SendCmd "glyphs opacity $sval"
    14341434        }
     1435        "-glyphscale" {
     1436            set val $_settings($what)
     1437            if { [string is double $val] } {
     1438                SendCmd "glyphs gscale $val"
     1439            }
     1440        }
    14351441        "-field" {
    14361442            set label [$itk_component(field) value]
  • branches/1.3/gui/scripts/vtkisosurfaceviewer.tcl

    r4706 r4714  
    102102    private method Rotate {option x y}
    103103    private method SetCurrentColormap { color }
     104    private method SetCurrentFieldName { dataobj }
    104105    private method SetLegendTip { x y }
    105     private method SetObjectStyle { dataobj comp }
    106     private method SetCurrentFieldName { dataobj }
     106    private method SetObjectStyle { dataobj comp }
    107107    private method SetOrientation { side }
    108     private method Slice {option args} 
     108    private method Slice {option args}
    109109    private method Zoom {option}
    110110    private method ViewToQuaternion {} {
     
    16831683        -showvalue off \
    16841684        -command [itcl::code $this AdjustSetting -isosurfaceopacity]
    1685     set _widget(-isosurfaceopacity) \
    1686         [expr $_settings(-isosurfaceopacity) * 100.0]
     1685    $inner.opacity set [expr $_settings(-isosurfaceopacity) * 100.0]
    16871686
    16881687    itk_component add field_l {
     
    19061905        -showvalue off \
    19071906        -command [itcl::code $this AdjustSetting -cutplaneopacity]
    1908     set _widget(-cutplaneopacity) [expr $_settings(-cutplaneopacity) * 100.0]
     1907    $inner.opacity set [expr $_settings(-cutplaneopacity) * 100.0]
    19091908
    19101909    # X-value slicer...
Note: See TracChangeset for help on using the changeset viewer.