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

Function loadCloud

tools/mls_smoothing.cpp:69–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69bool
70loadCloud (const std::string &filename, pcl::PCLPointCloud2 &cloud)
71{
72 TicToc tt;
73 print_highlight ("Loading "); print_value ("%s ", filename.c_str ());
74
75 tt.tic ();
76 if (loadPCDFile (filename, cloud) < 0)
77 return (false);
78 print_info ("[done, "); print_value ("%g", tt.toc ()); print_info (" ms : "); print_value ("%d", cloud.width * cloud.height); print_info (" points]\n");
79 print_info ("Available dimensions: "); print_value ("%s\n", pcl::getFieldsList (cloud).c_str ());
80
81 return (true);
82}
83
84void
85compute (const pcl::PCLPointCloud2::ConstPtr &input,

Callers 1

mainFunction · 0.70

Calls 5

print_valueFunction · 0.85
loadPCDFileFunction · 0.85
ticMethod · 0.80
tocMethod · 0.80
getFieldsListFunction · 0.50

Tested by

no test coverage detected