Changeset 4706 for branches/1.3/gui/scripts
- Timestamp:
- Nov 12, 2014, 5:37:49 PM (10 years ago)
- Location:
- branches/1.3
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3
-
branches/1.3/gui/scripts/mapviewer.tcl
r4512 r4706 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 … … 1389 1388 #SendCmd "color background $r $g $b" 1390 1389 } 1391 }1392 1393 itcl::body Rappture::MapViewer::limits { dataobj } {1394 error "no limits"1395 1390 } 1396 1391 -
branches/1.3/gui/scripts/vtkglyphviewer.tcl
r4676 r4706 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 … … 1536 1535 } 1537 1536 1538 itcl::body Rappture::VtkGlyphViewer::limits { dataobj } {1539 foreach { limits(xmin) limits(xmax) } [$dataobj limits x] break1540 foreach { limits(ymin) limits(ymax) } [$dataobj limits y] break1541 foreach { limits(zmin) limits(zmax) } [$dataobj limits z] break1542 foreach { limits(vmin) limits(vmax) } [$dataobj limits v] break1543 return [array get limits]1544 }1545 1546 1537 itcl::body Rappture::VtkGlyphViewer::BuildGlyphTab {} { 1547 1538 -
branches/1.3/gui/scripts/vtkheightmapviewer.tcl
r4676 r4706 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 … … 1832 1831 } 1833 1832 } 1834 }1835 1836 itcl::body Rappture::VtkHeightmapViewer::limits3 { dataobj } {1837 lappend limits x [$dataobj limits x]1838 lappend limits y [$dataobj limits y]1839 if { [catch { $dataobj limits $_curFldName } vlim] != 0 } {1840 set vlim [$dataobj limits v]1841 }1842 lappend limits v $vlim1843 return $limits1844 1833 } 1845 1834 -
branches/1.3/gui/scripts/vtkimageviewer.tcl
r4694 r4706 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 -
branches/1.3/gui/scripts/vtkisosurfaceviewer.tcl
r4705 r4706 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 … … 1599 1598 } 1600 1599 1601 itcl::body Rappture::VtkIsosurfaceViewer::limits { dataobj } {1602 foreach { limits(xmin) limits(xmax) } [$dataobj limits x] break1603 foreach { limits(ymin) limits(ymax) } [$dataobj limits y] break1604 foreach { limits(zmin) limits(zmax) } [$dataobj limits z] break1605 foreach { limits(vmin) limits(vmax) } [$dataobj limits v] break1606 return [array get limits]1607 }1608 1609 1600 itcl::body Rappture::VtkIsosurfaceViewer::BuildIsosurfaceTab {} { 1610 1601 -
branches/1.3/gui/scripts/vtksurfaceviewer.tcl
r4683 r4706 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 -
branches/1.3/gui/scripts/vtkviewer.tcl
r4696 r4706 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.