ReverseEngineering: [skip ci] do not explicitly use boost::shared_ptr because pcl11 now uses std::shared_ptr
This commit is contained in:
@@ -61,7 +61,7 @@ void RegionGrowing::perform(int ksearch)
|
||||
}
|
||||
|
||||
//normal estimation
|
||||
pcl::search::Search<pcl::PointXYZ>::Ptr tree = boost::shared_ptr<pcl::search::Search<pcl::PointXYZ> > (new pcl::search::KdTree<pcl::PointXYZ>);
|
||||
pcl::search::Search<pcl::PointXYZ>::Ptr tree(new pcl::search::KdTree<pcl::PointXYZ>);
|
||||
pcl::PointCloud <pcl::Normal>::Ptr normals (new pcl::PointCloud <pcl::Normal>);
|
||||
pcl::NormalEstimation<pcl::PointXYZ, pcl::Normal> normal_estimator;
|
||||
normal_estimator.setSearchMethod (tree);
|
||||
@@ -118,7 +118,7 @@ void RegionGrowing::perform(const std::vector<Base::Vector3f>& myNormals)
|
||||
}
|
||||
}
|
||||
|
||||
pcl::search::Search<pcl::PointXYZ>::Ptr tree = boost::shared_ptr<pcl::search::Search<pcl::PointXYZ> > (new pcl::search::KdTree<pcl::PointXYZ>);
|
||||
pcl::search::Search<pcl::PointXYZ>::Ptr tree(new pcl::search::KdTree<pcl::PointXYZ>);
|
||||
tree->setInputCloud (cloud);
|
||||
|
||||
// pass through
|
||||
|
||||
Reference in New Issue
Block a user