keyboard events

Elizabeth Bullitt bullitt at med.unc.edu
Sun Mar 5 17:36:01 EST 2000


Thanks--your suggestion might very well work.

However, after getting last night's email responses, I decided to look at
FLTK again before putting more effort into pursuing a VTK solution, and
found a way to do it that seems to work fine. So, problem gone.

Thanks.
Liz


"Sathya Krishnamurthy (CSCS)" wrote:

> 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.
> --------------------------------------------------------------------

--------------------------------------------------------------------
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