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

Function saveCloud

tools/bilateral_upsampling.cpp:114–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114void
115saveCloud (const std::string &filename, const pcl::PCLPointCloud2 &output)
116{
117 TicToc tt;
118 tt.tic ();
119
120 print_highlight ("Saving "); print_value ("%s ", filename.c_str ());
121
122 pcl::io::savePCDFile (filename, output, Eigen::Vector4f::Zero (),
123 Eigen::Quaternionf::Identity (), true);
124
125 print_info ("[done, "); print_value ("%g", tt.toc ()); print_info (" ms : "); print_value ("%d", output.width * output.height); print_info (" points]\n");
126}
127
128/* ---[ */
129int

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