[vtkusers] ​ Rotate the vector along the X, Y, Z axes.

Chiranjib Sur sur.chiranjib at gmail.com
Wed Nov 8 14:03:57 EST 2017


You can combine the rotation+translation operation to achieve the desired
results.

As an alternative you can define a 3x3 rotation matrix to handle these
issues. Some references here : http://planning.cs.uiuc.edu/node102.html and
this one contains much more details (
http://web.cs.iastate.edu/~cs577/handouts/rotation.pdf).
Once you choose your reference frame right, you will be implemented things
the way you want to :)

Hope that helps


Thanks and regards,
Chiranjib

On Wed, Nov 8, 2017 at 12:06 AM, Met at ll <simakov.w at gmail.com> wrote:

> Andrew Maclean-3, thanks for the help.
> But I still do not understand how to get right rotation ...
> The fact is that after you rotate along one axis, the other axes also shift
> and a wrong turn occurs.
> Below is an example from Wikipedia, in VTK also?
> <http://vtk.1045678.n5.nabble.com/file/t342088/Euler2a.gif>
>
>
>
> --
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20171109/c401dcaf/attachment.html>


More information about the vtkusers mailing list