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

Function saveCloud

tools/sac_segmentation_plane.cpp:164–176  ·  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
175 print_info ("[done, "); print_value ("%g", tt.toc ()); print_info (" ms : "); print_value ("%d", output.width * output.height); print_info (" points]\n");
176}
177
178int
179batchProcess (const std::vector<std::string> &pcd_files, std::string &output_dir, int max_it, double thresh, bool negative)

Callers 2

batchProcessFunction · 0.70
mainFunction · 0.70

Calls 4

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

Tested by

no test coverage detected