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

Function loadCloud

tools/unary_classifier_segment.cpp:103–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103bool
104loadCloud (const std::string &filename, CloudT::Ptr &cloud)
105{
106 TicToc tt;
107 print_highlight ("Loading "); print_value ("%s ", filename.c_str ());
108
109 tt.tic ();
110 if (loadPCDFile (filename, *cloud) < 0)
111 return (false);
112 print_info ("[done, "); print_value ("%g", tt.toc ()); print_info (" ms : "); print_value ("%d", cloud->width * cloud->height); print_info (" points]\n");
113
114 return (true);
115}
116
117void
118compute (const CloudT::Ptr &input, std::vector<FeatureT::Ptr> &trained_features,

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