<div dir="ltr">Sorry about the typo. I did use <span class="" style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">vtkInteractorStyleTrackballCamera.</span></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Jul 19, 2013 at 6:12 PM, Chao Liang <span dir="ltr">&lt;<a href="mailto:chaolian@mtu.edu" target="_blank">chaolian@mtu.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Hi, </div><div> </div><div>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. </div>

<div> </div><div>What I want now is only rotating about one specific axis, say, x, y, z, respectively. I don&#39;t have an idea to do this since I don&#39;t know which class I need to use/subclass.</div><div> </div><div>
Do you know which class have such functionality? Any comment will be welcome and I very appreciate your help. Thanks.</div><span class="HOEnZb"><font color="#888888">
<div> </div><div>Chao</div></font></span></div>
</blockquote></div><br></div>