Point Cloud Library (PCL)  1.11.0
tracking.h
1 /*
2  * Software License Agreement (BSD License)
3  *
4  * Point Cloud Library (PCL) - www.pointclouds.org
5  * Copyright (c) 2010-2012, Willow Garage, Inc.
6  *
7  * All rights reserved.
8  *
9  * Redistribution and use in source and binary forms, with or without
10  * modification, are permitted provided that the following conditions
11  * are met:
12  *
13  * * Redistributions of source code must retain the above copyright
14  * notice, this list of conditions and the following disclaimer.
15  * * Redistributions in binary form must reproduce the above
16  * copyright notice, this list of conditions and the following
17  * disclaimer in the documentation and/or other materials provided
18  * with the distribution.
19  * * Neither the name of Willow Garage, Inc. nor the names of its
20  * contributors may be used to endorse or promote products derived
21  * from this software without specific prior written permission.
22  *
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
24  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
25  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
26  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
27  * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
28  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
29  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
30  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
31  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
33  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34  * POSSIBILITY OF SUCH DAMAGE.
35  *
36  * $Id: point_cloud.h 4696 2012-02-23 06:12:55Z rusu $
37  *
38  */
39 
40 #pragma once
41 
42 #include <pcl/point_types.h>
43 
44 namespace pcl
45 {
46  namespace tracking
47  {
48  /* state definition */
49  struct ParticleXYZRPY;
50  struct ParticleXYR;
51 
52  /* \brief return the value of normal distribution */
53  PCL_EXPORTS double
54  sampleNormal (double mean, double sigma);
55  }
56 }
57 
58 #include <pcl/tracking/impl/tracking.hpp>
59 
60 // ==============================
61 // =====POINT_CLOUD_REGISTER=====
62 // ==============================
64  (float, x, x)
65  (float, y, y)
66  (float, z, z)
67  (float, roll, roll)
68  (float, pitch, pitch)
69  (float, yaw, yaw)
70 )
71 POINT_CLOUD_REGISTER_POINT_WRAPPER(pcl::tracking::ParticleXYZRPY, pcl::tracking::_ParticleXYZRPY)
72 
73 
75  (float, x, x)
76  (float, y, y)
77  (float, z, z)
78  (float, roll, roll)
79  (float, pitch, pitch)
80  (float, yaw, yaw)
81 )
82 POINT_CLOUD_REGISTER_POINT_WRAPPER(pcl::tracking::ParticleXYRPY, pcl::tracking::_ParticleXYRPY)
83 
84 
86  (float, x, x)
87  (float, y, y)
88  (float, z, z)
89  (float, roll, roll)
90  (float, pitch, pitch)
91  (float, yaw, yaw)
92 )
93 POINT_CLOUD_REGISTER_POINT_WRAPPER(pcl::tracking::ParticleXYRP, pcl::tracking::_ParticleXYRP)
94 
95 
97  (float, x, x)
98  (float, y, y)
99  (float, z, z)
100  (float, roll, roll)
101  (float, pitch, pitch)
102  (float, yaw, yaw)
103 )
104 POINT_CLOUD_REGISTER_POINT_WRAPPER(pcl::tracking::ParticleXYR, pcl::tracking::_ParticleXYR)
105 
107  (float, x, x)
108  (float, y, y)
109  (float, z, z)
110  (float, roll, roll)
111  (float, pitch, pitch)
112  (float, yaw, yaw)
113 )
114 POINT_CLOUD_REGISTER_POINT_WRAPPER(pcl::tracking::ParticleXYZR, pcl::tracking::_ParticleXYZR)
115 
116 #ifdef PCL_NO_PRECOMPILE
117 #include <pcl/tracking/impl/tracking.hpp>
118 #endif
pcl
Definition: convolution.h:46
pcl::tracking::ParticleXYRP
Definition: tracking.hpp:527
pcl::tracking::_ParticleXYZR
Definition: tracking.hpp:202
point_types.h
POINT_CLOUD_REGISTER_POINT_STRUCT
POINT_CLOUD_REGISTER_POINT_STRUCT(pcl::_PointXYZLAB,(float, x, x)(float, y, y)(float, z, z)(float, L, L)(float, a, a)(float, b, b)) namespace pcl
Definition: gicp6d.h:79
pcl::tracking::ParticleXYR
Definition: tracking.hpp:680
pcl::tracking::ParticleXYZRPY
Definition: tracking.hpp:31
pcl::tracking::_ParticleXYZRPY
Definition: tracking.hpp:14
pcl::tracking::ParticleXYZR
Definition: tracking.hpp:219
pcl::tracking::ParticleXYRPY
Definition: tracking.hpp:374
pcl::tracking::_ParticleXYR
Definition: tracking.hpp:663
pcl::tracking::_ParticleXYRP
Definition: tracking.hpp:510
pcl::tracking::sampleNormal
PCL_EXPORTS double sampleNormal(double mean, double sigma)
PCL_EXPORTS
#define PCL_EXPORTS
Definition: pcl_macros.h:331
pcl::tracking::_ParticleXYRPY
Definition: tracking.hpp:357