MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / getDevice

Function getDevice

Samples/NiViewer/Device.cpp:666–669  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

664}
665
666Device* getDevice()
667{
668 return g_Device.IsValid() ? &g_Device : NULL;
669}
670DepthGenerator* getDepthGenerator()
671{
672 return g_Depth.IsValid() ? &g_Depth : NULL;

Callers 1

captureFrameFunction · 0.85

Calls 1

IsValidMethod · 0.45

Tested by

no test coverage detected