[vtkusers] how to thread a rendering

Jesús Spí­nola jspinola at gmail.com
Fri Sep 22 12:14:15 EDT 2006


Hi,

I'm developing a MPR ( multi-planar reconstruction ) with MIP (Maximum
intensity projection).

First I have three rendering windows ( in 2D with vtkImageViewer2 ) to edit
the plane from which I do the reslicing for the MPR.
When the user has selected the reslice he wants he pushes a button to see
the MIP of that reslice, so I open a new rendering window next to the other
windows. When I request the MIP it takes some seconds and the whole
application "freezes" until it has rendered the image.

So I would like to avoid that "freezing" in order that the user could do
other things while he is waiting for the MIP result, like interact with the
other 2D images, for example.

What's the best way to make a thread for the MIP rendering? Does VTK provide
any mechanism to do that?

Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060922/99b4a4c5/attachment.htm>


More information about the vtkusers mailing list