[vtkusers] Vtk renders another windows apart from the qvtkwidget

Frable zemitis.janis at inbox.lv
Sat Aug 25 05:10:00 EDT 2012

Just as Clint said the problem is your interactor. 
With QVTKWidget.h you already have included the right interactor you should
use. As far as I recall you could make it work with the normal interactor,
but you want Qt to be in charge of the interaction loops.

This is the correct interactor:

Just replace vtkRenderWindowInteractor with qvtkinteractor in your code and
you should be all set. 

View this message in context: http://vtk.1045678.n5.nabble.com/Vtk-renders-another-windows-apart-from-the-qvtkwidget-tp5715535p5715552.html
Sent from the VTK - Users mailing list archive at Nabble.com.

More information about the vtkusers mailing list