您的位置:首页 > 其它

PCL Show Point Cloud 显示点云

2016-06-18 12:29 344 查看
在使用PCL库的时候,经常需要显示点云,可以用下面这段代码:

#include <pcl/visualization/cloud_viewer.h>

pcl::PointCloud<pcl::PointXYZRGB>::Ptr cloud;
pcl::visualization::CloudViewer viewer ("Viewer");
viewer.showCloud (cloud);
while (!viewer.wasStopped ())
{
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: