40 #ifndef PCL_ROS_CONVERSIONS_H_
41 #define PCL_ROS_CONVERSIONS_H_
44 #warning The <pcl/ros/conversions.h> header is deprecated. please use \
45 <pcl/conversions.h> instead.
48 #include <pcl/conversions.h>
65 template <
typename Po
intT>
66 PCL_DEPRECATED (
"pcl::fromROSMsg is deprecated, please use fromPCLPointCloud2 instead.")
78 template<
typename Po
intT>
79 PCL_DEPRECATED (
"pcl::fromROSMsg is deprecated, please use fromPCLPointCloud2 instead.")
90 template<
typename Po
intT>
91 PCL_DEPRECATED (
"pcl::toROSMsg is deprecated, please use toPCLPointCloud2 instead.")
104 template<
typename CloudT>
105 PCL_DEPRECATED (
"pcl::toROSMsg is deprecated, please use toPCLPointCloud2 instead.")
118 PCL_DEPRECATED (
"pcl::toROSMsg is deprecated, please use toPCLPointCloud2 instead.")
125 #endif //#ifndef PCL_ROS_CONVERSIONS_H_
void fromROSMsg(const pcl::PCLPointCloud2 &msg, pcl::PointCloud< PointT > &cloud, const MsgFieldMap &field_map)
Convert a PCLPointCloud2 binary data blob into a pcl::PointCloud<T> object using a field_map...
void fromPCLPointCloud2(const pcl::PCLPointCloud2 &msg, pcl::PointCloud< PointT > &cloud, const MsgFieldMap &field_map)
Convert a PCLPointCloud2 binary data blob into a pcl::PointCloud<T> object using a field_map...
PointCloud represents the base class in PCL for storing collections of 3D points. ...
void toPCLPointCloud2(const pcl::PointCloud< PointT > &cloud, pcl::PCLPointCloud2 &msg)
Convert a pcl::PointCloud<T> object to a PCLPointCloud2 binary data blob.
void toROSMsg(const pcl::PointCloud< PointT > &cloud, pcl::PCLPointCloud2 &msg)
Convert a pcl::PointCloud<T> object to a PCLPointCloud2 binary data blob.
A point structure representing Euclidean xyz coordinates, and the RGB color.
std::vector< detail::FieldMapping > MsgFieldMap