1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
# sight::geometry::eigen
Contains functions to handle type conversion between `Eigen` types and `sight::data` types.
## Namespaces
- **helper**
`sight::geometry::eigen::helper` contains a set of utility functions:
- `Eigen` 4x4 matrices to `data::matrix4`.
- `Eigen` 4x4 matrix to `std::pair< Eigen::Vector3d, Eigen::Vector3d>`, a rotation-translation decomposition.
- `std::array` to `Eigen` 4x4 matrix.
- `std::array` to `std::pair< Eigen::Vector3d, Eigen::Vector3d>`.
- `data::matrix4::sptr` to `Eigen` 4x4 matrix.
## How to use it
### CMake
```cmake
target_link_libraries(my_target <PUBLIC|PRIVATE> geometry_eigen)
```
|