From 086ca9ec79640137088b1aa6035b3d0c8e967668 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Agostinho?= Date: Sat, 20 Feb 2016 19:27:42 +0100 Subject: [PATCH] Adds MLS instantiation for input type PointXYZRGBNormal Fixes #1518. --- surface/src/mls.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/surface/src/mls.cpp b/surface/src/mls.cpp index 37d617299dd..f7eeead4565 100644 --- a/surface/src/mls.cpp +++ b/surface/src/mls.cpp @@ -43,11 +43,11 @@ #include // Instantiations of specific point types -PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, ((pcl::PointXYZ)(pcl::PointXYZRGB)(pcl::PointXYZRGBA)) +PCL_INSTANTIATE_PRODUCT(MovingLeastSquares, ((pcl::PointXYZ)(pcl::PointXYZRGB)(pcl::PointXYZRGBA)(pcl::PointXYZRGBNormal)(pcl::PointNormal)) ((pcl::PointXYZ)(pcl::PointXYZRGB)(pcl::PointXYZRGBA)(pcl::PointXYZRGBNormal)(pcl::PointNormal))) #ifdef _OPENMP -PCL_INSTANTIATE_PRODUCT(MovingLeastSquaresOMP, ((pcl::PointXYZ)(pcl::PointXYZRGB)(pcl::PointXYZRGBA)) +PCL_INSTANTIATE_PRODUCT(MovingLeastSquaresOMP, ((pcl::PointXYZ)(pcl::PointXYZRGB)(pcl::PointXYZRGBA)(pcl::PointXYZRGBNormal)(pcl::PointNormal)) ((pcl::PointXYZ)(pcl::PointXYZRGB)(pcl::PointXYZRGBA)(pcl::PointXYZRGBNormal)(pcl::PointNormal))) #endif /// Ideally, we should instantiate like below, but it takes large amounts of main memory for compilation