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