Fawkes API
Fawkes Development Version
pcl.h
1
2
/***************************************************************************
3
* pcl.h - Convert PCL buffer to PointCloud structure
4
*
5
* Created: Wed Nov 02 19:11:47 2011
6
* Copyright 2011 Tim Niemueller [www.niemueller.de]
7
****************************************************************************/
8
9
/* This program is free software; you can redistribute it and/or modify
10
* it under the terms of the GNU General Public License as published by
11
* the Free Software Foundation; either version 2 of the License, or
12
* (at your option) any later version. A runtime exception applies to
13
* this software (see LICENSE.GPL_WRE file mentioned below for details).
14
*
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU Library General Public License for more details.
19
*
20
* Read the full text in the LICENSE.GPL_WRE file in the doc directory.
21
*/
22
23
#ifndef __FIREVISION_UTILS_ADAPTERS_PCL_H
24
#define __FIREVISION_UTILS_ADAPTERS_PCL_H
25
26
#ifdef HAVE_PCL
27
# include <pcl/point_cloud.h>
28
# include <pcl/point_types.h>
29
30
namespace
firevision
{
31
#if 0
/* just to make Emacs auto-indent happy */
32
}
33
#endif
34
35
class
SharedMemoryImageBuffer;
36
37
void
convert_buffer_to_pcl(
const
SharedMemoryImageBuffer *buffer,
38
pcl::PointCloud<pcl::PointXYZ>
&
pcl
);
39
40
void
convert_buffer_to_pcl(
const
SharedMemoryImageBuffer *buffer,
41
pcl::PointCloud<pcl::PointXYZRGB>
&
pcl
);
42
43
}
// end namespace firevision
44
#else // not HAVE_PCL
45
# error PCL not available, guard your include with HAVE_PCL
46
#endif
47
#endif
pcl
Definition:
pointcloud.h:30
pcl::PointCloud< pcl::PointXYZ >
firevision
Definition:
vision_master.h:32
src
libs
fvutils
adapters
pcl.h
Generated by
1.8.13