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

Function loadCloud

tools/morph.cpp:76–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76bool
77loadCloud (const std::string &filename, Cloud &cloud)
78{
79 TicToc tt;
80 print_highlight ("Loading "); print_value ("%s ", filename.c_str ());
81
82 tt.tic ();
83 if (loadPCDFile (filename, cloud) < 0)
84 return (false);
85 print_info ("[done, "); print_value ("%g", tt.toc ()); print_info (" ms : "); print_value ("%d", cloud.width * cloud.height); print_info (" points]\n");
86 print_info ("Available dimensions: "); print_value ("%s\n", pcl::getFieldsList (cloud).c_str ());
87
88 return (true);
89}
90
91void
92compute (ConstCloudPtr &input, Cloud &output, float resolution, const std::string& method)

Callers 3

OctreeViewerMethod · 0.70
batchProcessFunction · 0.70
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