util3d_transforms.h
Go to the documentation of this file.
00001 /*
00002 Copyright (c) 2010-2016, Mathieu Labbe - IntRoLab - Universite de Sherbrooke
00003 All rights reserved.
00004 
00005 Redistribution and use in source and binary forms, with or without
00006 modification, are permitted provided that the following conditions are met:
00007     * Redistributions of source code must retain the above copyright
00008       notice, this list of conditions and the following disclaimer.
00009     * Redistributions in binary form must reproduce the above copyright
00010       notice, this list of conditions and the following disclaimer in the
00011       documentation and/or other materials provided with the distribution.
00012     * Neither the name of the Universite de Sherbrooke nor the
00013       names of its contributors may be used to endorse or promote products
00014       derived from this software without specific prior written permission.
00015 
00016 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
00017 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
00018 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00019 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
00020 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
00021 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00022 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
00023 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00024 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
00025 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
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 } // namespace util3d
00116 } // namespace rtabmap
00117 
00118 #endif /* UTIL3D_TRANSFORMS_H_ */


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 21:59:32