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
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040 #ifndef PCL_ROS_CONVERSIONS_H_
00041 #define PCL_ROS_CONVERSIONS_H_
00042
00043 #ifdef __DEPRECATED
00044 #warning The <pcl/ros/conversions.h> header is deprecated. please use \
00045 <pcl/conversions.h> instead.
00046 #endif
00047
00048 #include <pcl/conversions.h>
00049
00050 namespace pcl
00051 {
00065 PCL_DEPRECATED (template <typename PointT> void fromROSMsg (
00066 const pcl::PCLPointCloud2& msg, pcl::PointCloud<PointT>& cloud,
00067 const MsgFieldMap& field_map),
00068 "pcl::fromROSMsg is deprecated, please use fromPCLPointCloud2 instead.");
00069
00070 template <typename PointT> void
00071 fromROSMsg (const pcl::PCLPointCloud2& msg, pcl::PointCloud<PointT>& cloud,
00072 const MsgFieldMap& field_map)
00073 {
00074 fromPCLPointCloud2 (msg, cloud, field_map);
00075 }
00076
00081 PCL_DEPRECATED (template<typename PointT> void fromROSMsg (
00082 const pcl::PCLPointCloud2& msg, pcl::PointCloud<PointT>& cloud),
00083 "pcl::fromROSMsg is deprecated, please use fromPCLPointCloud2 instead.");
00084 template<typename PointT> void
00085 fromROSMsg (const pcl::PCLPointCloud2& msg, pcl::PointCloud<PointT>& cloud)
00086 {
00087 fromPCLPointCloud2 (msg, cloud);
00088 }
00089
00094 PCL_DEPRECATED (template<typename PointT> void toROSMsg (
00095 const pcl::PointCloud<PointT>& cloud, pcl::PCLPointCloud2& msg),
00096 "pcl::fromROSMsg is deprecated, please use fromPCLPointCloud2 instead.");
00097 template<typename PointT> void
00098 toROSMsg (const pcl::PointCloud<PointT>& cloud, pcl::PCLPointCloud2& msg)
00099 {
00100 toPCLPointCloud2 (cloud, msg);
00101 }
00102
00109 PCL_DEPRECATED (template<typename CloudT> void toROSMsg (
00110 const CloudT& cloud, pcl::PCLImage& msg),
00111 "pcl::fromROSMsg is deprecated, please use fromPCLPointCloud2 instead.");
00112 template<typename CloudT> void
00113 toROSMsg (const CloudT& cloud, pcl::PCLImage& msg)
00114 {
00115 toPCLPointCloud2 (cloud, msg);
00116 }
00117
00123 PCL_DEPRECATED (inline void toROSMsg (
00124 const pcl::PCLPointCloud2& cloud, pcl::PCLImage& msg),
00125 "pcl::fromROSMsg is deprecated, please use fromPCLPointCloud2 instead.");
00126 inline void
00127 toROSMsg (const pcl::PCLPointCloud2& cloud, pcl::PCLImage& msg)
00128 {
00129 toPCLPointCloud2 (cloud, msg);
00130 }
00131 }
00132
00133 #endif //#ifndef PCL_ROS_CONVERSIONS_H_