<div dir="ltr">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?<br><br><div class="gmail_quote">On Thu, Jul 24, 2008 at 10:04 PM, Karthik Krishnan <<a href="mailto:karthik.krishnan@kitware.com">karthik.krishnan@kitware.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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).<br>
<br>
Kerry Loux wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello all,<br>
<br>
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 <a href="http://5.0.4." target="_blank">5.0.4.</a> <<a href="http://5.0.4" target="_blank">http://5.0.4</a>.><div class="Ih2E3d">
<br>
<br>
Thanks for your help!<br>
<br>
-Kerry<br></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
</blockquote>
<br>
-- <br>
Karthik Krishnan<br>
R & D Engineer,<br>
Kitware Inc,<br>
Ph: 518 371 3971 x119<br>
Fax: 518 371 3971<br>
<br>
</blockquote></div><br></div>