MCPcopy Create free account
hub / github.com/PointCloudLibrary/pcl / saveCloud

Function saveCloud

tools/unary_classifier_segment.cpp:145–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145void
146saveCloud (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/* ---[ */
162int

Callers 1

mainFunction · 0.70

Calls 4

print_valueFunction · 0.85
ticMethod · 0.80
tocMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected