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

Function loadCloud

tools/train_linemod_template.cpp:84–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84bool
85loadCloud (const std::string & filename, PointCloudXYZRGBA & cloud)
86{
87 TicToc tt;
88 print_highlight ("Loading "); print_value ("%s ", filename.c_str ());
89
90 tt.tic ();
91 if (loadPCDFile (filename, cloud) < 0)
92 return (false);
93
94 printElapsedTimeAndNumberOfPoints (tt.toc (), cloud.width, cloud.height);
95
96 print_info ("Available dimensions: "); print_value ("%s\n", pcl::getFieldsList (cloud).c_str ());
97
98 return (true);
99}
100
101
102std::vector<bool>

Callers 1

mainFunction · 0.70

Calls 6

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

Tested by

no test coverage detected