Registered Member
|
Hello,
Is there a way to get the rotation vector between 2 Vector3f? i.e. vector rotVec below computed out of the 2 input Vector3f v0 and v1: rotVec = v0 ^ v1 / |v0 ^ v1| * arccos(v0 * v1) If not, should I extend Eigen using EIGEN_MATRIXBASE_PLUGIN? Thanks! |
Moderator
|
Eigen does not support this representation of rotations because it is not usable (though it is compact). However, you can construct a Quaternion: http://eigen.tuxfamily.org/dox/classEig ... cadf821452
|
Registered Member
|
Thanks for this answer "to the point", very useful!
PS: I work in R&D for animation and reconstruction and I can assure you I use this rotation representation every day. But let's not get into this controversy |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]