Q: vtkMultiThreader crash
Lisa Sobierajski Avila
lisa.avila at kitware.com
Fri Jul 2 15:31:00 EDT 1999
Hi Audrius,
>
>1. In the event loop, do I just repeatedly call aWindow->Render() for each
> graphics pipeline?
No - you would write an event loop for X or Windows (I don't remember if
you mentioned with you are using). For example, if you look at the code for
XtAppMainLoop() in Xt you would need to do something like that - pull
events off the queue and process them in a loop.
>2. Having intialized the interactor, can I use the default interaction
>commands to rotate, zoom, pick, etc.? The impression I get from your
>e-mail comment
> "(other than interaction)" is that I can't. I need to interact with the
> actors in the windows esp. rotate and pick.
If you write an event handling loop as mentioned above all registered
events would be processed - so you would be able to interact as always in
each of the render windows.
>3. If I can interact with the window, do I have to implement the
>appropriate
> interactor callbacks (assuming #2 is wrong)?
>
You only have to implement any specialized ones that you would want. All
the standard ones would work (rotate, translate, zoom, pick, etc).
Lisa
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list