<div dir="ltr">Hi Lonni,<div><br></div><div>Unfortunately, this is the sort of puzzle that I would not want to attempt</div><div>to solve without having an actual device and code to test.</div><div><br></div><div> - David</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 16, 2016 at 8:55 AM, Lonni Besançon <span dir="ltr"><<a href="mailto:lonni.besancon@gmail.com" target="_blank">lonni.besancon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi David,<br>
<br>
Thanks for your interest.<br>
I actually figured it out a few hours ago, but I'm still stuck there.<br>
<br>
Indeed, I can get the rotation that I want to perform in the form that<br>
RotateWXYZ takes (angle in degrees, axis).<br>
However, when I perform the rotation that way, using the values I have, I<br>
have the problem that my dataset is not rotating according to the rotation I<br>
perform on tablet i.e:<br>
When I start, my dataset is aligned with the tablet, rotating around the<br>
x-axis performs a x-axis rotation of the dataset and so on for other axis.<br>
However, when I rotate first around an other axis and then perform a x-axis<br>
rotation of the tablet, the dataset gets rotated along an other axis (which<br>
is none of the tablet's axis). This led me to think that the order in which<br>
the rotation were performed was not good, so I tried again changing Post to<br>
Pre multiply but it did not change anything.<br>
<br>
Not sure my explanations are really clear here. Hope you understand.<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Relative-Rotation-with-VTK-Transform-tp5736566p5736588.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/Relative-Rotation-with-VTK-Transform-tp5736566p5736588.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<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/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_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=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/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>