| 112 | } |
| 113 | |
| 114 | void |
| 115 | saveCloud (const std::string &filename, const pcl::PCLPointCloud2 &output) |
| 116 | { |
| 117 | TicToc tt; |
| 118 | tt.tic (); |
| 119 | |
| 120 | print_highlight ("Saving "); print_value ("%s ", filename.c_str ()); |
| 121 | |
| 122 | pcl::io::savePCDFile (filename, output, Eigen::Vector4f::Zero (), |
| 123 | Eigen::Quaternionf::Identity (), true); |
| 124 | |
| 125 | print_info ("[done, "); print_value ("%g", tt.toc ()); print_info (" ms : "); print_value ("%d", output.width * output.height); print_info (" points]\n"); |
| 126 | } |
| 127 | |
| 128 | /* ---[ */ |
| 129 | int |
no test coverage detected