Debian Codegraph @

plugins/core/Standard/qPCL/PclUtils/utils/PCLConv.h

raw symbols SCIP
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_CONVERSIONS_H
19 #define PCL_CONVERSIONS_H
20
21 //PCL V1.6 or older
22 #ifdef PCL_VER_1_6_OR_OLDER
23
24 #include <pcl/ros/conversions.h>
25 #define FROM_PCL_CLOUD pcl::fromROSMsg
26 #define TO_PCL_CLOUD pcl::toROSMsg
27
28 #else //Version 1.7 or newer
29
30 #include <pcl/conversions.h>
31 #define FROM_PCL_CLOUD pcl::fromPCLPointCloud2
32 #define TO_PCL_CLOUD pcl::toPCLPointCloud2
33
34 #endif
35
36 #endif // PCL_CONVERSIONS_H