2015-12-09 20 views

risposta

6

Eigen::Affine3f è un typedef di Eigen::Transform<float, 3, Eigen::Affine>. In base allo reference, il tipo ha una funzione membro MatrixType & matrix() che fornisce l'interfaccia matrice.

Eigen::Matrix4f a; 
Eigen::Affine3f b; 
b.matrix() = a; 
6

operator= farà:

Matrix4f M; 
Affine3f F; 
F = M;