<div dir="ltr">You can combine the rotation+translation operation to achieve the desired results.<div><br></div><div>As an alternative you can define a 3x3 rotation matrix to handle these issues. Some references here : <a href="http://planning.cs.uiuc.edu/node102.html">http://planning.cs.uiuc.edu/node102.html</a> and this one contains much more details (<a href="http://web.cs.iastate.edu/~cs577/handouts/rotation.pdf">http://web.cs.iastate.edu/~cs577/handouts/rotation.pdf</a>). </div><div>Once you choose your reference frame right, you will be implemented things the way you want to :)</div><div><br></div><div>Hope that helps</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks and regards,</div><div style="font-size:12.8px">Chiranjib</div></div></div></div>
<br><div class="gmail_quote">On Wed, Nov 8, 2017 at 12:06 AM, Met@ll <span dir="ltr"><<a href="mailto:simakov.w@gmail.com" target="_blank">simakov.w@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Andrew Maclean-3, thanks for the help.<br>
But I still do not understand how to get right rotation ...<br>
The fact is that after you rotate along one axis, the other axes also shift<br>
and a wrong turn occurs.<br>
Below is an example from Wikipedia, in VTK also?<br>
<<a href="http://vtk.1045678.n5.nabble.com/file/t342088/Euler2a.gif" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/file/t342088/Euler2a.gif</a>><br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/VTK-Users-f1224199.html</a><br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div></div>