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

Function loadCloud

tools/transform_point_cloud.cpp:80–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80bool
81loadCloud (const std::string &filename, pcl::PCLPointCloud2 &cloud)
82{
83 TicToc tt;
84 print_highlight ("Loading "); print_value ("%s ", filename.c_str ());
85
86 tt.tic ();
87 if (loadPCDFile (filename, cloud) < 0)
88 return (false);
89
90 printElapsedTimeAndNumberOfPoints (tt.toc (), cloud.width, cloud.height);
91
92 print_info ("Available dimensions: "); print_value ("%s\n", pcl::getFieldsList (cloud).c_str ());
93
94 return (true);
95}
96
97template <typename PointT> void
98transformPointCloudHelper (PointCloud<PointT> & input, PointCloud<PointT> & output,

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