Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
2 つの質問があります。
Eigen::Affine3f と Eigen::Matrix4f で表される剛体変換は同じですか?
Eigen::Affine3f から Eigen::Matrix4f に、またはその逆に変換するにはどうすればよいでしょうか?
ご協力いただきありがとうございます!
はい、内部的に Affine3f は MatrixXf を格納するため、次のことができます。
Eigen::Affine3f A; Eigen::Matrix4f M; M = A.matrix(); A = M; // assume that M.row(3) == [0 0 0 1]