资源简介
Cmake编译PCL1.8.0源码后形成的功能成文件
代码片段和文件信息
#include
#include
#include
#include
int user_data;
void viewerOneOff(pcl::visualization::PCLVisualizer& viewer)
{
viewer.setBackgroundColor(1.0 0.5 1.0);
pcl::PointXYZ o;
o.x = 1.0;
o.y = 0;
o.z = 0;
viewer.addSphere(o 0.25 “sphere“ 0);
std::cout << “i only run once“ << std::endl;
}
void viewerPsycho(pcl::visualization::PCLVisualizer& viewer)
{
static unsigned count = 0;
std::stringstream ss;
ss << “Once per viewer loop: “ << count++;
viewer.removeShape(“text“ 0);
viewer.addText(ss.str() 200 300 “text“ 0);
//FIXME: possible race condition here:
user_data++;
}
int main()
{
pcl::PointCloud::Ptr cloud(new pcl::PointCloud);
pcl::io::loadPCDFile(“my_point_cloud.pcd“ *cloud);
pcl::visualization::CloudViewer viewer(“Cloud Viewer“);
//blocks until the cloud is actually rendered
viewer.showCloud(cloud);
//use the following functions to get access to the underlying more advanced/powerful
//PCLVisualizer
//This will only get called once
viewer.runOnVisualizationThreadOnce(viewerOneOff);
//This will get called once per visualization iteration
viewer.runOnVisualizationThread(viewerPsycho);
while (!viewer.wasStopped())
{
//you can also do cool processing here
//FIXME: Note that this is running in a separate thread from viewerPsycho
//and you should guard against race conditions yourself...
user_data++;
}
return 0;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-06-06 20:27 1PCL_Build\
目录 0 2017-06-06 20:27 1PCL_Build\build\
目录 0 2017-06-06 20:27 1PCL_Build\build\2d\
目录 0 2017-06-06 20:27 1PCL_Build\build\2d\CMakeFiles\
文件 55 2017-06-06 19:51 1PCL_Build\build\2d\CMakeFiles\generate.stamp
文件 108 2017-06-06 19:37 1PCL_Build\build\2d\CMakeFiles\generate.stamp.depend
文件 909 2017-06-06 19:31 1PCL_Build\build\2d\cmake_install.cmake
文件 295 2017-06-06 19:31 1PCL_Build\build\2d\CTestTestfile.cmake
文件 7908 2017-06-06 19:31 1PCL_Build\build\2d\INSTALL.vcxproj
文件 529 2017-06-06 19:31 1PCL_Build\build\2d\INSTALL.vcxproj.filters
文件 8134 2017-06-06 19:31 1PCL_Build\build\2d\PACKAGE.vcxproj
文件 529 2017-06-06 19:31 1PCL_Build\build\2d\PACKAGE.vcxproj.filters
文件 7695 2017-06-06 19:31 1PCL_Build\build\2d\RUN_TESTS.vcxproj
文件 531 2017-06-06 19:31 1PCL_Build\build\2d\RUN_TESTS.vcxproj.filters
文件 49302 2017-06-06 20:22 1PCL_Build\build\ALL_BUILD.vcxproj
文件 287 2017-06-06 19:31 1PCL_Build\build\ALL_BUILD.vcxproj.filters
文件 165 2017-06-06 19:37 1PCL_Build\build\ALL_BUILD.vcxproj.user
目录 0 2017-06-06 20:27 1PCL_Build\build\apps\
目录 0 2017-06-06 20:27 1PCL_Build\build\apps\CMakeFiles\
文件 55 2017-06-06 19:51 1PCL_Build\build\apps\CMakeFiles\generate.stamp
文件 110 2017-06-06 19:37 1PCL_Build\build\apps\CMakeFiles\generate.stamp.depend
文件 911 2017-06-06 19:31 1PCL_Build\build\apps\cmake_install.cmake
文件 299 2017-06-06 19:31 1PCL_Build\build\apps\CTestTestfile.cmake
文件 7912 2017-06-06 19:31 1PCL_Build\build\apps\INSTALL.vcxproj
文件 529 2017-06-06 19:31 1PCL_Build\build\apps\INSTALL.vcxproj.filters
文件 8138 2017-06-06 19:31 1PCL_Build\build\apps\PACKAGE.vcxproj
文件 529 2017-06-06 19:31 1PCL_Build\build\apps\PACKAGE.vcxproj.filters
文件 7699 2017-06-06 19:31 1PCL_Build\build\apps\RUN_TESTS.vcxproj
文件 531 2017-06-06 19:31 1PCL_Build\build\apps\RUN_TESTS.vcxproj.filters
目录 0 2017-06-06 17:12 1PCL_Build\build\bin\
文件 50686 2017-06-06 19:37 1PCL_Build\build\CMakeCache.txt
............此处省略598个文件信息
- 上一篇:kaggle肺癌检测第一名解决方案和代码
- 下一篇:Flash制作MV
评论
共有 条评论