[vtkusers] Interaction with the Actor
Kerry Loux
louxkr at gmail.com
Thu Jul 24 23:06:45 EDT 2008
That's what I was looking for, thanks! But what if I did want to change
that? Do I need to modify the interactor style code?
On Thu, Jul 24, 2008 at 10:04 PM, Karthik Krishnan <
karthik.krishnan at kitware.com> wrote:
> Look at the interactor styles.. vtkInteractorStyleTrackballCamera should do
> that for you.. You can switch to this style programmatically or
> interactively (hit 't' on your render window).
>
> Kerry Loux wrote:
>
>> Hello all,
>>
>> I'm sure there's an easy way to do this, but I haven't been able to figure
>> it out: I would like the user to be able to rotate the object on the screen
>> by clicking and dragging - similar to most CAD software. In other words I
>> would like the mouse clicks to control orientation rather than velocity of
>> the object. Is there some virtual function that I can overload? Do I need
>> to edit code that is buried in VTK somewhere? I'm using VTK with wxWidgets
>> through a wxVTKRenderWindowInteractor. MSW, wxWidgets 2.8.7, VTK 5.0.4.<
>> http://5.0.4.>
>>
>> Thanks for your help!
>>
>> -Kerry
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> This is the private VTK discussion list.
>> Please keep messages on-topic. Check the FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>>
>
> --
> Karthik Krishnan
> R & D Engineer,
> Kitware Inc,
> Ph: 518 371 3971 x119
> Fax: 518 371 3971
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080724/49f88fbc/attachment.htm>
More information about the vtkusers
mailing list