| 60 | } |
| 61 | |
| 62 | bool |
| 63 | loadCloud (const std::string &filename, Cloud &cloud) |
| 64 | { |
| 65 | TicToc tt; |
| 66 | print_highlight ("Loading "); print_value ("%s ", filename.c_str ()); |
| 67 | |
| 68 | tt.tic (); |
| 69 | if (loadPCDFile (filename, cloud) < 0) |
| 70 | return (false); |
| 71 | print_info ("[done, "); print_value ("%g", tt.toc ()); print_info (" ms : "); print_value ("%d", cloud.width * cloud.height); print_info (" points]\n"); |
| 72 | print_info ("Available dimensions: "); print_value ("%s\n", pcl::getFieldsList (cloud).c_str ()); |
| 73 | |
| 74 | return (true); |
| 75 | } |
| 76 | |
| 77 | void |
| 78 | compute (const Cloud::ConstPtr &cloud_a, const Cloud::ConstPtr &cloud_b) |
no test coverage detected