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

Function saveCloud

tools/local_max.cpp:104–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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