Point Cloud Library (PCL)
1.7.1
Main Page
Modules
Namespaces
Classes
doc
tutorials
content
sources
iros2011
include
solution
typedefs.h
1
#ifndef TYPEDEFS_H
2
#define TYPEDEFS_H
3
4
#include <pcl/point_types.h>
5
#include <pcl/point_cloud.h>
6
7
/* Define some custom types to make the rest of our code easier to read */
8
9
// Define "PointCloud" to be a pcl::PointCloud of pcl::PointXYZRGB points
10
typedef
pcl::PointXYZRGB
PointT
;
11
typedef
pcl::PointCloud<PointT>
PointCloud
;
12
typedef
pcl::PointCloud<PointT>::Ptr
PointCloudPtr;
13
typedef
pcl::PointCloud<PointT>::ConstPtr
PointCloudConstPtr;
14
15
// Define "SurfaceNormals" to be a pcl::PointCloud of pcl::Normal points
16
typedef
pcl::Normal
NormalT
;
17
typedef
pcl::PointCloud<NormalT>
SurfaceNormals
;
18
typedef
pcl::PointCloud<NormalT>::Ptr
SurfaceNormalsPtr;
19
typedef
pcl::PointCloud<NormalT>::ConstPtr
SurfaceNormalsConstPtr;
20
21
// Define "LocalDescriptors" to be a pcl::PointCloud of pcl::FPFHSignature33 points
22
typedef
pcl::FPFHSignature33
LocalDescriptorT
;
23
typedef
pcl::PointCloud<LocalDescriptorT>
LocalDescriptors
;
24
typedef
pcl::PointCloud<LocalDescriptorT>::Ptr
LocalDescriptorsPtr;
25
typedef
pcl::PointCloud<LocalDescriptorT>::ConstPtr
LocalDescriptorsConstPtr;
26
27
// Define "GlobalDescriptors" to be a pcl::PointCloud of pcl::VFHSignature308 points
28
typedef
pcl::VFHSignature308
GlobalDescriptorT
;
29
typedef
pcl::PointCloud<GlobalDescriptorT>
GlobalDescriptors
;
30
typedef
pcl::PointCloud<GlobalDescriptorT>::Ptr
GlobalDescriptorsPtr;
31
typedef
pcl::PointCloud<GlobalDescriptorT>::ConstPtr
GlobalDescriptorsConstPtr;
32
33
#endif