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

Function saveCloud

tools/crf_segmentation.cpp:149–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149void
150saveCloud (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/* ---[ */
166int

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