cvCreateTrackbar("Z_limit","picture", &c,30,NULL);charlast_c =0;// pcl::visualization::PCLVisualizer viewer ("picture");viewer.setBackgroundColor(0.0,0.0,0.5);//set backgroung according to the color of pointspcl::PassThrough<pcl::PointXYZ> pass;while(!viewer.wasStopped ()) { pcl::c...
voidPointCloudViewer::onInit(PCLVisualizer& visualizer) {// position viewport 3m behind kinect, but look around the point 2m in front of itvisualizer.setCameraPosition(0.,0.,-3.,0.,0.,2.,0.,-1.,0.); visualizer.setCameraClipDistances(1.0,10.0); visualizer.setBackgroundColor(0.3,0.3,0....
cvCreateTrackbar("Z_limit","picture", &c,30,NULL);charlast_c =0;// pcl::visualization::PCLVisualizer viewer ("picture");viewer.setBackgroundColor(0.0,0.0,0.5);//set backgroung according to the color of pointspcl::PassThrough<pcl::PointXYZ> pass;while(!viewer.wasStopped ()) { pcl...