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

Function xnGetGeneralIntRange

Source/OpenNI/XnOpenNI.cpp:3105–3111  ·  view source on GitHub ↗

--------------------------------------------------------------------------- General Int Capability ---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

3103// General Int Capability
3104//---------------------------------------------------------------------------
3105XN_C_API XnStatus xnGetGeneralIntRange(XnNodeHandle hInstance, const XnChar* strCap, XnInt32* pnMin, XnInt32* pnMax, XnInt32* pnStep, XnInt32* pnDefault, XnBool* pbIsAutoSupported)
3106{
3107 XnProductionNodeInterfaceContainer* pInterface = hInstance->pModuleInstance->pLoaded->pInterface;
3108 XnModuleNodeHandle hModuleNode = hInstance->pModuleInstance->hNode;
3109 XN_VALIDATE_FUNC_PTR(pInterface->GeneralInt.GetRange);
3110 return pInterface->GeneralInt.GetRange(hModuleNode, strCap, pnMin, pnMax, pnStep, pnDefault, pbIsAutoSupported);
3111}
3112
3113XN_C_API XnStatus xnGetGeneralIntValue(XnNodeHandle hInstance, const XnChar* strCap, XnInt32* pnValue)
3114{

Callers 2

GetRangeMethod · 0.85

Calls 1

GetRangeMethod · 0.45

Tested by

no test coverage detected