| 162 | } |
| 163 | |
| 164 | void |
| 165 | saveCloud (const std::string &filename, const pcl::PCLPointCloud2 &output) |
| 166 | { |
| 167 | TicToc tt; |
| 168 | tt.tic (); |
| 169 | |
| 170 | print_highlight ("Saving "); print_value ("%s ", filename.c_str ()); |
| 171 | |
| 172 | PCDWriter w; |
| 173 | w.writeBinaryCompressed (filename, output, translation, orientation); |
| 174 | |
| 175 | print_info ("[done, "); print_value ("%g", tt.toc ()); print_info (" ms : "); print_value ("%d", output.width * output.height); print_info (" points]\n"); |
| 176 | } |
| 177 | |
| 178 | int |
| 179 | batchProcess (const std::vector<std::string> &pcd_files, std::string &output_dir, int max_it, double thresh, bool negative) |
no test coverage detected