提交 598c4bcd 编写于 作者: M Markus Vieth

Remove some unused code in module test

上级 c9c95231
......@@ -49,7 +49,6 @@ using namespace pcl::io;
search::KdTree<PointXYZ>::Ptr tree (new search::KdTree<PointXYZ> ());
PointCloud<PointXYZ>::Ptr cloud (new PointCloud<PointXYZ> ());
std::vector<int> indices;
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
TEST (PCL, GRSDEstimation)
......
......@@ -49,7 +49,6 @@ using namespace pcl::io;
search::KdTree<PointXYZ>::Ptr tree (new search::KdTree<PointXYZ> ());
PointCloud<PointXYZ>::Ptr cloud (new PointCloud<PointXYZ> ());
std::vector<int> indices;
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
TEST (PCL, RSDEstimation)
......
......@@ -69,7 +69,6 @@ using namespace Eigen;
PCLPointCloud2::Ptr cloud_blob (new PCLPointCloud2);
PointCloud<PointXYZ>::Ptr cloud (new PointCloud<PointXYZ>);
std::vector<int> indices_;
PointCloud<PointXYZRGB>::Ptr cloud_organized (new PointCloud<PointXYZRGB>);
......@@ -2335,10 +2334,6 @@ main (int argc, char** argv)
loadPCDFile (file_name, *cloud_blob);
fromPCLPointCloud2 (*cloud_blob, *cloud);
indices_.resize (cloud->size ());
for (index_t i = 0; i < static_cast<index_t>(indices_.size ()); ++i)
indices_[i] = i;
loadPCDFile (argv[2], *cloud_organized);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册