[vtkusers] how to split the renderwindow into subwindows?

Michael Scarpa m.scarpa at uva.nl
Fri Dec 15 04:24:06 EST 2006


On 14 Dec, 2006, at 16:09, Ashish Singh wrote:

> Thanks Michael. Infact, I am trying to use KWWidgets and/or Qt for  
> this. Do you know how to do it using either KWWidgets or Qt?

I'm sorry, but I have no experience with either.  I personally used  
Tkinter in the past and have recently moved to wxPython.

> In the interim, I am going to check the vtkRenderer class for the  
> viewport settings.
> But I am wondering, even if I have multiple renderers in just one  
> renderwindow, would interacting with any one of the images not  
> affect the others?

The interactor takes care of dealing with the interaction.  The  
interactor is bound to the render window, not to the renderers, and  
when interaction occurs, the interactor determines (through the  
render window, if I'm not mistaken), which renderer is actually being  
interacted with (I believe that in VTK lingo that's referred to as  
the "poked" renderer).  So the short answer is no, there shouldn't be  
any interference.

With kind regards,

Michael






More information about the vtkusers mailing list