我的程序在哪里寻找功能

时间:2016-06-17 18:08:53

标签: c-preprocessor point-cloud-library triangulation

我正在使用pcl库,我正在调用一个函数,我不确定它的定义。我不知道我的pcl版本是什么,所以我不知道我在网上查看的文档对我来说是否正确。我以为我知道它在哪里,但我在函数中添加了一个打印语句,没有任何结果。

我正在尝试运行的代码是:

pcl :: GreedyProjectionTriangulation gp3;     pcl :: PolygonMesh三角形;

// Set the maximum distance between connected points (maximum edge length)
gp3.setSearchRadius (0.025);

// Set typical values for the parameters
gp3.setMu (2.5);
gp3.setMaximumNearestNeighbors (100);
gp3.setMaximumSurfaceAngle(M_PI/4); // 45 degrees
gp3.setMinimumAngle(M_PI/18); // 10 degrees
gp3.setMaximumAngle(2*M_PI/3); // 120 degrees
gp3.setNormalConsistency(false);


// Get result
gp3.setInputCloud (cloud_with_normals);
gp3.setSearchMethod (tree2);
gp3.reconstruct (triangles);

我正在寻找重建并认为它在

/usr/include/pcl-1.7/pcl/surface/impl/reconstruction.hpp

但是当我添加一个打印声明时,主要内容没有出现。

我在recons.hpp上运行了locate,并为每个重构函数添加了一个print语句,并且没有一个在main中打印。

定位recons.hpp |的结果少了:

/home/cs4752/.local/share/Trash/files/perception (copy)/pcl/surface/include/pcl/surface/impl/reconstruction.hpp

/home/cs4752/Desktop/perception/pcl/surface/include/pcl/surface/impl/reconstruction.hpp

/home/cs4752/perception/pcl/surface/include/pcl/surface/impl/reconstruction.hpp

/usr/include/pcl-1.7/pcl/surface/impl/reconstruction.hpp

我偶然从github克隆了几次项目,但是如果我检查了所有项目,我认为这不是问题。

0 个答案:

没有答案