Changeset 3429 for trunk/gui/scripts
- Timestamp:
- Mar 3, 2013, 6:27:16 PM (12 years ago)
- Location:
- trunk/gui/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/field.tcl
r3428 r3429 91 91 public method blob {{cname -overall}} 92 92 public method limits {axis} 93 public method limits2{}93 public method fieldlimits {} 94 94 public method controls {option args} 95 95 public method hints {{key ""}} … … 487 487 488 488 # ---------------------------------------------------------------------- 489 # USAGE: limits2489 # USAGE: fieldlimits 490 490 # 491 491 # Returns a list {min max} representing the limits for the specified 492 492 # axis. 493 493 # ---------------------------------------------------------------------- 494 itcl::body Rappture::Field:: limits2{} {494 itcl::body Rappture::Field::fieldlimits {} { 495 495 foreach cname [array names _comp2limits] { 496 496 array set limits $_comp2limits($cname) -
trunk/gui/scripts/vtkheightmapviewer.tcl
r3428 r3429 598 598 } 599 599 600 # ----------------------------------------------------------------------601 # USAGE: scale ?<data1> <data2> ...?602 # 603 # Sets the default limits for the overall plot according to the604 # limits of the data for all of the given <data> objects. This605 # accounts for all objects--even those not showing on the screen.606 # Because of this, the limits are appropriate for all objects as607 # 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 # 609 609 itcl::body Rappture::VtkHeightmapViewer::scale {args} { 610 610 foreach dataobj $args { … … 625 625 set _limits($axis) [list $amin $amax] 626 626 } 627 foreach { fname lim } [$dataobj limits2] {627 foreach { fname lim } [$dataobj fieldlimits] { 628 628 if { ![info exists _limits($fname)] } { 629 629 set _limits($fname) $lim
Note: See TracChangeset
for help on using the changeset viewer.