Bernard Leclerc (bleclerc++at++cae.ca)
Thu, 31 Oct 1996 09:14:33 -0500
> This may sound stupid but how are channels associated with windows?
> I'm looking at multiwin.C in /usr/share/Performer/src/pguide/libpr/C++
> and I don't see an explicit association between each pfPipeWindow and
> pfChannel. I can see the implicit association based on the order in
> which they are created but somehow that doesn't seem right. What am I
> missing???
By default, a pfChannel is associated with the first pfPipeWindow opened
on the pfPipe. If you create more than one pfPipeWindow's, you can control
the association of channel/pipewindow through
pfPipeWindow::addChan()
pfPipeWindow::insertChan()
pfPipeWindow::moveChan()
pfPipeWindow::removeChan()
Remember that a pfChannel is associated with a pfPipe for as long as the
object exist. A pfChannel is also rendered through only one pfPipeWindow
at a time. When you move the channel to a different pipewindow, it's
automatically removed from its previous pipewindow.
Refer to the programming guide, section 4 on using pipes, pipewindows and
channels.
--
Bernard Leclerc CAE Electronics Ltd., 8585 Cote De Liesse
Technical Leader Saint-Laurent, Quebec, Canada, H4L-4X4
3-D Graphics Applications tel: +1 514 341 2000 extension 2275
bleclerc++at++cae.ca fax: +1 514 340 5496
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:50 PDT