Gavin
2021-02-04 4e5aaefc7162b700b95c750caeff35e6323631d3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once
 
 
/*
 * gpu_draw_cloud.h
 *
 *  Created on: Nov 25, 2016
 *      Author: lzp
 */
#ifndef INCLUDES_GPU_DRAW_CLOUD_H_
#define INCLUDES_GPU_DRAW_CLOUD_H_
 
 
#include <iostream>
#include <pcl/point_types.h>
#include <pcl/gpu/containers/device_array.h>
 
/*check if the compiler is of C++*/
#ifdef __cplusplus
 
/*
 * Try accessing GPU with pointcloud
 * */
extern "C" void getDistance(pcl::gpu::DeviceArray<pcl::PointXYZ>& cloud_device);
 
#endif
#endif /* INCLUDES_GPU_DRAW_CLOUD_H_ */