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

Function saveCloud

tools/grid_min.cpp:103–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103void
104saveCloud (const std::string &filename, const Cloud &output)
105{
106 TicToc tt;
107 tt.tic ();
108
109 print_highlight ("Saving "); print_value ("%s ", filename.c_str ());
110
111 PCDWriter w;
112 w.writeBinaryCompressed (filename, output);
113
114 print_info ("[done, "); print_value ("%g", tt.toc ()); print_info (" ms : "); print_value ("%d", output.width * output.height); print_info (" points]\n");
115}
116
117int
118batchProcess (const std::vector<std::string> &pcd_files, std::string &output_dir,

Callers 2

batchProcessFunction · 0.70
mainFunction · 0.70

Calls 4

print_valueFunction · 0.85
ticMethod · 0.80
tocMethod · 0.80
writeBinaryCompressedMethod · 0.45

Tested by

no test coverage detected