keyboard events

Sathya Krishnamurthy (CSCS) skrishna at cscs.ch
Sun Mar 5 08:40:40 EST 2000


Elizabeth Bullitt wrote:
> 
> Hi--
> Actually, I've already looked at the vtk source (although maybe not in
> the right places).


Hi Liz

I think If you write a small overload of the OnChar function like this
it might work


void MyFunction::OnChar ...

{

do all your keypress.. things..

finally to add the vtk Interaction...

vtkInteractorStyle::OnChar...

}

Any suggestions from others.. ?

cheers
~sathya


-- 
------------------------------------------------------------------
Sathya Krishnamurthy
Research Scientist  , CSCS
Galleria 2 , Via Cantonale
CH - 6928 , Manno Switzerland
Ph: 41-91-6108260
------------------------------------------------------------------
Disclaimer: The views, opinions and information contained in this
personal page do not necessarily reflect the opinions or policies of
CSCS-ETHZ, nor does publication of this
information imply an endorsement by CSCS.
--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list