mrs_lib
Various reusable classes, functions and utilities for use in MRS projects
conversions_opencv.h
1 #ifndef GEOMETRY_CONVERSIONS_OPENCV_H
2 #define GEOMETRY_CONVERSIONS_OPENCV_H
3 
4 #include <geometry_msgs/PoseStamped.h>
5 #include <geometry_msgs/Vector3.h>
6 
7 #include <opencv2/core/types.hpp>
8 
9 namespace mrs_lib
10 {
11  namespace geometry
12  {
13 
14  /* conversions from/to OpenCV //{ */
15 
16  geometry_msgs::Point fromCV(const cv::Point3d& what);
17 
18  cv::Point3d toCV(const geometry_msgs::Point& what);
19 
20  cv::Point3d toCV(const geometry_msgs::Vector3& what);
21 
22  //}
23 
24  }
25 }
26 
27 #endif // GEOMETRY_CONVERSIONS_OPENCV_H
mrs_lib
All mrs_lib functions, classes, variables and definitions are contained in this namespace.
Definition: attitude_converter.h:29