Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef UTIL3D_TRANSFORMS_H_
00029 #define UTIL3D_TRANSFORMS_H_
00030
00031 #include <rtabmap/core/RtabmapExp.h>
00032
00033 #include <pcl/point_cloud.h>
00034 #include <pcl/point_types.h>
00035 #include <pcl/pcl_base.h>
00036 #include <rtabmap/core/Transform.h>
00037 #include <rtabmap/core/LaserScan.h>
00038
00039 namespace rtabmap
00040 {
00041
00042 namespace util3d
00043 {
00044
00045 LaserScan RTABMAP_EXP transformLaserScan(
00046 const LaserScan & laserScan,
00047 const Transform & transform);
00048
00049 pcl::PointCloud<pcl::PointXYZ>::Ptr RTABMAP_EXP transformPointCloud(
00050 const pcl::PointCloud<pcl::PointXYZ>::Ptr & cloud,
00051 const Transform & transform);
00052 pcl::PointCloud<pcl::PointXYZI>::Ptr RTABMAP_EXP transformPointCloud(
00053 const pcl::PointCloud<pcl::PointXYZI>::Ptr & cloud,
00054 const Transform & transform);
00055 pcl::PointCloud<pcl::PointXYZRGB>::Ptr RTABMAP_EXP transformPointCloud(
00056 const pcl::PointCloud<pcl::PointXYZRGB>::Ptr & cloud,
00057 const Transform & transform);
00058 pcl::PointCloud<pcl::PointNormal>::Ptr RTABMAP_EXP transformPointCloud(
00059 const pcl::PointCloud<pcl::PointNormal>::Ptr & cloud,
00060 const Transform & transform);
00061 pcl::PointCloud<pcl::PointXYZRGBNormal>::Ptr RTABMAP_EXP transformPointCloud(
00062 const pcl::PointCloud<pcl::PointXYZRGBNormal>::Ptr & cloud,
00063 const Transform & transform);
00064 pcl::PointCloud<pcl::PointXYZINormal>::Ptr RTABMAP_EXP transformPointCloud(
00065 const pcl::PointCloud<pcl::PointXYZINormal>::Ptr & cloud,
00066 const Transform & transform);
00067
00068 pcl::PointCloud<pcl::PointXYZ>::Ptr RTABMAP_EXP transformPointCloud(
00069 const pcl::PointCloud<pcl::PointXYZ>::Ptr & cloud,
00070 const pcl::IndicesPtr & indices,
00071 const Transform & transform);
00072 pcl::PointCloud<pcl::PointXYZI>::Ptr RTABMAP_EXP transformPointCloud(
00073 const pcl::PointCloud<pcl::PointXYZI>::Ptr & cloud,
00074 const pcl::IndicesPtr & indices,
00075 const Transform & transform);
00076 pcl::PointCloud<pcl::PointXYZRGB>::Ptr RTABMAP_EXP transformPointCloud(
00077 const pcl::PointCloud<pcl::PointXYZRGB>::Ptr & cloud,
00078 const pcl::IndicesPtr & indices,
00079 const Transform & transform);
00080 pcl::PointCloud<pcl::PointNormal>::Ptr RTABMAP_EXP transformPointCloud(
00081 const pcl::PointCloud<pcl::PointNormal>::Ptr & cloud,
00082 const pcl::IndicesPtr & indices,
00083 const Transform & transform);
00084 pcl::PointCloud<pcl::PointXYZRGBNormal>::Ptr RTABMAP_EXP transformPointCloud(
00085 const pcl::PointCloud<pcl::PointXYZRGBNormal>::Ptr & cloud,
00086 const pcl::IndicesPtr & indices,
00087 const Transform & transform);
00088 pcl::PointCloud<pcl::PointXYZINormal>::Ptr RTABMAP_EXP transformPointCloud(
00089 const pcl::PointCloud<pcl::PointXYZINormal>::Ptr & cloud,
00090 const pcl::IndicesPtr & indices,
00091 const Transform & transform);
00092
00093 cv::Point3f RTABMAP_EXP transformPoint(
00094 const cv::Point3f & pt,
00095 const Transform & transform);
00096 pcl::PointXYZ RTABMAP_EXP transformPoint(
00097 const pcl::PointXYZ & pt,
00098 const Transform & transform);
00099 pcl::PointXYZI RTABMAP_EXP transformPoint(
00100 const pcl::PointXYZI & pt,
00101 const Transform & transform);
00102 pcl::PointXYZRGB RTABMAP_EXP transformPoint(
00103 const pcl::PointXYZRGB & pt,
00104 const Transform & transform);
00105 pcl::PointNormal RTABMAP_EXP transformPoint(
00106 const pcl::PointNormal & point,
00107 const Transform & transform);
00108 pcl::PointXYZRGBNormal RTABMAP_EXP transformPoint(
00109 const pcl::PointXYZRGBNormal & point,
00110 const Transform & transform);
00111 pcl::PointXYZINormal RTABMAP_EXP transformPoint(
00112 const pcl::PointXYZINormal & point,
00113 const Transform & transform);
00114
00115 }
00116 }
00117
00118 #endif