Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
666
Device* getDevice()
667
{
668
return g_Device.IsValid() ? &g_Device : NULL;
669
}
670
DepthGenerator* getDepthGenerator()
671
{
672
return g_Depth.IsValid() ? &g_Depth : NULL;
Callers
1
captureFrame
Function · 0.85
Calls
1
IsValid
Method · 0.45
Tested by
no test coverage detected