Point Cloud Library (PCL)
1.7.0
|
00001 /* 00002 * Software License Agreement (BSD License) 00003 * 00004 * Point Cloud Library (PCL) - www.pointclouds.org 00005 * Copyright (c) 2010-2012, Willow Garage, Inc. 00006 * 00007 * All rights reserved. 00008 * 00009 * Redistribution and use in source and binary forms, with or without 00010 * modification, are permitted provided that the following conditions 00011 * are met: 00012 * 00013 * * Redistributions of source code must retain the above copyright 00014 * notice, this list of conditions and the following disclaimer. 00015 * * Redistributions in binary form must reproduce the above 00016 * copyright notice, this list of conditions and the following 00017 * disclaimer in the documentation and/or other materials provided 00018 * with the distribution. 00019 * * Neither the name of Willow Garage, Inc. nor the names of its 00020 * contributors may be used to endorse or promote products derived 00021 * from this software without specific prior written permission. 00022 * 00023 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 00024 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 00025 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 00026 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 00027 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 00028 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 00029 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 00030 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 00031 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 00032 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 00033 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 00034 * POSSIBILITY OF SUCH DAMAGE. 00035 * 00036 * $Id: point_cloud.h 4696 2012-02-23 06:12:55Z rusu $ 00037 * 00038 */ 00039 00040 #ifndef PCL_TRACKING_TRACKING_H_ 00041 #define PCL_TRACKING_TRACKING_H_ 00042 00043 #include <pcl/point_types.h> 00044 00045 #ifdef BUILD_Maintainer 00046 # if defined __GNUC__ 00047 # pragma GCC system_header 00048 # elif defined _MSC_VER 00049 # pragma warning(push, 1) 00050 # endif 00051 #endif 00052 00053 namespace pcl 00054 { 00055 namespace tracking 00056 { 00057 /* state definition */ 00058 struct ParticleXYZRPY; 00059 struct ParticleXYR; 00060 00061 /* \brief return the value of normal distribution */ 00062 PCL_EXPORTS double 00063 sampleNormal (double mean, double sigma); 00064 } 00065 } 00066 00067 #include <pcl/tracking/impl/tracking.hpp> 00068 00069 // ============================== 00070 // =====POINT_CLOUD_REGISTER===== 00071 // ============================== 00072 POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::tracking::_ParticleXYZRPY, 00073 (float, x, x) 00074 (float, y, y) 00075 (float, z, z) 00076 (float, roll, roll) 00077 (float, pitch, pitch) 00078 (float, yaw, yaw) 00079 ) 00080 POINT_CLOUD_REGISTER_POINT_WRAPPER(pcl::tracking::ParticleXYZRPY, pcl::tracking::_ParticleXYZRPY) 00081 00082 00083 POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::tracking::_ParticleXYRPY, 00084 (float, x, x) 00085 (float, y, y) 00086 (float, z, z) 00087 (float, roll, roll) 00088 (float, pitch, pitch) 00089 (float, yaw, yaw) 00090 ) 00091 POINT_CLOUD_REGISTER_POINT_WRAPPER(pcl::tracking::ParticleXYRPY, pcl::tracking::_ParticleXYRPY) 00092 00093 00094 POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::tracking::_ParticleXYRP, 00095 (float, x, x) 00096 (float, y, y) 00097 (float, z, z) 00098 (float, roll, roll) 00099 (float, pitch, pitch) 00100 (float, yaw, yaw) 00101 ) 00102 POINT_CLOUD_REGISTER_POINT_WRAPPER(pcl::tracking::ParticleXYRP, pcl::tracking::_ParticleXYRP) 00103 00104 00105 POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::tracking::_ParticleXYR, 00106 (float, x, x) 00107 (float, y, y) 00108 (float, z, z) 00109 (float, roll, roll) 00110 (float, pitch, pitch) 00111 (float, yaw, yaw) 00112 ) 00113 POINT_CLOUD_REGISTER_POINT_WRAPPER(pcl::tracking::ParticleXYR, pcl::tracking::_ParticleXYR) 00114 00115 POINT_CLOUD_REGISTER_POINT_STRUCT (pcl::tracking::_ParticleXYZR, 00116 (float, x, x) 00117 (float, y, y) 00118 (float, z, z) 00119 (float, roll, roll) 00120 (float, pitch, pitch) 00121 (float, yaw, yaw) 00122 ) 00123 POINT_CLOUD_REGISTER_POINT_WRAPPER(pcl::tracking::ParticleXYZR, pcl::tracking::_ParticleXYZR) 00124 00125 #ifdef BUILD_Maintainer 00126 # if defined _MSC_VER 00127 # pragma warning(pop) 00128 # endif 00129 #endif 00130 00131 #ifdef PCL_NO_PRECOMPILE 00132 #include <pcl/tracking/impl/tracking.hpp> 00133 #endif 00134 00135 #endif