- Timestamp:
- Nov 11, 2014, 1:50:16 PM (10 years ago)
- Location:
- trunk/gui/scripts
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/mapviewer.tcl
r4646 r4699 60 60 public method get {args} 61 61 public method isconnected {} 62 public method limits { colormap }63 62 public method parameters {title args} { 64 63 # do nothing … … 1540 1539 #SendCmd "color background $r $g $b" 1541 1540 } 1542 }1543 1544 itcl::body Rappture::MapViewer::limits { dataobj } {1545 error "no limits"1546 1541 } 1547 1542 -
trunk/gui/scripts/vtkglyphviewer.tcl
r4684 r4699 57 57 public method get {args} 58 58 public method isconnected {} 59 public method limits { colormap }60 59 public method parameters {title args} { 61 60 # do nothing … … 1590 1589 } 1591 1590 1592 itcl::body Rappture::VtkGlyphViewer::limits { dataobj } {1593 foreach { limits(xmin) limits(xmax) } [$dataobj limits x] break1594 foreach { limits(ymin) limits(ymax) } [$dataobj limits y] break1595 foreach { limits(zmin) limits(zmax) } [$dataobj limits z] break1596 foreach { limits(vmin) limits(vmax) } [$dataobj limits v] break1597 return [array get limits]1598 }1599 1600 1591 itcl::body Rappture::VtkGlyphViewer::BuildGlyphTab {} { 1601 1592 -
trunk/gui/scripts/vtkheightmapviewer.tcl
r4685 r4699 58 58 public method get {args} 59 59 public method isconnected {} 60 public method limits3 { dataobj }61 60 public method parameters {title args} { 62 61 # do nothing … … 1835 1834 } 1836 1835 } 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 $vlim1846 return $limits1847 1836 } 1848 1837 -
trunk/gui/scripts/vtkimageviewer.tcl
r4687 r4699 58 58 public method get {args} 59 59 public method isconnected {} 60 public method limits3 { dataobj }61 60 public method parameters {title args} { 62 61 # do nothing … … 1628 1627 } 1629 1628 } 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 $vlim1639 return $limits1640 1629 } 1641 1630 -
trunk/gui/scripts/vtkisosurfaceviewer.tcl
r4688 r4699 57 57 public method get {args} 58 58 public method isconnected {} 59 public method limits { colormap }60 59 public method parameters {title args} { 61 60 # do nothing … … 1635 1634 } 1636 1635 1637 itcl::body Rappture::VtkIsosurfaceViewer::limits { dataobj } {1638 foreach { limits(xmin) limits(xmax) } [$dataobj limits x] break1639 foreach { limits(ymin) limits(ymax) } [$dataobj limits y] break1640 foreach { limits(zmin) limits(zmax) } [$dataobj limits z] break1641 foreach { limits(vmin) limits(vmax) } [$dataobj limits v] break1642 return [array get limits]1643 }1644 1645 1636 itcl::body Rappture::VtkIsosurfaceViewer::BuildIsosurfaceTab {} { 1646 1637 -
trunk/gui/scripts/vtksurfaceviewer.tcl
r4682 r4699 57 57 public method get {args} 58 58 public method isconnected {} 59 public method limits { colormap }60 59 public method parameters {title args} { 61 60 # do nothing … … 1500 1499 SendCmd "outline color $rgb" 1501 1500 } 1502 }1503 1504 itcl::body Rappture::VtkSurfaceViewer::limits { dataobj } {1505 foreach { limits(xmin) limits(xmax) } [$dataobj limits x] break1506 foreach { limits(ymin) limits(ymax) } [$dataobj limits y] break1507 foreach { limits(zmin) limits(zmax) } [$dataobj limits z] break1508 foreach { limits(vmin) limits(vmax) } [$dataobj limits v] break1509 return [array get limits]1510 1501 } 1511 1502 -
trunk/gui/scripts/vtkviewer.tcl
r4690 r4699 57 57 public method get {args} 58 58 public method isconnected {} 59 public method limits { colormap}59 public method limits { dataobj } 60 60 public method parameters {title args} { 61 61 # do nothing … … 2703 2703 -bondstyle "cylinder" 2704 2704 -bondsvisible 1 2705 -color "elementDefault" 2705 2706 -edgecolor black 2706 2707 -edges 0
Note: See TracChangeset
for help on using the changeset viewer.