Changeset 3429 for trunk


Ignore:
Timestamp:
Mar 3, 2013 6:27:16 PM (11 years ago)
Author:
gah
Message:

fix for sequence of contours

Location:
trunk/gui/scripts
Files:
2 edited

Legend:

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

    r3428 r3429  
    9191    public method blob {{cname -overall}}
    9292    public method limits {axis}
    93     public method limits2 {}
     93    public method fieldlimits {}
    9494    public method controls {option args}
    9595    public method hints {{key ""}}
     
    487487
    488488# ----------------------------------------------------------------------
    489 # USAGE: limits2
     489# USAGE: fieldlimits
    490490#
    491491# Returns a list {min max} representing the limits for the specified
    492492# axis.
    493493# ----------------------------------------------------------------------
    494 itcl::body Rappture::Field::limits2 {} {
     494itcl::body Rappture::Field::fieldlimits {} {
    495495    foreach cname [array names _comp2limits] {
    496496        array set limits $_comp2limits($cname)
  • trunk/gui/scripts/vtkheightmapviewer.tcl

    r3428 r3429  
    598598}
    599599
    600 # ----------------------------------------------------------------------
    601 # USAGE: scale ?<data1> <data2> ...?
    602 #
    603 # Sets the default limits for the overall plot according to the
    604 # limits of the data for all of the given <data> objects.  This
    605 # accounts for all objects--even those not showing on the screen.
    606 # Because of this, the limits are appropriate for all objects as
    607 # the user scans through data in the ResultSet viewer.
    608 # ----------------------------------------------------------------------
     600#
     601# scale  --
     602#
     603#       This gets called either incrementally as new simulations are
     604#       added or all at once as a sequence of heightmaps.
     605#       This  accounts for all objects--even those not showing on the
     606#       screen.  Because of this, the limits are appropriate for all
     607#       objects as the user scans through data in the ResultSet viewer.
     608#
    609609itcl::body Rappture::VtkHeightmapViewer::scale {args} {
    610610    foreach dataobj $args {
     
    625625            set _limits($axis) [list $amin $amax]
    626626        }
    627         foreach { fname lim } [$dataobj limits2] {
     627        foreach { fname lim } [$dataobj fieldlimits] {
    628628            if { ![info exists _limits($fname)] } {
    629629                set _limits($fname) $lim
Note: See TracChangeset for help on using the changeset viewer.