28#ifndef UTIL3D_TRANSFORMS_H_
29#define UTIL3D_TRANSFORMS_H_
31#include <rtabmap/core/rtabmap_core_export.h>
33#include <pcl/point_cloud.h>
34#include <pcl/point_types.h>
35#include <pcl/pcl_base.h>
36#include <rtabmap/core/Transform.h>
37#include <rtabmap/core/LaserScan.h>
94 const pcl::PointCloud<pcl::PointXYZ>::Ptr & cloud,
98 const pcl::PointCloud<pcl::PointXYZI>::Ptr & cloud,
102 const pcl::PointCloud<pcl::PointXYZRGB>::Ptr & cloud,
106 const pcl::PointCloud<pcl::PointNormal>::Ptr & cloud,
110 const pcl::PointCloud<pcl::PointXYZRGBNormal>::Ptr & cloud,
114 const pcl::PointCloud<pcl::PointXYZINormal>::Ptr & cloud,
119 const pcl::PointCloud<pcl::PointXYZ>::Ptr & cloud,
120 const pcl::IndicesPtr & indices,
124 const pcl::PointCloud<pcl::PointXYZI>::Ptr & cloud,
125 const pcl::IndicesPtr & indices,
129 const pcl::PointCloud<pcl::PointXYZRGB>::Ptr & cloud,
130 const pcl::IndicesPtr & indices,
134 const pcl::PointCloud<pcl::PointNormal>::Ptr & cloud,
135 const pcl::IndicesPtr & indices,
139 const pcl::PointCloud<pcl::PointXYZRGBNormal>::Ptr & cloud,
140 const pcl::IndicesPtr & indices,
144 const pcl::PointCloud<pcl::PointXYZINormal>::Ptr & cloud,
145 const pcl::IndicesPtr & indices,
162 const cv::Point3f & pt,
166 const cv::Point3d & pt,
170 const pcl::PointXYZ & pt,
174 const pcl::PointXYZI & pt,
178 const pcl::PointXYZRGB & pt,
182 const pcl::PointNormal & point,
186 const pcl::PointXYZRGBNormal & point,
190 const pcl::PointXYZINormal & point,
Represents 2D or 3D laser scan data with support for multiple point data formats.
LaserScan RTABMAP_CORE_EXPORT transformLaserScan(const LaserScan &laserScan, const Transform &transform)
Applies a 3D transform to all points (and normals if present) in a LaserScan.