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