From 5d1fae65c6b957be61acfb617421df767c00f6ae Mon Sep 17 00:00:00 2001 From: Sergey Alexandrov Date: Thu, 16 Jan 2014 18:12:32 +0100 Subject: [PATCH] Fix compiler error in filter_indices.h (cf. #426) --- filters/include/pcl/filters/filter_indices.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/filters/include/pcl/filters/filter_indices.h b/filters/include/pcl/filters/filter_indices.h index b3bb149f9dc..5bba9e8fad4 100644 --- a/filters/include/pcl/filters/filter_indices.h +++ b/filters/include/pcl/filters/filter_indices.h @@ -169,9 +169,9 @@ namespace pcl } protected: + using Filter::initCompute; using Filter::deinitCompute; - using Filter::applyFilter; /** \brief False = normal filter behavior (default), true = inverted behavior. */ bool negative_; @@ -185,6 +185,10 @@ namespace pcl /** \brief Abstract filter method for point cloud indices. */ virtual void applyFilter (std::vector &indices) = 0; + + /** \brief Abstract filter method for point cloud. */ + virtual void + applyFilter (PointCloud &output) = 0; }; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -282,8 +286,6 @@ namespace pcl protected: - using Filter::applyFilter; - /** \brief False = normal filter behavior (default), true = inverted behavior. */ bool negative_; @@ -296,6 +298,10 @@ namespace pcl /** \brief Abstract filter method for point cloud indices. */ virtual void applyFilter (std::vector &indices) = 0; + + /** \brief Abstract filter method for point cloud. */ + virtual void + applyFilter (PCLPointCloud2 &output) = 0; }; }