| 73 | } |
| 74 | |
| 75 | bool |
| 76 | loadCloud (const std::string &filename, CloudT::Ptr &cloud) |
| 77 | { |
| 78 | TicToc tt; |
| 79 | print_highlight ("Loading "); print_value ("%s ", filename.c_str ()); |
| 80 | |
| 81 | tt.tic (); |
| 82 | if (loadPCDFile (filename, *cloud) < 0) |
| 83 | return (false); |
| 84 | print_info ("[done, "); print_value ("%g", tt.toc ()); print_info (" ms : "); print_value ("%d", cloud->width * cloud->height); print_info (" points]\n"); |
| 85 | |
| 86 | return (true); |
| 87 | } |
| 88 | |
| 89 | bool |
| 90 | loadCloud (const std::string &filename, CloudLT::Ptr &cloud) |
no test coverage detected