From 5c5e89fe545b4c17faf6b9c2ac11319041de7d1e Mon Sep 17 00:00:00 2001 From: George Andrew Brindeiro Date: Mon, 30 Sep 2013 17:11:34 -0300 Subject: [PATCH] Updated deprecated function call in pcl::Registration (setInputCloud to setInputSource) --- .../pairwise_incremental_registration.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/tutorials/content/sources/pairwise_incremental_registration/pairwise_incremental_registration.cpp b/doc/tutorials/content/sources/pairwise_incremental_registration/pairwise_incremental_registration.cpp index 9a027453f8f..7bd6f0c96be 100644 --- a/doc/tutorials/content/sources/pairwise_incremental_registration/pairwise_incremental_registration.cpp +++ b/doc/tutorials/content/sources/pairwise_incremental_registration/pairwise_incremental_registration.cpp @@ -257,7 +257,7 @@ void pairAlign (const PointCloud::Ptr cloud_src, const PointCloud::Ptr cloud_tgt // Set the point representation reg.setPointRepresentation (boost::make_shared (point_representation)); - reg.setInputCloud (points_with_normals_src); + reg.setInputSource (points_with_normals_src); reg.setInputTarget (points_with_normals_tgt); @@ -275,7 +275,7 @@ void pairAlign (const PointCloud::Ptr cloud_src, const PointCloud::Ptr cloud_tgt points_with_normals_src = reg_result; // Estimate - reg.setInputCloud (points_with_normals_src); + reg.setInputSource (points_with_normals_src); reg.align (*reg_result); //accumulate transformation between each Iteration