Skip to content

Commit 5fc95dd

Browse files
author
ThorstenHarter
committed
Keep old signature of getPointCloudDifference as deprecated
1 parent 16f4918 commit 5fc95dd

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

segmentation/include/pcl/segmentation/segment_differences.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,18 @@ namespace pcl
5959
const boost::shared_ptr<pcl::search::Search<PointT> > &tree,
6060
pcl::PointCloud<PointT> &output);
6161

62+
template <typename PointT>
63+
PCL_DEPRECATED("getPointCloudDifference() does not use the tgt parameter, thus it is deprecated and will be removed in future releases.")
64+
inline void getPointCloudDifference (
65+
const pcl::PointCloud<PointT> &src,
66+
const pcl::PointCloud<PointT> &tgt,
67+
double threshold,
68+
const boost::shared_ptr<pcl::search::Search<PointT> > &tree,
69+
pcl::PointCloud<PointT> &output)
70+
{
71+
getPointCloudDifference<PointT> (src, pcl::PointCloud<PointT>(), threshold, tree, output);
72+
}
73+
6274
////////////////////////////////////////////////////////////////////////////////////////////
6375
////////////////////////////////////////////////////////////////////////////////////////////
6476
////////////////////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)