| 70 | } |
| 71 | |
| 72 | bool |
| 73 | loadCloud (const std::string &filename, pcl::PCLPointCloud2 &cloud) |
| 74 | { |
| 75 | TicToc tt; |
| 76 | print_highlight ("Loading "); print_value ("%s ", filename.c_str ()); |
| 77 | |
| 78 | tt.tic (); |
| 79 | if (loadPCDFile (filename, cloud) < 0) |
| 80 | return (false); |
| 81 | print_info ("[done, "); print_value ("%g", tt.toc ()); print_info (" ms : "); print_value ("%d", cloud.width * cloud.height); print_info (" points]\n"); |
| 82 | print_info ("Available dimensions: "); print_value ("%s\n", pcl::getFieldsList (cloud).c_str ()); |
| 83 | |
| 84 | return (true); |
| 85 | } |
| 86 | |
| 87 | void |
| 88 | compute (const pcl::PCLPointCloud2::ConstPtr &input, pcl::PCLPointCloud2 &output, |
no test coverage detected