[vtkusers] 答复: Rotation about a specific axis
hongsongyang
hongsongyang at 163.com
Fri Jul 19 21:22:58 EDT 2013
You could use vtkInteractorStyleTrackballCamera
_____
发件人: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] 代表 Chao
Liang
发送时间: Saturday, July 20, 2013 9:13 AM
收件人: vtkusers at vtk.org
主题: [vtkusers] Rotation about a specific axis
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/20130720/3df1d290/attachment.htm>
More information about the vtkusers
mailing list