| 154 | } |
| 155 | |
| 156 | void |
| 157 | compute (const pcl::PCLPointCloud2::ConstPtr &input, pcl::PCLPointCloud2 &output, |
| 158 | Eigen::Matrix4f &tform) |
| 159 | { |
| 160 | TicToc tt; |
| 161 | tt.tic (); |
| 162 | |
| 163 | print_highlight ("Transforming "); |
| 164 | |
| 165 | transformPointCloud2 (*input, output, tform); |
| 166 | |
| 167 | printElapsedTimeAndNumberOfPoints (tt.toc (), output.width, output.height); |
| 168 | } |
| 169 | |
| 170 | void |
| 171 | saveCloud (const std::string &filename, const pcl::PCLPointCloud2 &output) |
no test coverage detected