[vtkusers] vtkRenderer.AddActor

David Cole dlrdave at aol.com
Fri Jul 12 09:53:20 EDT 2013


VTK is not easily usable from multiple threads. So, in general, you should restrict access to VTK objects to a single thread in your app, or use mutexes to guarantee that only one thread at a time has access to VTK objects. And, if you have to pick a thread to restrict the access to, use the same one that’s doing all the GUI stuff -- VTK rendering has to run in the GUI thread anyhow.


HTH,

David C.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130712/c27b2bed/attachment.htm>


More information about the vtkusers mailing list