Changeset 2472 for trunk/gui/scripts/vtkviewer.tcl
- Timestamp:
- Sep 4, 2011, 2:56:59 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/vtkviewer.tcl
r2469 r2472 75 75 protected method ReceiveDataset { args } 76 76 protected method ReceiveImage { args } 77 protected method ReceiveLegend { args}77 protected method ReceiveLegend { colormap title vmin vmax size } 78 78 protected method Rotate {option x y} 79 79 protected method SendCmd {string} … … 1748 1748 1749 1749 # ---------------------------------------------------------------------- 1750 # USAGE: ReceiveLegend <colormap> < size>>1750 # USAGE: ReceiveLegend <colormap> <title> <vmin> <vmax> <size> 1751 1751 # 1752 1752 # Invoked automatically whenever the "legend" command comes in from … … 1754 1754 # specified <size> will follow. 1755 1755 # ---------------------------------------------------------------------- 1756 itcl::body Rappture::VtkViewer::ReceiveLegend { colormap size } {1757 #puts stderr "ReceiveLegend colormap=$colormap size=$size"1756 itcl::body Rappture::VtkViewer::ReceiveLegend { colormap title vmin vmax size } { 1757 #puts stderr "ReceiveLegend colormap=$colormap title=$title range=$vmin,$vmax size=$size" 1758 1758 if { [IsConnected] } { 1759 1759 set bytes [ReceiveBytes $size]
Note: See TracChangeset
for help on using the changeset viewer.