[vtkusers] vtkRenderWindowInteractor.Start() most of time does not open a Window
François Rongère
Francois.Rongere at ec-nantes.fr
Fri Jul 8 09:55:24 EDT 2016
Hi,
I managed to build a convenience python class to show some meshes. The
problem I have is that when the vtkWindowInteractor.Start() method is
called, most of the time nothing happen and sometime I get the wanted
window. I tried calling the vtkWindowInteractor.Initialize() method and
it seems that this is the real culprit... The really strage thing is
that sometimes it is successful...
In the case where it fails, I get no error message but the code seem to
enter in the event loop as the command line is not released with no mean
to take the hand back with a CTRL-C as the event loop does not support
it, so it freezes my terminal. A try/except block catches no error too...
I have no clue of what is happening and how to start debugging.
I attached an example of this with example data file.
I am running python 2.7 with vtk 6.3.0 on a Debian Jessie workstation.
Any help appreciated,
Best regards,
François.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mesh.vtp
Type: text/xml
Size: 6401 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160708/731f77fd/attachment.xml>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MMviewer.py
Type: text/x-python
Size: 7902 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160708/731f77fd/attachment.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_MMviewer.py
Type: text/x-python
Size: 389 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160708/731f77fd/attachment-0001.py>
More information about the vtkusers
mailing list