[vtkusers] vtkRenderWindowInteractor::GetKeyCode()

Andrew Dolgert ajd27 at cornell.edu
Mon May 31 10:48:25 EDT 2004


Hi Matt,

May I suggest an alternate method?  Override OnKeyPress() and OnKeyRelease()
instead of checking the key code during mouse downs.  The key code would
definitely be set correctly during those methods.  You could set a variable
this->IsRotating and check it during the method for mouse downs.

Drew




More information about the vtkusers mailing list