From 07c1493a9b2e964a1864336495bfc155081a99d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Agostinho?= Date: Sun, 12 Nov 2017 21:04:59 +0000 Subject: [PATCH] Remove deprecated methods in surface module --- surface/include/pcl/surface/concave_hull.h | 5 ----- surface/include/pcl/surface/impl/concave_hull.hpp | 10 ---------- test/surface/test_concave_hull.cpp | 4 ---- 3 files changed, 19 deletions(-) diff --git a/surface/include/pcl/surface/concave_hull.h b/surface/include/pcl/surface/concave_hull.h index ef20939f404..85b296b0c7e 100644 --- a/surface/include/pcl/surface/concave_hull.h +++ b/surface/include/pcl/surface/concave_hull.h @@ -132,11 +132,6 @@ namespace pcl { keep_information_ = value; } - - /** \brief Returns the dimensionality (2 or 3) of the calculated hull. */ - PCL_DEPRECATED ("[pcl::ConcaveHull::getDim] This method is deprecated. Please use getDimension () instead.") - int - getDim () const; /** \brief Returns the dimensionality (2 or 3) of the calculated hull. */ inline int diff --git a/surface/include/pcl/surface/impl/concave_hull.hpp b/surface/include/pcl/surface/impl/concave_hull.hpp index dc008b6f9ce..faaa96fa4ea 100644 --- a/surface/include/pcl/surface/impl/concave_hull.hpp +++ b/surface/include/pcl/surface/impl/concave_hull.hpp @@ -55,16 +55,6 @@ #include #include -////////////////////////////////////////////////////////////////////////// -/** \brief Get dimension of concave hull - * \return dimension - */ -template int -pcl::ConcaveHull::getDim () const -{ - return (getDimension ()); -} - ////////////////////////////////////////////////////////////////////////// template void pcl::ConcaveHull::reconstruct (PointCloud &output) diff --git a/test/surface/test_concave_hull.cpp b/test/surface/test_concave_hull.cpp index dbf4edebeae..be6fbe906d4 100644 --- a/test/surface/test_concave_hull.cpp +++ b/test/surface/test_concave_hull.cpp @@ -122,10 +122,6 @@ TEST (PCL, ConcaveHull_planar_bunny) PointCloud hull_3d; concave_hull_3d.reconstruct (hull_3d); -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wdeprecated-declarations" - EXPECT_EQ (concave_hull_3d.getDim (), 3); // test for PCL_DEPRECATED -#pragma GCC diagnostic pop EXPECT_EQ (concave_hull_3d.getDimension (), 3); ModelCoefficients::Ptr plane_coefficients (new ModelCoefficients ());