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

Function saveCloud

tools/iterative_closest_point.cpp:164–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164void
165saveCloud (const std::string &filename, const pcl::PCLPointCloud2 &output)
166{
167 TicToc tt;
168 tt.tic ();
169
170 print_highlight ("Saving "); print_value ("%s ", filename.c_str ());
171
172 PCDWriter w;
173 //w.writeBinaryCompressed (filename, output, translation, orientation);
174 w.writeASCII (filename, output, translation, orientation);
175
176 print_info ("[done, "); print_value ("%g", tt.toc ()); print_info (" ms : "); print_value ("%d", output.width * output.height); print_info (" points]\n");
177}
178
179int
180main (int argc, char** argv)

Callers 1

mainFunction · 0.70

Calls 4

print_valueFunction · 0.85
ticMethod · 0.80
tocMethod · 0.80
writeASCIIMethod · 0.45

Tested by

no test coverage detected