eigen.cpp
Go to the documentation of this file.
1#include "eigen.h"
2
4{
5 void
6 fromAron(const AronPosef& dto, Eigen::Affine3f& bo)
7 {
8 bo.matrix() = dto;
9 }
10
11 void
12 toAron(AronPosef& dto, const Eigen::Affine3f& bo)
13 {
14 dto = bo.matrix();
15 }
16
17 void
18 fromAron(const AronPosef& dto, Eigen::Isometry3f& bo)
19 {
20 bo.matrix() = dto;
21 }
22
23 void
24 toAron(AronPosef& dto, const Eigen::Isometry3f& bo)
25 {
26 dto = bo.matrix();
27 }
28
29 void
30 fromAron(const AronPosef& dto, Eigen::Isometry3d& bo)
31 {
32 bo.matrix() = dto.cast<double>();
33 }
34
35 void
36 toAron(AronPosef& dto, const Eigen::Isometry3d& bo)
37 {
38 dto = bo.matrix().cast<float>();
39 }
40
41
42} // namespace armarx::aron::eigen
void toAron(AronPosef &dto, const Eigen::Affine3f &bo)
Definition eigen.cpp:12
Eigen::Matrix< float, 4, 4, Eigen::RowMajor > AronPosef
Definition eigen.h:10
void fromAron(const AronPosef &dto, Eigen::Affine3f &bo)
Definition eigen.cpp:6