[vtkusers] VTK in a multi-threaded program
ianl
ilindsay at insigniamedical.co.uk
Mon Mar 24 12:46:27 EDT 2014
Hi Richard,
We have had some success in running VTK in its own single separate dedicated
thread. This thread does not need to be the application's main GUI thread,
so therefore does not cause GUI hangs. The thread performs an off screen
render, which we then copy to our GUI layer asynchronously. Obviously, there
is some work to marshall the data and settings between threads to do here,
but VTK seems perfectly happy running like this as long as all the creation,
destruction and rendering is performed by one thread.
Hope that helps.
Ian Lindsay
--
View this message in context: http://vtk.1045678.n5.nabble.com/VTK-in-a-multi-threaded-program-tp5726457p5726497.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list