[vtkusers] Multi-threaded creation, display and deletion of actors

Dženan Zukić dzenanz at gmail.com
Wed Feb 20 17:18:27 EST 2013


I have a need to modify the scene from multiple threads.

Each thread looks like:
{
for (i=1 to 100)
create mesh_i;
convert it to vtkPolyData;
if exists actor delete it;
create actor with pd;
add actor to renderer;
update display;
}

How best to accomplish this? I already tried
this<http://www.vtk.org/pipermail/vtkusers/2004-April/073478.html>approach,
but it does not work. It always crashes before returning from
Render() method. Crashes are at random location in VTK rendering code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130220/769b90d3/attachment.htm>


More information about the vtkusers mailing list