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

Method getObjectByName

outofcore/src/visualization/scene.cpp:57–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57Object*
58Scene::getObjectByName (const std::string& name)
59{
60 for (const auto &object : objects_)
61 if (object->getName () == name)
62 return object;
63
64 return nullptr;
65}
66
67std::vector<Object*>
68Scene::getObjects ()

Callers 1

ExecuteMethod · 0.80

Calls 1

getNameMethod · 0.45

Tested by

no test coverage detected