Changeset 4699


Ignore:
Timestamp:
Nov 11, 2014, 4:50:16 PM (5 years ago)
Author:
ldelgass
Message:

remove unused limits methods

Location:
trunk/gui/scripts
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/mapviewer.tcl

    r4646 r4699  
    6060    public method get {args}
    6161    public method isconnected {}
    62     public method limits { colormap }
    6362    public method parameters {title args} {
    6463        # do nothing
     
    15401539        #SendCmd "color background $r $g $b"
    15411540    }
    1542 }
    1543 
    1544 itcl::body Rappture::MapViewer::limits { dataobj } {
    1545     error "no limits"
    15461541}
    15471542
  • trunk/gui/scripts/vtkglyphviewer.tcl

    r4684 r4699  
    5757    public method get {args}
    5858    public method isconnected {}
    59     public method limits { colormap }
    6059    public method parameters {title args} {
    6160        # do nothing
     
    15901589}
    15911590
    1592 itcl::body Rappture::VtkGlyphViewer::limits { dataobj } {
    1593     foreach { limits(xmin) limits(xmax) } [$dataobj limits x] break
    1594     foreach { limits(ymin) limits(ymax) } [$dataobj limits y] break
    1595     foreach { limits(zmin) limits(zmax) } [$dataobj limits z] break
    1596     foreach { limits(vmin) limits(vmax) } [$dataobj limits v] break
    1597     return [array get limits]
    1598 }
    1599 
    16001591itcl::body Rappture::VtkGlyphViewer::BuildGlyphTab {} {
    16011592
  • trunk/gui/scripts/vtkheightmapviewer.tcl

    r4685 r4699  
    5858    public method get {args}
    5959    public method isconnected {}
    60     public method limits3 { dataobj }
    6160    public method parameters {title args} {
    6261        # do nothing
     
    18351834        }
    18361835    }
    1837 }
    1838 
    1839 itcl::body Rappture::VtkHeightmapViewer::limits3 { dataobj } {
    1840     lappend limits x [$dataobj limits x]
    1841     lappend limits y [$dataobj limits y]
    1842     if { [catch { $dataobj limits $_curFldName } vlim] != 0 } {
    1843         set vlim [$dataobj limits v]
    1844     }
    1845     lappend limits v $vlim
    1846     return $limits
    18471836}
    18481837
  • trunk/gui/scripts/vtkimageviewer.tcl

    r4687 r4699  
    5858    public method get {args}
    5959    public method isconnected {}
    60     public method limits3 { dataobj }
    6160    public method parameters {title args} {
    6261        # do nothing
     
    16281627        }
    16291628    }
    1630 }
    1631 
    1632 itcl::body Rappture::VtkImageViewer::limits3 { dataobj } {
    1633     lappend limits x [$dataobj limits x]
    1634     lappend limits y [$dataobj limits y]
    1635     if { [catch { $dataobj limits $_curFldName } vlim] != 0 } {
    1636         set vlim [$dataobj limits v]
    1637     }
    1638     lappend limits v $vlim
    1639     return $limits
    16401629}
    16411630
  • trunk/gui/scripts/vtkisosurfaceviewer.tcl

    r4688 r4699  
    5757    public method get {args}
    5858    public method isconnected {}
    59     public method limits { colormap }
    6059    public method parameters {title args} {
    6160        # do nothing
     
    16351634}
    16361635
    1637 itcl::body Rappture::VtkIsosurfaceViewer::limits { dataobj } {
    1638     foreach { limits(xmin) limits(xmax) } [$dataobj limits x] break
    1639     foreach { limits(ymin) limits(ymax) } [$dataobj limits y] break
    1640     foreach { limits(zmin) limits(zmax) } [$dataobj limits z] break
    1641     foreach { limits(vmin) limits(vmax) } [$dataobj limits v] break
    1642     return [array get limits]
    1643 }
    1644 
    16451636itcl::body Rappture::VtkIsosurfaceViewer::BuildIsosurfaceTab {} {
    16461637
  • trunk/gui/scripts/vtksurfaceviewer.tcl

    r4682 r4699  
    5757    public method get {args}
    5858    public method isconnected {}
    59     public method limits { colormap }
    6059    public method parameters {title args} {
    6160        # do nothing
     
    15001499        SendCmd "outline color $rgb"
    15011500    }
    1502 }
    1503 
    1504 itcl::body Rappture::VtkSurfaceViewer::limits { dataobj } {
    1505     foreach { limits(xmin) limits(xmax) } [$dataobj limits x] break
    1506     foreach { limits(ymin) limits(ymax) } [$dataobj limits y] break
    1507     foreach { limits(zmin) limits(zmax) } [$dataobj limits z] break
    1508     foreach { limits(vmin) limits(vmax) } [$dataobj limits v] break
    1509     return [array get limits]
    15101501}
    15111502
  • trunk/gui/scripts/vtkviewer.tcl

    r4690 r4699  
    5757    public method get {args}
    5858    public method isconnected {}
    59     public method limits { colormap }
     59    public method limits { dataobj }
    6060    public method parameters {title args} {
    6161        # do nothing
     
    27032703                -bondstyle "cylinder"
    27042704                -bondsvisible 1
     2705                -color "elementDefault"
    27052706                -edgecolor black
    27062707                -edges 0
Note: See TracChangeset for help on using the changeset viewer.