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

Function loadCloud

tools/train_unary_classifier.cpp:75–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75bool
76loadCloud (const std::string &filename, CloudT::Ptr &cloud)
77{
78 TicToc tt;
79 print_highlight ("Loading "); print_value ("%s ", filename.c_str ());
80
81 tt.tic ();
82 if (loadPCDFile (filename, *cloud) < 0)
83 return (false);
84 print_info ("[done, "); print_value ("%g", tt.toc ()); print_info (" ms : "); print_value ("%d", cloud->width * cloud->height); print_info (" points]\n");
85
86 return (true);
87}
88
89bool
90loadCloud (const std::string &filename, CloudLT::Ptr &cloud)

Callers 1

mainFunction · 0.70

Calls 4

print_valueFunction · 0.85
loadPCDFileFunction · 0.85
ticMethod · 0.80
tocMethod · 0.80

Tested by

no test coverage detected