[vtkusers] Adding KeyPressEvent "r" in GUI

John Durkin jrd5084 at psu.edu
Mon Nov 9 13:17:40 EST 2009


Dear vtkusers and developers,


I am trying to implement the "reset view" action that occurs when typing "r"
in the vtk window.  I am using a GUI made with QT and I want this to happen
after hitting a button.  Is there some way I can manually invoke a
keypressevent?  Or this there some function that can do this resetting of
the view?

Thanks,


John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091109/70a27471/attachment.htm>


More information about the vtkusers mailing list