[vtkusers] User interaction while rendering.

Andrew Maclean andrew.amaclean at gmail.com
Wed Aug 8 01:33:52 EDT 2007


I have a relatively complex scene which consists of a several large complex
objects and a vehicle moving over it.
Currently I have a data class that constructs the objects and creates
assemblies.
Then I have a viewer class that links adds the assemblies to the renderer.
Finally a display class (data and view are members of this class) that moves
the vehicle over the scene and renders it.

Is it possible to thread it so that the user can interact with the scene
while the vehicle is moving? My problem seems to be that I can't start
the render window interactor  until the vehicle has completed all its
movements. There is also the (VTK) constraint in that Render() can only be
called from the main thread (the one that created the vtkRenderWindow).
Has anyone a simple example?

-- 
___________________________________________
Andrew J. P. Maclean
Centre for Autonomous Systems
The Rose Street Building J04
The University of Sydney  2006  NSW
AUSTRALIA
Ph: +61 2 9351 3283
Fax: +61 2 9351 7474
URL: http://www.acfr.usyd.edu.au/
___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070808/ba673ed4/attachment.htm>


More information about the vtkusers mailing list