PCL常用语句

来源:互联网 发布:java singleton模式 编辑:程序博客网 时间:2024/06/08 11:20

1     1.8版本中将visualization\include\pcl\visualization\common\ren_win_interact_map.h中的RenWinInteract的空构造函数给删除了。这个使得在使用PCLHistogramVisualizer时,出现缺少RenWinInteract函数的链接错误。

2.  

  1. pcl::visualization::PCLPlotter plotter;  
  2. // We need to set the size of the descriptor beforehand.  
  3. plotter.addFeatureHistogram(*fpfhs, 300); //设置的很坐标长度,该值越大,则显示的直方图越细致  
  4. plotter.plot(); 
3.
  1.  pcl::visualization::PCLHistogramVisualizer view;  
  2.       view.setBackgroundColor(255,0,0);  
  3.       view.addFeatureHistogram<pcl::FPFHSignature33> (*fpfhs,"fpfh",1000);//对下标为1000的元素可视化  
  4.       //view.spinOnce(10000);  //循环的次数  
  5.       view.spin();  //无限循环 

0 0
原创粉丝点击