From 856812a08c94eef13d77402a5296a8046c022a05 Mon Sep 17 00:00:00 2001 From: Sergio Agostinho Date: Fri, 10 Nov 2017 08:46:43 +0000 Subject: [PATCH] Removal of PCA deprecated constructor --- common/include/pcl/common/impl/pca.hpp | 14 -------------- common/include/pcl/common/pca.h | 7 ------- 2 files changed, 21 deletions(-) diff --git a/common/include/pcl/common/impl/pca.hpp b/common/include/pcl/common/impl/pca.hpp index 68d5b61c8b0..228831b97ba 100644 --- a/common/include/pcl/common/impl/pca.hpp +++ b/common/include/pcl/common/impl/pca.hpp @@ -45,20 +45,6 @@ #include #include -///////////////////////////////////////////////////////////////////////////////////////// -/** \brief Constructor with direct computation - * \param[in] cloud input m*n matrix (ie n vectors of R(m)) - * \param[in] basis_only flag to compute only the PCA basis - */ -template -pcl::PCA::PCA (const pcl::PointCloud &cloud, bool basis_only) -{ - Base (); - basis_only_ = basis_only; - setInputCloud (cloud.makeShared ()); - compute_done_ = initCompute (); -} - ///////////////////////////////////////////////////////////////////////////////////////// template bool pcl::PCA::initCompute () diff --git a/common/include/pcl/common/pca.h b/common/include/pcl/common/pca.h index e9879c79276..5da3bf184c6 100644 --- a/common/include/pcl/common/pca.h +++ b/common/include/pcl/common/pca.h @@ -93,13 +93,6 @@ namespace pcl , mean_ () , eigenvalues_ () {} - - /** \brief Constructor with direct computation - * X input m*n matrix (ie n vectors of R(m)) - * basis_only flag to compute only the PCA basis - */ - PCL_DEPRECATED ("Use PCA (bool basis_only); setInputCloud (X.makeShared ()); instead") - PCA (const pcl::PointCloud& X, bool basis_only = false); /** Copy Constructor * \param[in] pca PCA object