- Timestamp:
- Mar 4, 2015, 12:37:57 PM (10 years ago)
- Location:
- trunk/gui/scripts
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/visviewer.tcl
r5005 r5068 99 99 protected method SendBytes { bytes } 100 100 protected method SendCmd {string} 101 protected method SendCmdNoWait {string}102 101 protected method SendEcho { channel {data ""} } 103 102 protected method StartBufferingCommands {} … … 1201 1200 } 1202 1201 } 1203 1204 #1205 # SendCmdNoWait1206 #1207 # Send commands off to the rendering server. If we're currently1208 # sending data objects to the server, buffer the commands to be1209 # sent later.1210 #1211 itcl::body Rappture::VisViewer::SendCmdNoWait {string} {1212 incr _cmdSeq1213 if {$_trace} {1214 puts stderr "$_cmdSeq>>[string range $string 0 70]"1215 }1216 if { $_buffering } {1217 append _outbuf $string "\n"1218 } else {1219 SendBytes "$string\n"1220 }1221 } -
trunk/gui/scripts/vtkglyphviewer.tcl
r4767 r5068 1562 1562 if { $_currentColormap != "" } { 1563 1563 set cmap $_currentColormap 1564 SendCmd NoWait"legend $cmap $_colorMode $_curFldName {} $w $h 0"1564 SendCmd "legend $cmap $_colorMode $_curFldName {} $w $h 0" 1565 1565 } 1566 1566 } -
trunk/gui/scripts/vtkisosurfaceviewer.tcl
r5054 r5068 1663 1663 if { $_currentColormap != "" } { 1664 1664 set cmap $_currentColormap 1665 SendCmd NoWait"legend $cmap scalar $_curFldName {} $w $h 0"1665 SendCmd "legend $cmap scalar $_curFldName {} $w $h 0" 1666 1666 } 1667 1667 } -
trunk/gui/scripts/vtkstreamlinesviewer.tcl
r5006 r5068 1238 1238 itcl::body Rappture::VtkStreamlinesViewer::Pick {x y} { 1239 1239 foreach tag [CurrentDatasets -visible] { 1240 SendCmd NoWait"dataset getscalar pixel $x $y $tag"1240 SendCmd "dataset getscalar pixel $x $y $tag" 1241 1241 } 1242 1242 } … … 1522 1522 foreach {dataobj comp} [split $dataset -] break 1523 1523 if { [info exists _dataset2style($dataset)] } { 1524 SendCmd NoWait\1524 SendCmd \ 1525 1525 "legend $_dataset2style($dataset) $_colorMode $_curFldName {} $w $h 0" 1526 1526 break; -
trunk/gui/scripts/vtksurfaceviewer.tcl
r5006 r5068 1475 1475 if { $_currentColormap != "" } { 1476 1476 set cmap $_currentColormap 1477 SendCmd NoWait"legend $cmap scalar $_curFldName {} $w $h 0"1477 SendCmd "legend $cmap scalar $_curFldName {} $w $h 0" 1478 1478 } 1479 1479 } -
trunk/gui/scripts/vtkvolumeviewer.tcl
r5024 r5068 1640 1640 foreach {dataobj comp} [split $dataset -] break 1641 1641 if { [info exists _dataset2style($dataset)] } { 1642 SendCmd NoWait\1642 SendCmd \ 1643 1643 "legend2 $_dataset2style($dataset) $w $h" 1644 1644 #"legend $_dataset2style($dataset) $_colorMode $_curFldName {} $w $h 0"
Note: See TracChangeset
for help on using the changeset viewer.