]> git.pld-linux.org Git - packages/pcl.git/blob - oom.patch
- up to 1.11.0
[packages/pcl.git] / oom.patch
1 diff -up ./surface/CMakeLists.txt.oom ./surface/CMakeLists.txt
2 --- ./surface/CMakeLists.txt.oom        2018-11-26 06:50:33.000000000 -0500
3 +++ ./surface/CMakeLists.txt    2019-02-16 20:54:35.581123820 -0500
4 @@ -99,7 +99,12 @@ if(build)
5    src/marching_cubes_hoppe.cpp
6    src/marching_cubes_rbf.cpp
7    src/bilateral_upsampling.cpp
8 -  src/mls.cpp
9 +  src/mls_n.cpp
10 +  src/mls_xyz.cpp
11 +  src/mls_xyzi.cpp
12 +  src/mls_xyzrgba.cpp
13 +  src/mls_xyzrgb.cpp
14 +  src/mls_xyzrgbn.cpp
15    src/organized_fast_mesh.cpp
16    src/simplification_remove_unused_vertices.cpp
17    src/surfel_smoothing.cpp
18 diff -up ./surface/src/mls_n.cpp.oom ./surface/src/mls_n.cpp
19 --- ./surface/src/mls_n.cpp.oom 2019-02-16 20:55:10.920291479 -0500
20 +++ ./surface/src/mls_n.cpp     2019-02-16 20:51:12.570160727 -0500
21 @@ -0,0 +1,53 @@
22 +/*
23 + * Software License Agreement (BSD License)
24 + *
25 + * Point Cloud Library (PCL) - www.pointclouds.org
26 + * Copyright (c) 2009-2011, Willow Garage, Inc.
27 + *
28 + * All rights reserved.
29 + *
30 + * Redistribution and use in source and binary forms, with or without
31 + * modification, are permitted provided that the following conditions
32 + * are met:
33 + *
34 + * * Redistributions of source code must retain the above copyright
35 + *   notice, this list of conditions and the following disclaimer.
36 + * * Redistributions in binary form must reproduce the above
37 + *   copyright notice, this list of conditions and the following
38 + *   disclaimer in the documentation and/or other materials provided
39 + *   with the distribution.
40 + * * Neither the name of Willow Garage, Inc. nor the names of its
41 + *   contributors may be used to endorse or promote products derived
42 + *   from this software without specific prior written permission.
43 + *
44 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
45 + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
46 + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
47 + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
48 + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
49 + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
50 + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
51 + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
52 + * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
53 + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
54 + * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
55 + * POSSIBILITY OF SUCH DAMAGE.
56 + *
57 + * $Id$
58 + *
59 + */
60 +
61 +#include <pcl/surface/mls.h>
62 +#include <pcl/surface/impl/mls.hpp>
63 +
64 +#ifndef PCL_NO_PRECOMPILE
65 +#include <pcl/point_types.h>
66 +#include <pcl/impl/instantiate.hpp>
67 +#ifdef PCL_ONLY_CORE_POINT_TYPES
68 + // Instantiations of specific point types
69 +  PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, ((pcl::PointXYZ)(pcl::PointXYZI)(pcl::PointXYZRGB)(pcl::PointXYZRGBA)(pcl::PointXYZRGBNormal)(pcl::PointNormal))
70 +                                              ((pcl::PointNormal)))
71 +#else
72 +  // PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, (PCL_XYZ_POINT_TYPES)(PCL_XYZ_POINT_TYPES))
73 +#endif
74 +#endif    // PCL_NO_PRECOMPILE
75 diff -up ./surface/src/mls_xyz.cpp.oom ./surface/src/mls_xyz.cpp
76 --- ./surface/src/mls_xyz.cpp.oom       2019-02-16 20:54:51.891201203 -0500
77 +++ ./surface/src/mls_xyz.cpp   2019-02-16 20:51:33.080258031 -0500
78 @@ -0,0 +1,53 @@
79 +/*
80 + * Software License Agreement (BSD License)
81 + *
82 + * Point Cloud Library (PCL) - www.pointclouds.org
83 + * Copyright (c) 2009-2011, Willow Garage, Inc.
84 + *
85 + * All rights reserved.
86 + *
87 + * Redistribution and use in source and binary forms, with or without
88 + * modification, are permitted provided that the following conditions
89 + * are met:
90 + *
91 + * * Redistributions of source code must retain the above copyright
92 + *   notice, this list of conditions and the following disclaimer.
93 + * * Redistributions in binary form must reproduce the above
94 + *   copyright notice, this list of conditions and the following
95 + *   disclaimer in the documentation and/or other materials provided
96 + *   with the distribution.
97 + * * Neither the name of Willow Garage, Inc. nor the names of its
98 + *   contributors may be used to endorse or promote products derived
99 + *   from this software without specific prior written permission.
100 + *
101 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
102 + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
103 + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
104 + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
105 + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
106 + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
107 + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
108 + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
109 + * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
110 + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
111 + * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
112 + * POSSIBILITY OF SUCH DAMAGE.
113 + *
114 + * $Id$
115 + *
116 + */
117 +
118 +#include <pcl/surface/mls.h>
119 +#include <pcl/surface/impl/mls.hpp>
120 +
121 +#ifndef PCL_NO_PRECOMPILE
122 +#include <pcl/point_types.h>
123 +#include <pcl/impl/instantiate.hpp>
124 +#ifdef PCL_ONLY_CORE_POINT_TYPES
125 + // Instantiations of specific point types
126 +  PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, ((pcl::PointXYZ)(pcl::PointXYZI)(pcl::PointXYZRGB)(pcl::PointXYZRGBA)(pcl::PointXYZRGBNormal)(pcl::PointNormal))
127 +                                              ((pcl::PointXYZ)))
128 +#else
129 +  PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, (PCL_XYZ_POINT_TYPES)(PCL_XYZ_POINT_TYPES))
130 +#endif
131 +#endif    // PCL_NO_PRECOMPILE
132 diff -up ./surface/src/mls_xyzi.cpp.oom ./surface/src/mls_xyzi.cpp
133 --- ./surface/src/mls_xyzi.cpp.oom      2019-02-16 20:54:55.133216580 -0500
134 +++ ./surface/src/mls_xyzi.cpp  2019-02-16 20:51:59.602383856 -0500
135 @@ -0,0 +1,53 @@
136 +/*
137 + * Software License Agreement (BSD License)
138 + *
139 + * Point Cloud Library (PCL) - www.pointclouds.org
140 + * Copyright (c) 2009-2011, Willow Garage, Inc.
141 + *
142 + * All rights reserved.
143 + *
144 + * Redistribution and use in source and binary forms, with or without
145 + * modification, are permitted provided that the following conditions
146 + * are met:
147 + *
148 + * * Redistributions of source code must retain the above copyright
149 + *   notice, this list of conditions and the following disclaimer.
150 + * * Redistributions in binary form must reproduce the above
151 + *   copyright notice, this list of conditions and the following
152 + *   disclaimer in the documentation and/or other materials provided
153 + *   with the distribution.
154 + * * Neither the name of Willow Garage, Inc. nor the names of its
155 + *   contributors may be used to endorse or promote products derived
156 + *   from this software without specific prior written permission.
157 + *
158 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
159 + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
160 + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
161 + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
162 + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
163 + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
164 + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
165 + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
166 + * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
167 + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
168 + * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
169 + * POSSIBILITY OF SUCH DAMAGE.
170 + *
171 + * $Id$
172 + *
173 + */
174 +
175 +#include <pcl/surface/mls.h>
176 +#include <pcl/surface/impl/mls.hpp>
177 +
178 +#ifndef PCL_NO_PRECOMPILE
179 +#include <pcl/point_types.h>
180 +#include <pcl/impl/instantiate.hpp>
181 +#ifdef PCL_ONLY_CORE_POINT_TYPES
182 + // Instantiations of specific point types
183 +  PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, ((pcl::PointXYZ)(pcl::PointXYZI)(pcl::PointXYZRGB)(pcl::PointXYZRGBA)(pcl::PointXYZRGBNormal)(pcl::PointNormal))
184 +                                              ((pcl::PointXYZI)))
185 +#else
186 +  // PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, (PCL_XYZ_POINT_TYPES)(PCL_XYZ_POINT_TYPES))
187 +#endif
188 +#endif    // PCL_NO_PRECOMPILE
189 diff -up ./surface/src/mls_xyzrgba.cpp.oom ./surface/src/mls_xyzrgba.cpp
190 --- ./surface/src/mls_xyzrgba.cpp.oom   2019-02-16 20:54:57.832229383 -0500
191 +++ ./surface/src/mls_xyzrgba.cpp       2019-02-16 20:52:31.126533414 -0500
192 @@ -0,0 +1,53 @@
193 +/*
194 + * Software License Agreement (BSD License)
195 + *
196 + * Point Cloud Library (PCL) - www.pointclouds.org
197 + * Copyright (c) 2009-2011, Willow Garage, Inc.
198 + *
199 + * All rights reserved.
200 + *
201 + * Redistribution and use in source and binary forms, with or without
202 + * modification, are permitted provided that the following conditions
203 + * are met:
204 + *
205 + * * Redistributions of source code must retain the above copyright
206 + *   notice, this list of conditions and the following disclaimer.
207 + * * Redistributions in binary form must reproduce the above
208 + *   copyright notice, this list of conditions and the following
209 + *   disclaimer in the documentation and/or other materials provided
210 + *   with the distribution.
211 + * * Neither the name of Willow Garage, Inc. nor the names of its
212 + *   contributors may be used to endorse or promote products derived
213 + *   from this software without specific prior written permission.
214 + *
215 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
216 + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
217 + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
218 + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
219 + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
220 + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
221 + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
222 + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
223 + * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
224 + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
225 + * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
226 + * POSSIBILITY OF SUCH DAMAGE.
227 + *
228 + * $Id$
229 + *
230 + */
231 +
232 +#include <pcl/surface/mls.h>
233 +#include <pcl/surface/impl/mls.hpp>
234 +
235 +#ifndef PCL_NO_PRECOMPILE
236 +#include <pcl/point_types.h>
237 +#include <pcl/impl/instantiate.hpp>
238 +#ifdef PCL_ONLY_CORE_POINT_TYPES
239 + // Instantiations of specific point types
240 +  PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, ((pcl::PointXYZ)(pcl::PointXYZI)(pcl::PointXYZRGB)(pcl::PointXYZRGBA)(pcl::PointXYZRGBNormal)(pcl::PointNormal))
241 +                                              ((pcl::PointXYZRGBA)))
242 +#else
243 +  // PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, (PCL_XYZ_POINT_TYPES)(PCL_XYZ_POINT_TYPES))
244 +#endif
245 +#endif    // PCL_NO_PRECOMPILE
246 diff -up ./surface/src/mls_xyzrgb.cpp.oom ./surface/src/mls_xyzrgb.cpp
247 --- ./surface/src/mls_xyzrgb.cpp.oom    2019-02-16 20:55:03.524256391 -0500
248 +++ ./surface/src/mls_xyzrgb.cpp        2019-02-16 20:53:02.609682766 -0500
249 @@ -0,0 +1,53 @@
250 +/*
251 + * Software License Agreement (BSD License)
252 + *
253 + * Point Cloud Library (PCL) - www.pointclouds.org
254 + * Copyright (c) 2009-2011, Willow Garage, Inc.
255 + *
256 + * All rights reserved.
257 + *
258 + * Redistribution and use in source and binary forms, with or without
259 + * modification, are permitted provided that the following conditions
260 + * are met:
261 + *
262 + * * Redistributions of source code must retain the above copyright
263 + *   notice, this list of conditions and the following disclaimer.
264 + * * Redistributions in binary form must reproduce the above
265 + *   copyright notice, this list of conditions and the following
266 + *   disclaimer in the documentation and/or other materials provided
267 + *   with the distribution.
268 + * * Neither the name of Willow Garage, Inc. nor the names of its
269 + *   contributors may be used to endorse or promote products derived
270 + *   from this software without specific prior written permission.
271 + *
272 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
273 + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
274 + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
275 + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
276 + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
277 + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
278 + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
279 + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
280 + * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
281 + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
282 + * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
283 + * POSSIBILITY OF SUCH DAMAGE.
284 + *
285 + * $Id$
286 + *
287 + */
288 +
289 +#include <pcl/surface/mls.h>
290 +#include <pcl/surface/impl/mls.hpp>
291 +
292 +#ifndef PCL_NO_PRECOMPILE
293 +#include <pcl/point_types.h>
294 +#include <pcl/impl/instantiate.hpp>
295 +#ifdef PCL_ONLY_CORE_POINT_TYPES
296 + // Instantiations of specific point types
297 +  PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, ((pcl::PointXYZ)(pcl::PointXYZI)(pcl::PointXYZRGB)(pcl::PointXYZRGBA)(pcl::PointXYZRGBNormal)(pcl::PointNormal))
298 +                                              ((pcl::PointXYZRGB)))
299 +#else
300 +  //PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, (PCL_XYZ_POINT_TYPES)(PCL_XYZ_POINT_TYPES))
301 +#endif
302 +#endif    // PCL_NO_PRECOMPILE
303 diff -up ./surface/src/mls_xyzrgbn.cpp.oom ./surface/src/mls_xyzrgbn.cpp
304 --- ./surface/src/mls_xyzrgbn.cpp.oom   2019-02-16 20:55:07.030273022 -0500
305 +++ ./surface/src/mls_xyzrgbn.cpp       2019-02-16 20:53:34.215832702 -0500
306 @@ -0,0 +1,53 @@
307 +/*
308 + * Software License Agreement (BSD License)
309 + *
310 + * Point Cloud Library (PCL) - www.pointclouds.org
311 + * Copyright (c) 2009-2011, Willow Garage, Inc.
312 + *
313 + * All rights reserved.
314 + *
315 + * Redistribution and use in source and binary forms, with or without
316 + * modification, are permitted provided that the following conditions
317 + * are met:
318 + *
319 + * * Redistributions of source code must retain the above copyright
320 + *   notice, this list of conditions and the following disclaimer.
321 + * * Redistributions in binary form must reproduce the above
322 + *   copyright notice, this list of conditions and the following
323 + *   disclaimer in the documentation and/or other materials provided
324 + *   with the distribution.
325 + * * Neither the name of Willow Garage, Inc. nor the names of its
326 + *   contributors may be used to endorse or promote products derived
327 + *   from this software without specific prior written permission.
328 + *
329 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
330 + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
331 + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
332 + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
333 + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
334 + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
335 + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
336 + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
337 + * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
338 + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
339 + * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
340 + * POSSIBILITY OF SUCH DAMAGE.
341 + *
342 + * $Id$
343 + *
344 + */
345 +
346 +#include <pcl/surface/mls.h>
347 +#include <pcl/surface/impl/mls.hpp>
348 +
349 +#ifndef PCL_NO_PRECOMPILE
350 +#include <pcl/point_types.h>
351 +#include <pcl/impl/instantiate.hpp>
352 +#ifdef PCL_ONLY_CORE_POINT_TYPES
353 + // Instantiations of specific point types
354 +  PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, ((pcl::PointXYZ)(pcl::PointXYZI)(pcl::PointXYZRGB)(pcl::PointXYZRGBA)(pcl::PointXYZRGBNormal)(pcl::PointNormal))
355 +                                              ((pcl::PointXYZRGBNormal)))
356 +#else
357 +  //PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, (PCL_XYZ_POINT_TYPES)(PCL_XYZ_POINT_TYPES))
358 +#endif
359 +#endif    // PCL_NO_PRECOMPILE
This page took 0.085395 seconds and 3 git commands to generate.