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

Function saveCloud

tools/transform_from_viewpoint.cpp:117–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117void
118saveCloud (const std::string &filename, const pcl::PCLPointCloud2 &output)
119{
120 TicToc tt;
121 tt.tic ();
122
123 print_highlight ("Saving "); print_value ("%s ", filename.c_str ());
124
125 PCDWriter writer;
126 writer.writeBinaryCompressed (filename, output, translation, orientation);
127
128 print_info ("[done, "); print_value ("%g", tt.toc ()); print_info (" ms : "); print_value ("%d", output.width * output.height); print_info (" points]\n");
129}
130
131/* ---[ */
132int

Callers 1

mainFunction · 0.70

Calls 4

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

Tested by

no test coverage detected