| 82 | } |
| 83 | |
| 84 | bool |
| 85 | loadCloud (const std::string & filename, PointCloudXYZRGBA & cloud) |
| 86 | { |
| 87 | TicToc tt; |
| 88 | print_highlight ("Loading "); print_value ("%s ", filename.c_str ()); |
| 89 | |
| 90 | tt.tic (); |
| 91 | if (loadPCDFile (filename, cloud) < 0) |
| 92 | return (false); |
| 93 | |
| 94 | printElapsedTimeAndNumberOfPoints (tt.toc (), cloud.width, cloud.height); |
| 95 | |
| 96 | print_info ("Available dimensions: "); print_value ("%s\n", pcl::getFieldsList (cloud).c_str ()); |
| 97 | |
| 98 | return (true); |
| 99 | } |
| 100 | |
| 101 | |
| 102 | std::vector<bool> |
no test coverage detected