[vtkusers] vtkImageViewer2 and QVTKWidget

Siavash Khallaghi siavashk at ece.ubc.ca
Thu Aug 27 19:25:47 EDT 2015


This seems to be a known issue for QVTKWidget and ImageViewer2. See the
following:

https://www.google.ca/search?q=QVTKInteractor+cannot+control+the+event+loop&ie=utf-8&oe=utf-8&gws_rd=cr&ei=BpvfVYq4NpLdoAS83YXwBQ#q=QVTKInteractor+cannot+control+the+event+loop+site:public.kitware.com

For the record, I am developing a Qt GUI with a QVTKWidget myself to display
2D images. I did not run into the same problem as you, but then again, I
wrote my interactor from scratch to solve some specific issues.

Can you try adding the following line and see if it works. This is
referenced in:

http://public.kitware.com/pipermail/vtkusers/2010-August/061832.html

qvtkWidget->ProcessEventsOn();

Siavash



--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkImageViewer2-and-QVTKWidget-tp5733647p5733653.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list