This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Extracting Euler angles from rotation matrix

Tags: None
(comma "," separated)
linello
Registered Member
Posts
56
Karma
0
OS
Hi guys,

I'm asking if is it possible to extract the Euler angles in a given order from a rotation matrix, Matrix3f.

The AngleAxis class only deals (correct me if I'm wrong) with the inverse problem, i.e. from 3 AngleAxis, create the rotation matrix, but not viceversa.

AngleAxis is able to extract an axis (the maximum eigenvalue eigenvector) of the given rotation matrix, but
Have someone an idea? If this can be implemented it should be very useful.

Thanks!
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
estes.adeline
Registered Member
Posts
1
Karma
0
unfortunately, i don't have any. :(
linello
Registered Member
Posts
56
Karma
0
OS
Thank you! This is very useful!
It works


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft