| 1 | //########################################################################## |
| 2 | //# # |
| 3 | //# CLOUDCOMPARE PLUGIN: qPCL # |
| 4 | //# # |
| 5 | //# This program is free software; you can redistribute it and/or modify # |
| 6 | //# it under the terms of the GNU General Public License as published by # |
| 7 | //# the Free Software Foundation; version 2 or later of the License. # |
| 8 | //# # |
| 9 | //# This program is distributed in the hope that it will be useful, # |
| 10 | //# but WITHOUT ANY WARRANTY; without even the implied warranty of # |
| 11 | //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # |
| 12 | //# GNU General Public License for more details. # |
| 13 | //# # |
| 14 | //# COPYRIGHT: Luca Penasa # |
| 15 | //# # |
| 16 | //########################################################################## |
| 17 | // |
| 18 | #ifndef PCL_CLOUD_H |
| 19 | #define PCL_CLOUD_H |
| 20 | |
| 21 | //PCL V1.6 or older |
| 22 | #ifdef PCL_VER_1_6_OR_OLDER |
| 23 | |
| 24 | #include <sensor_msgs/PointCloud2.h> |
| 25 | typedef sensor_msgs::PointCloud2 PCLCloud; |
| 26 | |
| 27 | #else //Version 1.7 or newer |
| 28 | |
| 29 | #include <pcl/PCLPointCloud2.h> |
| 30 | typedef pcl::PCLPointCloud2 PCLCloud; |
| 31 | |
| 32 | #endif |
| 33 | |
| 34 | #endif // PCL_CLOUD_H |