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
30namespace firevision {
31
32class SharedMemoryImageBuffer;
33
34void convert_buffer_to_pcl(const SharedMemoryImageBuffer * buffer,
36
37void convert_buffer_to_pcl(const SharedMemoryImageBuffer * buffer,
39
40} // end namespace firevision
41#else // not HAVE_PCL
42# error PCL not available, guard your include with HAVE_PCL
43#endif
44#endif