| 147 | } |
| 148 | |
| 149 | void |
| 150 | saveCloud (const std::string &filename, CloudLT::Ptr &output) |
| 151 | { |
| 152 | TicToc tt; |
| 153 | tt.tic (); |
| 154 | |
| 155 | print_highlight ("Saving "); print_value ("%s ", filename.c_str ()); |
| 156 | |
| 157 | PCDWriter w; |
| 158 | w.write (filename, *output); |
| 159 | |
| 160 | print_info ("[done, "); |
| 161 | print_value ("%g", tt.toc ()); print_info (" ms : "); |
| 162 | print_value ("%d", output->width * output->height); print_info (" points]\n"); |
| 163 | } |
| 164 | |
| 165 | /* ---[ */ |
| 166 | int |
no test coverage detected