| 66 | } |
| 67 | |
| 68 | bool |
| 69 | loadCloud (const std::string & filename, PointCloudXYZRGBA & cloud) |
| 70 | { |
| 71 | TicToc tt; |
| 72 | print_highlight ("Loading "); print_value ("%s ", filename.c_str ()); |
| 73 | |
| 74 | tt.tic (); |
| 75 | if (loadPCDFile (filename, cloud) < 0) |
| 76 | return (false); |
| 77 | |
| 78 | printElapsedTimeAndNumberOfPoints (tt.toc (), cloud.width, cloud.height); |
| 79 | |
| 80 | print_info ("Available dimensions: "); print_value ("%s\n", pcl::getFieldsList (cloud).c_str ()); |
| 81 | |
| 82 | return (true); |
| 83 | } |
| 84 | |
| 85 | std::vector<pcl::LINEMODDetection> |
| 86 | matchTemplates (const PointCloudXYZRGBA::ConstPtr & input, const pcl::LINEMOD & linemod) |
no test coverage detected