| 78 | } |
| 79 | |
| 80 | bool |
| 81 | loadCloud (const std::string &filename, pcl::PCLPointCloud2 &cloud) |
| 82 | { |
| 83 | TicToc tt; |
| 84 | print_highlight ("Loading "); print_value ("%s ", filename.c_str ()); |
| 85 | |
| 86 | tt.tic (); |
| 87 | if (loadPCDFile (filename, cloud) < 0) |
| 88 | return (false); |
| 89 | |
| 90 | printElapsedTimeAndNumberOfPoints (tt.toc (), cloud.width, cloud.height); |
| 91 | |
| 92 | print_info ("Available dimensions: "); print_value ("%s\n", pcl::getFieldsList (cloud).c_str ()); |
| 93 | |
| 94 | return (true); |
| 95 | } |
| 96 | |
| 97 | template <typename PointT> void |
| 98 | transformPointCloudHelper (PointCloud<PointT> & input, PointCloud<PointT> & output, |
no test coverage detected