SCM

Discussion Forums: help

Monitor Forum | Start New Thread Start New Thread

 

RE: Rotation angles retrieved on a frame's transform are wrong. Do we fix it? [ reply ]
By: Nicolas SAUBAT on 2016-01-06 14:35
[forum:3452]
Hi,

We modified the InterfaceFrame to add three new methods: rotateVTK, setTransformRotationVTK, setTransformTranslationVTK to use the VTK order of the rotation, i.e. Z, X, Y compared to the one used in non VTK-suffixed methods (X, Y, Z).

This allows to keep both consideration and avoid high side effect on any CEP using those methods.

We would stand to one rotation order in the 4.0 version of CamiTK.

Nicolas.

Rotation angles retrieved on a frame's transform are wrong. Do we fix it? [ reply ]
By: Nicolas SAUBAT on 2015-12-08 16:51
[forum:3405]
Dear CamiTK developers,

We (the CamiTK team) identified an issue on how VTK retrieves the angles from a rotation matrice. Those are correct if the rotation matrice is built in a specific order, which is not the case for the frames in CamiTK. For more details, please read the bug report[1].

We are already proposing a patch to fix this on the frame management in CamiTK. But ... any CEP using frame with CamiTK might be impacted by those changes, especially regarding the 3D position of components.

If you think this is an important fix that we propagate to the 3.5 branch, please feel free to tell us so.
On the other hand, if you think this would have an enormous impact on your project and would prefer to keep working with this unfixed version of CamiTK regarding this bug, please tell us so. We would propagate those changes on the 4.0 version of CamiTK then.

Thank you,
Nicolas.

[1] https://bugzilla-timc.imag.fr/show_bug.cgi?id=167

   
Powered By FusionForge