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

Function xnGetDepthFieldOfView

Source/OpenNI/XnOpenNI.cpp:4690–4699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4688}
4689
4690XN_C_API XnStatus xnGetDepthFieldOfView(XnNodeHandle hInstance, XnFieldOfView* pFOV)
4691{
4692 XN_VALIDATE_INPUT_PTR(hInstance);
4693 XN_VALIDATE_OUTPUT_PTR(pFOV);
4694 XN_VALIDATE_INTERFACE_TYPE(hInstance, XN_NODE_TYPE_DEPTH);
4695 XnDepthGeneratorInterfaceContainer* pInterface = (XnDepthGeneratorInterfaceContainer*)hInstance->pModuleInstance->pLoaded->pInterface;
4696 XnModuleNodeHandle hModuleNode = hInstance->pModuleInstance->hNode;
4697 pInterface->Depth.GetFieldOfView(hModuleNode, pFOV);
4698 return (XN_STATUS_OK);
4699}
4700
4701XN_C_API XnStatus xnRegisterToDepthFieldOfViewChange(XnNodeHandle hInstance, XnStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback)
4702{

Calls 1

GetFieldOfViewMethod · 0.45

Tested by

no test coverage detected