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

Function saveCloud

tools/transform_point_cloud.cpp:170–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170void
171saveCloud (const std::string &filename, const pcl::PCLPointCloud2 &output)
172{
173 TicToc tt;
174 tt.tic ();
175
176 print_highlight ("Saving "); print_value ("%s ", filename.c_str ());
177
178 PCDWriter w;
179 w.writeBinaryCompressed (filename, output);
180
181 printElapsedTimeAndNumberOfPoints (tt.toc (), output.width, output.height);
182}
183
184template <typename T> void
185multiply (pcl::PCLPointCloud2 &cloud, int field_offset, double multiplier)

Callers 1

mainFunction · 0.70

Calls 5

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

Tested by

no test coverage detected