vision
Loading...
Searching...
No Matches
YarpCloudUtils-pcl-inst.hpp
1// -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*-
2
3#ifndef __YARP_CLOUD_UTILS_PCL_INST_HPP__
4#define __YARP_CLOUD_UTILS_PCL_INST_HPP__
5
6#include <string>
7
8#include <yarp/os/Searchable.h>
9#include <yarp/sig/PointCloud.h>
10#include <yarp/sig/Vector.h>
11
12#define YCU_PCL_SIGNATURES(in, out) \
13 template bool meshFromCloud(const in &, out &, yarp::sig::VectorOf<int> &, const yarp::sig::VectorOf<yarp::os::Property> &); \
14 template bool meshFromCloud(const in &, out &, yarp::sig::VectorOf<int> &, const yarp::os::Searchable &, const std::string &); \
15 template bool processCloud(const in &, out &, const yarp::sig::VectorOf<yarp::os::Property> &); \
16 template bool processCloud(const in &, out &, const yarp::os::Searchable &, const std::string &);
17
19{
20
21YCU_PCL_SIGNATURES(yarp::sig::PointCloudXY, yarp::sig::PointCloudXY)
22YCU_PCL_SIGNATURES(yarp::sig::PointCloudXY, yarp::sig::PointCloudXYZ)
23YCU_PCL_SIGNATURES(yarp::sig::PointCloudXY, yarp::sig::PointCloudNormal)
24YCU_PCL_SIGNATURES(yarp::sig::PointCloudXY, yarp::sig::PointCloudXYZRGBA)
25YCU_PCL_SIGNATURES(yarp::sig::PointCloudXY, yarp::sig::PointCloudXYZI)
26YCU_PCL_SIGNATURES(yarp::sig::PointCloudXY, yarp::sig::PointCloudInterestPointXYZ)
27YCU_PCL_SIGNATURES(yarp::sig::PointCloudXY, yarp::sig::PointCloudXYZNormal)
28YCU_PCL_SIGNATURES(yarp::sig::PointCloudXY, yarp::sig::PointCloudXYZNormalRGBA)
29
30YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZ, yarp::sig::PointCloudXY)
31YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZ, yarp::sig::PointCloudXYZ)
32YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZ, yarp::sig::PointCloudNormal)
33YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZ, yarp::sig::PointCloudXYZRGBA)
34YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZ, yarp::sig::PointCloudXYZI)
35YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZ, yarp::sig::PointCloudInterestPointXYZ)
36YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZ, yarp::sig::PointCloudXYZNormal)
37YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZ, yarp::sig::PointCloudXYZNormalRGBA)
38
39YCU_PCL_SIGNATURES(yarp::sig::PointCloudNormal, yarp::sig::PointCloudXY)
40YCU_PCL_SIGNATURES(yarp::sig::PointCloudNormal, yarp::sig::PointCloudXYZ)
41YCU_PCL_SIGNATURES(yarp::sig::PointCloudNormal, yarp::sig::PointCloudNormal)
42YCU_PCL_SIGNATURES(yarp::sig::PointCloudNormal, yarp::sig::PointCloudXYZRGBA)
43YCU_PCL_SIGNATURES(yarp::sig::PointCloudNormal, yarp::sig::PointCloudXYZI)
44YCU_PCL_SIGNATURES(yarp::sig::PointCloudNormal, yarp::sig::PointCloudInterestPointXYZ)
45YCU_PCL_SIGNATURES(yarp::sig::PointCloudNormal, yarp::sig::PointCloudXYZNormal)
46YCU_PCL_SIGNATURES(yarp::sig::PointCloudNormal, yarp::sig::PointCloudXYZNormalRGBA)
47
48YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZRGBA, yarp::sig::PointCloudXY)
49YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZRGBA, yarp::sig::PointCloudXYZ)
50YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZRGBA, yarp::sig::PointCloudNormal)
51YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZRGBA, yarp::sig::PointCloudXYZRGBA)
52YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZRGBA, yarp::sig::PointCloudXYZI)
53YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZRGBA, yarp::sig::PointCloudInterestPointXYZ)
54YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZRGBA, yarp::sig::PointCloudXYZNormal)
55YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZRGBA, yarp::sig::PointCloudXYZNormalRGBA)
56
57YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZI, yarp::sig::PointCloudXY)
58YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZI, yarp::sig::PointCloudXYZ)
59YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZI, yarp::sig::PointCloudNormal)
60YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZI, yarp::sig::PointCloudXYZRGBA)
61YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZI, yarp::sig::PointCloudXYZI)
62YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZI, yarp::sig::PointCloudInterestPointXYZ)
63YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZI, yarp::sig::PointCloudXYZNormal)
64YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZI, yarp::sig::PointCloudXYZNormalRGBA)
65
66YCU_PCL_SIGNATURES(yarp::sig::PointCloudInterestPointXYZ, yarp::sig::PointCloudXY)
67YCU_PCL_SIGNATURES(yarp::sig::PointCloudInterestPointXYZ, yarp::sig::PointCloudXYZ)
68YCU_PCL_SIGNATURES(yarp::sig::PointCloudInterestPointXYZ, yarp::sig::PointCloudNormal)
69YCU_PCL_SIGNATURES(yarp::sig::PointCloudInterestPointXYZ, yarp::sig::PointCloudXYZRGBA)
70YCU_PCL_SIGNATURES(yarp::sig::PointCloudInterestPointXYZ, yarp::sig::PointCloudXYZI)
71YCU_PCL_SIGNATURES(yarp::sig::PointCloudInterestPointXYZ, yarp::sig::PointCloudInterestPointXYZ)
72YCU_PCL_SIGNATURES(yarp::sig::PointCloudInterestPointXYZ, yarp::sig::PointCloudXYZNormal)
73YCU_PCL_SIGNATURES(yarp::sig::PointCloudInterestPointXYZ, yarp::sig::PointCloudXYZNormalRGBA)
74
75YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZNormal, yarp::sig::PointCloudXY)
76YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZNormal, yarp::sig::PointCloudXYZ)
77YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZNormal, yarp::sig::PointCloudNormal)
78YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZNormal, yarp::sig::PointCloudXYZRGBA)
79YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZNormal, yarp::sig::PointCloudXYZI)
80YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZNormal, yarp::sig::PointCloudInterestPointXYZ)
81YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZNormal, yarp::sig::PointCloudXYZNormal)
82YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZNormal, yarp::sig::PointCloudXYZNormalRGBA)
83
84YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZNormalRGBA, yarp::sig::PointCloudXY)
85YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZNormalRGBA, yarp::sig::PointCloudXYZ)
86YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZNormalRGBA, yarp::sig::PointCloudNormal)
87YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZNormalRGBA, yarp::sig::PointCloudXYZRGBA)
88YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZNormalRGBA, yarp::sig::PointCloudXYZI)
89YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZNormalRGBA, yarp::sig::PointCloudInterestPointXYZ)
90YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZNormalRGBA, yarp::sig::PointCloudXYZNormal)
91YCU_PCL_SIGNATURES(yarp::sig::PointCloudXYZNormalRGBA, yarp::sig::PointCloudXYZNormalRGBA)
92
93} // namespace roboticslab::YarpCloudUtils
94
95#endif // __YARP_CLOUD_UTILS_PCL_INST_HPP__
Collection of cloud-related utilities for YARP.
Definition YarpCloudUtils-pcl-inst.hpp:19