[vtkusers] Exit vtkRenderWindowInteractor

Larcher Aurélie aurelie.larcher at imag.fr
Fri Jan 30 05:11:41 EST 2009


Hi all,

How can I force the exit of the interactor vtkRenderWindowInteractor.

I know that if I press the ‘e’ key or the ‘q’ key, the interactor closes.

But I would like to use a Qt push button and not the keyboard.

I try    interactor->SetKeyCode('e');

But it doesn’t work.

Is anybody know how to do ?

Thanks,

Aurélie

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090130/689193da/attachment.htm>


More information about the vtkusers mailing list