[vtkusers] one thread for reading, one thread for rendering
Sam Raby
rabysam28 at gmail.com
Mon May 21 12:05:06 EDT 2018
Thanks Jay. The issue with using timer is that reading of each of my frames
takes 200 milliseconds which freezes the screen. While I do not mind to
give the reader 200 milliseconds to read the frame, I want to still be able
to interact with the scene during the reading time. That is why I am
looking for an example that shows how to read data in one thread and render
it in another thread.
Thanks
On Monday, May 21, 2018, Jay <jayavardhanravi at outlook.com> wrote:
> I think this example can help you, using vtkcommand this can be achieved
>
> https://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/Animation
>
>
>
> --
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180521/7e3503aa/attachment.html>
More information about the vtkusers
mailing list