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

Function saveCloud

tools/mls_smoothing.cpp:140–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140void
141saveCloud (const std::string &filename, const pcl::PCLPointCloud2 &output)
142{
143 TicToc tt;
144 tt.tic ();
145
146 print_highlight ("Saving "); print_value ("%s ", filename.c_str ());
147
148 pcl::io::savePCDFile (filename, output, Eigen::Vector4f::Zero (),
149 Eigen::Quaternionf::Identity (), true);
150
151 print_info ("[done, "); print_value ("%g", tt.toc ()); print_info (" ms : "); print_value ("%d", output.width * output.height); print_info (" points]\n");
152}
153
154/* ---[ */
155int

Callers 1

mainFunction · 0.70

Calls 4

print_valueFunction · 0.85
savePCDFileFunction · 0.85
ticMethod · 0.80
tocMethod · 0.80

Tested by

no test coverage detected