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

Transformation from local axes

Tags: None
(comma "," separated)
eudoxos
Registered Member
Posts
36
Karma
0

Transformation from local axes

Wed Sep 12, 2012 12:13 pm
Hi everybody,

is there a quick way to get transformation T from local coordinates given by O',x',y',z'? Something like Eigen::Transformation::fromLocalCoords(x',y',x'.cross(y'),O')? Something shorter to write than creating local rotation matrix by columns and adding translation?

Thanks!
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: Transformation from local axes

Wed Sep 12, 2012 2:12 pm
t.linear() << x, y, x.cross(y);
t.translation() = O;


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]