[vtkusers] how to use keyboard buttons?

Gökhan ERSOY goksoy66 at gmail.com
Fri Aug 22 08:36:18 EDT 2008


do u have an example code for vtkInteractorStyleFlight? i can understand
better with a simple example.

bilgiler için sağol :)

Gökhan...

22 Ağustos 2008 Cuma 15:10 tarihinde Sercani <sercanimailgroups at gmail.com>yazdı:

>  Hi Gökhan;
>
> You can use vtkInteractorStyleFlight for moving an object on screen using
> keyboard...Your second question depends on selecting the actor to interact.
> If you want to select that actor by clicking on it you can use vtkPropPicker
> or vtkVisibleCellSelector and use actor->SetUserMatrix or
> actor->SetUserTransform().  If you wont choose the actor by clicking on it,
> you can set other actor's draggable value to off.
>
>
>
> Kolay gelsin :D
>
> Sercani...
>
>
>
> *From:* vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] *On
> Behalf Of *Gökhan ERSOY
> *Sent:* Friday, August 22, 2008 2:43 PM
> *To:* vtkusers at vtk.org
> *Subject:* [vtkusers] how to use keyboard buttons?
>
>
>
> Hello
>
> 1- i want to use keyboard buttons (direction buttons or other ones) to get
> move an object on the screen. how can i do this?
> 2- other question is how i can interact only one object (Actor) in the
> screen. i want an object to be moved anywhere as independent of others.
>
> thanks...
>
> Gökhan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080822/1881c9d0/attachment.htm>


More information about the vtkusers mailing list