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

Function main

tools/match_linemod_template.cpp:161–180  ·  view source on GitHub ↗

---[ */

Source from the content-addressed store, hash-verified

159
160/* ---[ */
161int
162main (int argc, char** argv)
163{
164 print_info ("Match a LINE-MOD template to an organized point cloud. For more information, use: %s -h\n", argv[0]);
165
166 if (argc < 2)
167 {
168 printHelp (argc, argv);
169 return (-1);
170 }
171
172 // Load the input point cloud from the provided PCD file
173 PointCloudXYZRGBA::Ptr cloud (new PointCloudXYZRGBA);
174 if (!loadCloud (argv[1], *cloud))
175 return (-1);
176
177 // Load the specified templates and match them to the provided input cloud
178 compute (cloud, argv[2]);
179
180}
181

Callers

nothing calls this directly

Calls 3

printHelpFunction · 0.70
loadCloudFunction · 0.70
computeFunction · 0.70

Tested by

no test coverage detected