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