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 <rtabmap/core/Transform.h>
00036 
00037 namespace rtabmap
00038 {
00039 
00040 namespace util3d
00041 {
00042 
00043 pcl::PointCloud<pcl::PointXYZ>::Ptr RTABMAP_EXP transformPointCloud(
00044                 const pcl::PointCloud<pcl::PointXYZ>::Ptr & cloud,
00045                 const Transform & transform);
00046 pcl::PointCloud<pcl::PointXYZRGB>::Ptr RTABMAP_EXP transformPointCloud(
00047                 const pcl::PointCloud<pcl::PointXYZRGB>::Ptr & cloud,
00048                 const Transform & transform);
00049 pcl::PointCloud<pcl::PointNormal>::Ptr RTABMAP_EXP transformPointCloud(
00050                 const pcl::PointCloud<pcl::PointNormal>::Ptr & cloud,
00051                 const Transform & transform);
00052 pcl::PointCloud<pcl::PointXYZRGBNormal>::Ptr RTABMAP_EXP transformPointCloud(
00053                 const pcl::PointCloud<pcl::PointXYZRGBNormal>::Ptr & cloud,
00054                 const Transform & transform);
00055 
00056 cv::Point3f RTABMAP_EXP transformPoint(
00057                 const cv::Point3f & pt,
00058                 const Transform & transform);
00059 pcl::PointXYZ RTABMAP_EXP transformPoint(
00060                 const pcl::PointXYZ & pt,
00061                 const Transform & transform);
00062 pcl::PointXYZRGB RTABMAP_EXP transformPoint(
00063                 const pcl::PointXYZRGB & pt,
00064                 const Transform & transform);
00065 pcl::PointNormal RTABMAP_EXP transformPoint(
00066                 const pcl::PointNormal & point,
00067                 const Transform & transform);
00068 
00069 } // namespace util3d
00070 } // namespace rtabmap
00071 
00072 #endif /* UTIL3D_TRANSFORMS_H_ */


rtabmap
Author(s): Mathieu Labbe
autogenerated on Sat Jul 23 2016 11:44:28