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

Method getCamera

outofcore/src/visualization/scene.cpp:25–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25Camera*
26Scene::getCamera (vtkCamera *camera)
27{
28 for (const auto &c : cameras_)
29 {
30 if (c->getCamera ().GetPointer () == camera)
31 {
32 return c;
33 }
34 }
35
36 return nullptr;
37}
38
39Camera*
40Scene::getCamera (const std::string& name)

Callers 1

renderMethod · 0.45

Calls 1

getNameMethod · 0.45

Tested by

no test coverage detected