[vtkusers] vtk render window in a Qt4 Application + QThreads

Alex Southern mrapsouthern at gmail.com
Fri Aug 27 06:27:20 EDT 2010


Hi Bill,

Just to say I'm interested in doing something like this as well in the 
near future, I wait in eager anticipation for a nudge in the right 
direction....

BR.
Alex.

On 27.8.2010 13:15, Bill Chivas wrote:
> Hi everyone,
>
> i have a Qt4 application and i use vtk to display a vtkpolydata.
> I start a new QThread in order to do some heavy computations and 
> within the thread i call a method of mainWindow which updates the data 
> and the vtk window.
> Of course it doesn't work because i access with no synchronization 
> shared data. I think i should use mutexes but unfortunately iam not 
> familiar.
> Can anyone help me in order to fix this problem?
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100827/bd81aa53/attachment.htm>


More information about the vtkusers mailing list