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

Function loadCloud

tools/match_linemod_template.cpp:68–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68bool
69loadCloud (const std::string & filename, PointCloudXYZRGBA & cloud)
70{
71 TicToc tt;
72 print_highlight ("Loading "); print_value ("%s ", filename.c_str ());
73
74 tt.tic ();
75 if (loadPCDFile (filename, cloud) < 0)
76 return (false);
77
78 printElapsedTimeAndNumberOfPoints (tt.toc (), cloud.width, cloud.height);
79
80 print_info ("Available dimensions: "); print_value ("%s\n", pcl::getFieldsList (cloud).c_str ());
81
82 return (true);
83}
84
85std::vector<pcl::LINEMODDetection>
86matchTemplates (const PointCloudXYZRGBA::ConstPtr & input, const pcl::LINEMOD & linemod)

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