[vtkusers] Rotation about a specific axis

Chao Liang chaolian at mtu.edu
Fri Jul 19 23:59:08 EDT 2013


Sorry about the typo. I did use vtkInteractorStyleTrackballCamera.


On Fri, Jul 19, 2013 at 6:12 PM, Chao Liang <chaolian at mtu.edu> wrote:

> Hi,
>
> I have subclassed vtkInteractorTrackballCamera class, and overloaded mouse
> event functions to get what I want. By default, when you rotate the object,
> you are free to rotate in any direction.
>
> What I want now is only rotating about one specific axis, say, x, y, z,
> respectively. I don't have an idea to do this since I don't know which
> class I need to use/subclass.
>
> Do you know which class have such functionality? Any comment will be
> welcome and I very appreciate your help. Thanks.
>
> Chao
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130719/c62cb526/attachment.htm>


More information about the vtkusers mailing list