IPython GUI setting for "plain" non-blocking vtkRenderWindow?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

IPython GUI setting for "plain" non-blocking vtkRenderWindow?

Sophonet
Hi list,

when using IPython and creating a vtkRenderWindow (and calling
.Render()), python always stops working on Windows. I know that there
are a number of %gui calls in IPython which enable collaboration with a
number of GUI even loops (Qt, wxWidgets...), but vtkRenderWindow does
neither uses Qt nor wxWidgets (but wgl or Win32+OpenGL I believe?)

What would be the trick for a generic vtkRenderWindow? I would like to
use it as a reference for other people to interactively play with VTK
without any dependencies. (By the way, I have tried the tkinter backend
as well for user interfaces, since there is a "%gui tk" for IPython, but
this seems to be unmaintained, is that correct?)

Thanks,

       Sophonet

_______________________________________________
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:
http://public.kitware.com/mailman/listinfo/vtkusers