[vtkusers] vtkImageViewer2 and QVTKWidget

Marcos fotosentido at gmail.com
Fri Aug 28 10:48:51 EDT 2015


Hi,

I've tried to include that line, but that method it's not available neither
in QVTKWidget nor QVTKWidget2 (vtk version 6.2.0).

I'm gonna keep with the easiest solution, keep the widget in MainWindow :)

Thanks again.

2015-08-28 1:25 GMT+02:00 Siavash Khallaghi <siavashk at ece.ubc.ca>:

> 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.
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150828/e80c1b5d/attachment.html>


More information about the vtkusers mailing list