在使用PCL库的时候,经常需要显示点云,可以用下面这段代码:

 

#include <pcl/visualization/cloud_viewer.h>
 
pcl::PointCloud<pcl::PointXYZRGB>::Ptr cloud;
pcl::visualization::CloudViewer viewer ("Viewer");
viewer.showCloud (cloud);
while (!viewer.wasStopped ())
{
}

 

相关文章:

  • 2021-08-21
  • 2021-07-12
  • 2022-12-23
  • 2022-12-23
  • 2021-12-02
  • 2021-04-06
  • 2022-12-23
  • 2020-06-13
猜你喜欢
  • 2021-12-02
  • 2021-04-24
  • 2021-12-02
  • 2021-08-24
  • 2021-09-08
相关资源
相似解决方案