XnModuleCFunctions.h
Go to the documentation of this file.
/****************************************************************************
* *
* OpenNI 1.x Alpha *
* Copyright (C) 2011 PrimeSense Ltd. *
* *
* This file is part of OpenNI. *
* *
* OpenNI is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as published *
* by the Free Software Foundation, either version 3 of the License, or *
* (at your option) any later version. *
* *
* OpenNI is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with OpenNI. If not, see <http://www.gnu.org/licenses/>. *
* *
****************************************************************************/
#ifndef XN_MODULE_C_FUNCTIONS_H_
#define XN_MODULE_C_FUNCTIONS_H_
#include "XnModuleCppInterface.h"
using namespace xn;
#ifdef XN_NO_DYNAMIC_CAST
#include "XnDerivedCast.h"
#endif
#define _XN_VALIDATE_CAPABILITY_INTERFACE_RET(capInterface, retVal) \
if (capInterface == NULL) \
return retVal;
#define _XN_VALIDATE_CAPABILITY_INTERFACE(capInterface) \
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(capInterface, XN_STATUS_INVALID_OPERATION)
XnBool XN_CALLBACK_TYPE __ModuleIsCapabilitySupported(XnModuleNodeHandle hInstance, const XnChar* strCapabilityName)
{
ModuleProductionNode* pNode = (ModuleProductionNode*)hInstance;
return pNode->IsCapabilitySupported(strCapabilityName);
}
XnStatus XN_CALLBACK_TYPE __ModuleInitNotifications(XnModuleNodeHandle hInstance, XnNodeNotifications* pNotifications, void* pCookie)
{
ModuleProductionNode* pNode = (ModuleProductionNode*)hInstance;
ModuleExtendedSerializationInterface* pInterface = pNode->GetExtendedSerializationInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->NotifyExState(pNotifications, pCookie);
}
void XN_CALLBACK_TYPE __ModuleStopNotifications(XnModuleNodeHandle hInstance)
{
ModuleProductionNode* pNode = (ModuleProductionNode*)hInstance;
ModuleExtendedSerializationInterface* pInterface = pNode->GetExtendedSerializationInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface,);
pInterface->UnregisterExNotifications();
}
XnStatus XN_CALLBACK_TYPE __ModuleSetLockState(XnModuleNodeHandle hInstance, XnBool bLocked)
{
ModuleProductionNode* pNode = (ModuleProductionNode*)hInstance;
ModuleLockAwareInterface* pInterface = pNode->GetLockAwareInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->SetLockState(bLocked);
}
XnBool XN_CALLBACK_TYPE __ModuleGetLockState(XnModuleNodeHandle hInstance)
{
ModuleProductionNode* pNode = (ModuleProductionNode*)hInstance;
ModuleLockAwareInterface* pInterface = pNode->GetLockAwareInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface, FALSE);
return pInterface->GetLockState();
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToLockChange(XnModuleNodeHandle hInstance, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pNode = (ModuleProductionNode*)hInstance;
ModuleLockAwareInterface* pInterface = pNode->GetLockAwareInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->RegisterToLockChange(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromLockChange(XnModuleNodeHandle hInstance, XnCallbackHandle hCallback)
{
ModuleProductionNode* pNode = (ModuleProductionNode*)hInstance;
ModuleLockAwareInterface* pInterface = pNode->GetLockAwareInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface,);
pInterface->UnregisterFromLockChange(hCallback);
}
XnStatus XN_CALLBACK_TYPE __ModuleGetErrorState(XnModuleNodeHandle hInstance)
{
ModuleProductionNode* pNode = (ModuleProductionNode*)hInstance;
ModuleErrorStateInterface* pInterface = pNode->GetErrorStateInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface, XN_STATUS_OK);
return pInterface->GetErrorState();
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToErrorStateChange(XnModuleNodeHandle hInstance, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pNode = (ModuleProductionNode*)hInstance;
ModuleErrorStateInterface* pInterface = pNode->GetErrorStateInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->RegisterToErrorStateChange(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromErrorStateChange(XnModuleNodeHandle hInstance, XnCallbackHandle hCallback)
{
ModuleProductionNode* pNode = (ModuleProductionNode*)hInstance;
ModuleErrorStateInterface* pInterface = pNode->GetErrorStateInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface,);
pInterface->UnregisterFromErrorStateChange(hCallback);
}
XnStatus XN_CALLBACK_TYPE __ModuleGeneralIntGetRange(XnModuleNodeHandle hInstance, const XnChar* strCap, XnInt32* pnMin, XnInt32* pnMax, XnInt32* pnStep, XnInt32* pnDefault, XnBool* pbIsAutoSupported)
{
ModuleProductionNode* pNode = (ModuleProductionNode*)hInstance;
ModuleGeneralIntInterface* pInterface = pNode->GetGeneralIntInterface(strCap);
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->GetRange(strCap, *pnMin, *pnMax, *pnStep, *pnDefault, *pbIsAutoSupported);
}
XnStatus XN_CALLBACK_TYPE __ModuleGeneralIntGet(XnModuleNodeHandle hInstance, const XnChar* strCap, XnInt32* pnValue)
{
ModuleProductionNode* pNode = (ModuleProductionNode*)hInstance;
ModuleGeneralIntInterface* pInterface = pNode->GetGeneralIntInterface(strCap);
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->Get(strCap, *pnValue);
}
XnStatus XN_CALLBACK_TYPE __ModuleGeneralIntSet(XnModuleNodeHandle hInstance, const XnChar* strCap, XnInt32 nValue)
{
ModuleProductionNode* pNode = (ModuleProductionNode*)hInstance;
ModuleGeneralIntInterface* pInterface = pNode->GetGeneralIntInterface(strCap);
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->Set(strCap, nValue);
}
XnStatus XN_CALLBACK_TYPE __ModuleGeneralIntRegisterToValueChange
(XnModuleNodeHandle hInstance, const XnChar* strCap, XnModuleStateChangedHandler handler,
void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pNode = (ModuleProductionNode*)hInstance;
ModuleGeneralIntInterface* pInterface = pNode->GetGeneralIntInterface(strCap);
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->RegisterToValueChange(strCap, handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleGeneralIntUnregisterFromValueChange
(XnModuleNodeHandle hInstance, const XnChar* strCap, XnCallbackHandle hCallback)
{
ModuleProductionNode* pNode = (ModuleProductionNode*)hInstance;
ModuleGeneralIntInterface* pInterface = pNode->GetGeneralIntInterface(strCap);
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface,);
pInterface->UnregisterFromValueChange(strCap, hCallback);
}
XnStatus XN_CALLBACK_TYPE __ModuleSetIntProperty(XnModuleNodeHandle hInstance, const XnChar* strName, XnUInt64 nValue)
{
ModuleProductionNode* pNode = (ModuleProductionNode*)hInstance;
return pNode->SetIntProperty(strName, nValue);
}
XnStatus XN_CALLBACK_TYPE __ModuleSetRealProperty(XnModuleNodeHandle hInstance, const XnChar* strName, XnDouble dValue)
{
ModuleProductionNode* pNode = (ModuleProductionNode*)hInstance;
return pNode->SetRealProperty(strName, dValue);
}
XnStatus XN_CALLBACK_TYPE __ModuleSetStringProperty(XnModuleNodeHandle hInstance, const XnChar* strName, const XnChar* strValue)
{
ModuleProductionNode* pNode = (ModuleProductionNode*)hInstance;
return pNode->SetStringProperty(strName, strValue);
}
XnStatus XN_CALLBACK_TYPE __ModuleSetGeneralProperty(XnModuleNodeHandle hInstance, const XnChar* strName, XnUInt32 nBufferSize, const void* pBuffer)
{
ModuleProductionNode* pNode = (ModuleProductionNode*)hInstance;
return pNode->SetGeneralProperty(strName, nBufferSize, pBuffer);
}
XnStatus XN_CALLBACK_TYPE __ModuleGetIntProperty(XnModuleNodeHandle hInstance, const XnChar* strName, XnUInt64* pnValue)
{
ModuleProductionNode* pNode = (ModuleProductionNode*)hInstance;
return pNode->GetIntProperty(strName, *pnValue);
}
XnStatus XN_CALLBACK_TYPE __ModuleGetRealProperty(XnModuleNodeHandle hInstance, const XnChar* strName, XnDouble* pdValue)
{
ModuleProductionNode* pNode = (ModuleProductionNode*)hInstance;
return pNode->GetRealProperty(strName, *pdValue);
}
XnStatus XN_CALLBACK_TYPE __ModuleGetStringProperty(XnModuleNodeHandle hInstance, const XnChar* strName, XnChar* csValue, XnUInt32 nBufSize)
{
ModuleProductionNode* pNode = (ModuleProductionNode*)hInstance;
return pNode->GetStringProperty(strName, csValue, nBufSize);
}
XnStatus XN_CALLBACK_TYPE __ModuleGetGeneralProperty(XnModuleNodeHandle hInstance, const XnChar* strName, XnUInt32 nBufferSize, void* pBuffer)
{
ModuleProductionNode* pNode = (ModuleProductionNode*)hInstance;
return pNode->GetGeneralProperty(strName, nBufferSize, pBuffer);
}
XnStatus XN_CALLBACK_TYPE __ModuleSetOutputStream(XnModuleNodeHandle hInstance, void *pCookie, XnRecorderOutputStreamInterface *pStream)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hInstance;
ModuleRecorder* pNode = dynamic_cast<ModuleRecorder*>(pProdNode);
return pNode->SetOutputStream(pCookie, pStream);
}
XnStatus XN_CALLBACK_TYPE __ModuleSetInputStream(XnModuleNodeHandle hInstance, void *pStreamCookie, XnPlayerInputStreamInterface *pStream)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hInstance;
ModulePlayer* pNode = dynamic_cast<ModulePlayer*>(pProdNode);
return pNode->SetInputStream(pStreamCookie, pStream);
}
XnStatus XN_CALLBACK_TYPE __ModuleReadNext(XnModuleNodeHandle hInstance)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hInstance;
ModulePlayer* pNode = dynamic_cast<ModulePlayer*>(pProdNode);
return pNode->ReadNext();
}
XnStatus XN_CALLBACK_TYPE __ModuleSetRepeat(XnModuleNodeHandle hInstance, XnBool bRepeat)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hInstance;
ModulePlayer* pNode = dynamic_cast<ModulePlayer*>(pProdNode);
return pNode->SetRepeat(bRepeat);
}
XnStatus XN_CALLBACK_TYPE __ModuleSeekToTimeStamp(XnModuleNodeHandle hInstance, XnInt64 nTimeOffset, XnPlayerSeekOrigin origin)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hInstance;
ModulePlayer* pNode = dynamic_cast<ModulePlayer*>(pProdNode);
return pNode->SeekToTimeStamp(nTimeOffset, origin);
}
XnStatus XN_CALLBACK_TYPE __ModuleSeekToFrame(XnModuleNodeHandle hInstance, const XnChar* strNodeName, XnInt32 nFrameOffset, XnPlayerSeekOrigin origin)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hInstance;
ModulePlayer* pNode = dynamic_cast<ModulePlayer*>(pProdNode);
return pNode->SeekToFrame(strNodeName, nFrameOffset, origin);
}
XnStatus XN_CALLBACK_TYPE __ModuleTellTimestamp(XnModuleNodeHandle hInstance, XnUInt64* pnTimestamp)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hInstance;
ModulePlayer* pNode = dynamic_cast<ModulePlayer*>(pProdNode);
return pNode->TellTimestamp(*pnTimestamp);
}
XnStatus XN_CALLBACK_TYPE __ModuleTellFrame(XnModuleNodeHandle hInstance, const XnChar* strNodeName, XnUInt32* pnFrame)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hInstance;
ModulePlayer* pNode = dynamic_cast<ModulePlayer*>(pProdNode);
return pNode->TellFrame(strNodeName, *pnFrame);
}
XnStatus XN_CALLBACK_TYPE __ModuleGetNumFrames(XnModuleNodeHandle hInstance, const XnChar* strNodeName, XnUInt32* pnFrames)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hInstance;
ModulePlayer* pNode = dynamic_cast<ModulePlayer*>(pProdNode);
return pNode->GetNumFrames(strNodeName, *pnFrames);
}
const XnChar* XN_CALLBACK_TYPE __ModuleGetSupportedFormat(XnModuleNodeHandle hInstance)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hInstance;
ModulePlayer* pNode = dynamic_cast<ModulePlayer*>(pProdNode);
return pNode->GetSupportedFormat();
}
XnBool XN_CALLBACK_TYPE __ModuleIsEOF(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModulePlayer* pNode = dynamic_cast<ModulePlayer*>(pProdNode);
return pNode->IsEOF();
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToEndOfFileReached(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModulePlayer* pNode = dynamic_cast<ModulePlayer*>(pProdNode);
return pNode->RegisterToEndOfFileReached(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromEndOfFileReached(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModulePlayer* pNode = dynamic_cast<ModulePlayer*>(pProdNode);
pNode->UnregisterFromEndOfFileReached(hCallback);
}
XnStatus XN_CALLBACK_TYPE __ModuleSetNodeNotifications(XnModuleNodeHandle hInstance, void *pNodeNotificationsCookie, XnNodeNotifications *pNodeNotifications)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hInstance;
ModulePlayer* pNode = dynamic_cast<ModulePlayer*>(pProdNode);
return pNode->SetNodeNotifications(pNodeNotificationsCookie, pNodeNotifications);
}
XnStatus XN_CALLBACK_TYPE __ModuleOnNodeAdded(XnModuleNodeHandle hGenerator, const XnChar *strNodeName, XnProductionNodeType type, XnCodecID compression)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleRecorder* pNode = dynamic_cast<ModuleRecorder*>(pProdNode);
return pNode->OnNodeAdded(strNodeName, type, compression);
}
XnStatus XN_CALLBACK_TYPE __ModuleOnNodeRemoved(XnModuleNodeHandle hGenerator, const XnChar *strNodeName)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleRecorder* pNode = dynamic_cast<ModuleRecorder*>(pProdNode);
return pNode->OnNodeRemoved(strNodeName);
}
XnStatus XN_CALLBACK_TYPE __ModuleOnNodeIntPropChanged(XnModuleNodeHandle hGenerator, const XnChar *strNodeName, const XnChar* strPropName, XnUInt64 nValue)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleRecorder* pNode = dynamic_cast<ModuleRecorder*>(pProdNode);
return pNode->OnNodeIntPropChanged(strNodeName, strPropName, nValue);
}
XnStatus XN_CALLBACK_TYPE __ModuleOnNodeRealPropChanged(XnModuleNodeHandle hGenerator, const XnChar *strNodeName, const XnChar* strPropName, XnDouble dValue)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleRecorder* pNode = dynamic_cast<ModuleRecorder*>(pProdNode);
return pNode->OnNodeRealPropChanged(strNodeName, strPropName, dValue);
}
XnStatus XN_CALLBACK_TYPE __ModuleOnNodeStringPropChanged(XnModuleNodeHandle hGenerator, const XnChar *strNodeName, const XnChar* strPropName, const XnChar* strValue)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleRecorder* pNode = dynamic_cast<ModuleRecorder*>(pProdNode);
return pNode->OnNodeStringPropChanged(strNodeName, strPropName, strValue);
}
XnStatus XN_CALLBACK_TYPE __ModuleOnNodeGeneralPropChanged(XnModuleNodeHandle hGenerator, const XnChar *strNodeName, const XnChar* strPropName, XnUInt32 nBufferSize, const void* pBuffer)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleRecorder* pNode = dynamic_cast<ModuleRecorder*>(pProdNode);
return pNode->OnNodeGeneralPropChanged(strNodeName, strPropName, nBufferSize, pBuffer);
}
XnStatus XN_CALLBACK_TYPE __ModuleOnNodeNewData(XnModuleNodeHandle hGenerator, const XnChar *strNodeName, XnUInt64 nTimeStamp, XnUInt32 nFrame, const void *pData, XnUInt32 nSize)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleRecorder* pNode = dynamic_cast<ModuleRecorder*>(pProdNode);
return pNode->OnNodeNewData(strNodeName, nTimeStamp, nFrame, pData, nSize);
}
XnStatus XN_CALLBACK_TYPE __ModuleOnNodeStateReady(XnModuleNodeHandle hGenerator, const XnChar *strNodeName)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleRecorder* pNode = dynamic_cast<ModuleRecorder*>(pProdNode);
return pNode->OnNodeStateReady(strNodeName);
}
XnStatus XN_CALLBACK_TYPE __ModuleGetDeviceName(XnModuleNodeHandle hInstance, XnChar* strBuffer, XnUInt32* pnBufferSize)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hInstance;
ModuleDevice* pNode = dynamic_cast<ModuleDevice*>(pProdNode);
ModuleDeviceIdentificationInterface* pInterface = pNode->GetIdentificationInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->GetDeviceName(strBuffer, *pnBufferSize);
}
XnStatus XN_CALLBACK_TYPE __ModuleGetVendorSpecificData(XnModuleNodeHandle hInstance, XnChar* strBuffer, XnUInt32* pnBufferSize)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hInstance;
ModuleDevice* pNode = dynamic_cast<ModuleDevice*>(pProdNode);
ModuleDeviceIdentificationInterface* pInterface = pNode->GetIdentificationInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->GetVendorSpecificData(strBuffer, *pnBufferSize);
}
XnStatus XN_CALLBACK_TYPE __ModuleGetSerialNumber(XnModuleNodeHandle hInstance, XnChar* strBuffer, XnUInt32* pnBufferSize)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hInstance;
ModuleDevice* pNode = dynamic_cast<ModuleDevice*>(pProdNode);
ModuleDeviceIdentificationInterface* pInterface = pNode->GetIdentificationInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->GetSerialNumber(strBuffer, *pnBufferSize);
}
XnStatus XN_CALLBACK_TYPE __ModuleSetMirror(XnModuleNodeHandle hGenerator, XnBool bMirror)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
ModuleMirrorInterface* pInterface = pNode->GetMirrorInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->SetMirror(bMirror);
}
XnBool XN_CALLBACK_TYPE __ModuleIsMirrored(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
ModuleMirrorInterface* pInterface = pNode->GetMirrorInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface, FALSE);
return pInterface->IsMirrored();
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToMirrorChange(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
ModuleMirrorInterface* pInterface = pNode->GetMirrorInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->RegisterToMirrorChange(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromMirrorChange(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
ModuleMirrorInterface* pInterface = pNode->GetMirrorInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface,);
pInterface->UnregisterFromMirrorChange(hCallback);
}
XnBool XN_CALLBACK_TYPE __ModuleIsViewPointSupported(XnModuleNodeHandle hGenerator, XnNodeHandle hNode)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
ProductionNode node(hNode);
ModuleAlternativeViewPointInterface* pInterface = pNode->GetAlternativeViewPointInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface, FALSE);
return pInterface->IsViewPointSupported(node);
}
XnStatus XN_CALLBACK_TYPE __ModuleSetViewPoint(XnModuleNodeHandle hGenerator, XnNodeHandle hNode)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
ProductionNode node(hNode);
ModuleAlternativeViewPointInterface* pInterface = pNode->GetAlternativeViewPointInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->SetViewPoint(node);
}
XnStatus XN_CALLBACK_TYPE __ModuleResetViewPoint(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
ModuleAlternativeViewPointInterface* pInterface = pNode->GetAlternativeViewPointInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->ResetViewPoint();
}
XnBool XN_CALLBACK_TYPE __ModuleIsViewPointAs(XnModuleNodeHandle hGenerator, XnNodeHandle hNode)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
ModuleAlternativeViewPointInterface* pInterface = pNode->GetAlternativeViewPointInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface, FALSE);
ProductionNode node(hNode);
return pInterface->IsViewPointAs(node);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToViewPointChange(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
ModuleAlternativeViewPointInterface* pInterface = pNode->GetAlternativeViewPointInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->RegisterToViewPointChange(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromViewPointChange(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
ModuleAlternativeViewPointInterface* pInterface = pNode->GetAlternativeViewPointInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface,);
pInterface->UnregisterFromViewPointChange(hCallback);
}
XnBool XN_CALLBACK_TYPE __ModuleCanFrameSyncWith(XnModuleNodeHandle hGenerator, XnNodeHandle hNode)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
ModuleFrameSyncInterface* pInterface = pNode->GetFrameSyncInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface, FALSE);
ProductionNode node(hNode);
return pInterface->CanFrameSyncWith(node);
}
XnStatus XN_CALLBACK_TYPE __ModuleFrameSyncWith(XnModuleNodeHandle hGenerator, XnNodeHandle hNode)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
ModuleFrameSyncInterface* pInterface = pNode->GetFrameSyncInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
ProductionNode node(hNode);
return pInterface->FrameSyncWith(node);
}
XnStatus XN_CALLBACK_TYPE __ModuleStopFrameSyncWith(XnModuleNodeHandle hGenerator, XnNodeHandle hNode)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
ModuleFrameSyncInterface* pInterface = pNode->GetFrameSyncInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
ProductionNode node(hNode);
return pInterface->StopFrameSyncWith(node);
}
XnBool XN_CALLBACK_TYPE __ModuleIsFrameSyncedWith(XnModuleNodeHandle hGenerator, XnNodeHandle hNode)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
ModuleFrameSyncInterface* pInterface = pNode->GetFrameSyncInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface, FALSE);
ProductionNode node(hNode);
return pInterface->IsFrameSyncedWith(node);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToFrameSyncChange(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
ModuleFrameSyncInterface* pInterface = pNode->GetFrameSyncInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->RegisterToFrameSyncChange(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromFrameSyncChange(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
ModuleFrameSyncInterface* pInterface = pNode->GetFrameSyncInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface,);
pInterface->UnregisterFromFrameSyncChange(hCallback);
}
XnStatus XN_CALLBACK_TYPE __ModuleStartGenerating(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
return pNode->StartGenerating();
}
XnBool XN_CALLBACK_TYPE __ModuleIsGenerating(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
return pNode->IsGenerating();
}
void XN_CALLBACK_TYPE __ModuleStopGenerating(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
pNode->StopGenerating();
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToGenerationRunningChange(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
return pNode->RegisterToGenerationRunningChange(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromGenerationRunningChange(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
pNode->UnregisterFromGenerationRunningChange(hCallback);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToNewDataAvailable(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
return pNode->RegisterToNewDataAvailable(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromNewDataAvailable(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
pNode->UnregisterFromNewDataAvailable(hCallback);
}
XnBool XN_CALLBACK_TYPE __ModuleIsNewDataAvailable(XnModuleNodeHandle hGenerator, XnUInt64* pnTimestamp)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
return pNode->IsNewDataAvailable(*pnTimestamp);
}
XnStatus XN_CALLBACK_TYPE __ModuleUpdateData(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
return pNode->UpdateData();
}
const void* XN_CALLBACK_TYPE __ModuleGetData(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
return pNode->GetData();
}
XnUInt32 XN_CALLBACK_TYPE __ModuleGetDataSize(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
return pNode->GetDataSize();
}
XnUInt64 XN_CALLBACK_TYPE __ModuleGetTimestamp(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
return pNode->GetTimestamp();
}
XnUInt32 XN_CALLBACK_TYPE __ModuleGetFrameID(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGenerator* pNode = dynamic_cast<ModuleGenerator*>(pProdNode);
return pNode->GetFrameID();
}
XnStatus XN_CALLBACK_TYPE __ModuleSetCropping(XnModuleNodeHandle hGenerator, const XnCropping* pCropping)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleMapGenerator* pNode = dynamic_cast<ModuleMapGenerator*>(pProdNode);
ModuleCroppingInterface* pInterface = pNode->GetCroppingInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->SetCropping(*pCropping);
}
XnStatus XN_CALLBACK_TYPE __ModuleGetCropping(XnModuleNodeHandle hGenerator, XnCropping* pCropping)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleMapGenerator* pNode = dynamic_cast<ModuleMapGenerator*>(pProdNode);
ModuleCroppingInterface* pInterface = pNode->GetCroppingInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->GetCropping(*pCropping);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToCroppingChange(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleMapGenerator* pNode = dynamic_cast<ModuleMapGenerator*>(pProdNode);
ModuleCroppingInterface* pInterface = pNode->GetCroppingInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->RegisterToCroppingChange(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromCroppingChange(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleMapGenerator* pNode = dynamic_cast<ModuleMapGenerator*>(pProdNode);
ModuleCroppingInterface* pInterface = pNode->GetCroppingInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface,);
pInterface->UnregisterFromCroppingChange(hCallback);
}
XnStatus XN_CALLBACK_TYPE __ModuleSetPowerLineFrequency(XnModuleNodeHandle hGenerator, XnPowerLineFrequency nFrequency)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleMapGenerator* pNode = dynamic_cast<ModuleMapGenerator*>(pProdNode);
ModuleAntiFlickerInterface* pInterface = pNode->GetAntiFlickerInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->SetPowerLineFrequency(nFrequency);
}
XnPowerLineFrequency XN_CALLBACK_TYPE __ModuleGetPowerLineFrequency(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleMapGenerator* pNode = dynamic_cast<ModuleMapGenerator*>(pProdNode);
ModuleAntiFlickerInterface* pInterface = pNode->GetAntiFlickerInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface, XN_POWER_LINE_FREQUENCY_OFF);
return pInterface->GetPowerLineFrequency();
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToPowerLineFrequencyChange(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleMapGenerator* pNode = dynamic_cast<ModuleMapGenerator*>(pProdNode);
ModuleAntiFlickerInterface* pInterface = pNode->GetAntiFlickerInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->RegisterToPowerLineFrequencyChange(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromPowerLineFrequencyChange(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleMapGenerator* pNode = dynamic_cast<ModuleMapGenerator*>(pProdNode);
ModuleAntiFlickerInterface* pInterface = pNode->GetAntiFlickerInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface,);
pInterface->UnregisterFromPowerLineFrequencyChange(hCallback);
}
XnUInt32 XN_CALLBACK_TYPE __ModuleGetSupportedMapOutputModesCount(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleMapGenerator* pNode = dynamic_cast<ModuleMapGenerator*>(pProdNode);
return pNode->GetSupportedMapOutputModesCount();
}
XnStatus XN_CALLBACK_TYPE __ModuleGetSupportedMapOutputModes(XnModuleNodeHandle hGenerator, XnMapOutputMode* aModes, XnUInt32* pnCount)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleMapGenerator* pNode = dynamic_cast<ModuleMapGenerator*>(pProdNode);
return pNode->GetSupportedMapOutputModes(aModes, *pnCount);
}
XnStatus XN_CALLBACK_TYPE __ModuleSetMapOutputMode(XnModuleNodeHandle hGenerator, const XnMapOutputMode* pOutputMode)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleMapGenerator* pNode = dynamic_cast<ModuleMapGenerator*>(pProdNode);
return pNode->SetMapOutputMode(*pOutputMode);
}
XnStatus XN_CALLBACK_TYPE __ModuleGetMapOutputMode(XnModuleNodeHandle hGenerator, XnMapOutputMode* pOutputMode)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleMapGenerator* pNode = dynamic_cast<ModuleMapGenerator*>(pProdNode);
return pNode->GetMapOutputMode(*pOutputMode);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToMapOutputModeChange(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleMapGenerator* pNode = dynamic_cast<ModuleMapGenerator*>(pProdNode);
return pNode->RegisterToMapOutputModeChange(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromMapOutputModeChange(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleMapGenerator* pNode = dynamic_cast<ModuleMapGenerator*>(pProdNode);
pNode->UnregisterFromMapOutputModeChange(hCallback);
}
XnUInt32 XN_CALLBACK_TYPE __ModuleGetBytesPerPixel(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleMapGenerator* pNode = dynamic_cast<ModuleMapGenerator*>(pProdNode);
return pNode->GetBytesPerPixel();
}
XnUInt32 XN_CALLBACK_TYPE __ModuleGetSupportedUserPositionsCount(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleDepthGenerator* pNode = dynamic_cast<ModuleDepthGenerator*>(pProdNode);
ModuleUserPositionInterface* pInterface = pNode->GetUserPositionInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface, 0);
return pInterface->GetSupportedUserPositionsCount();
}
XnStatus XN_CALLBACK_TYPE __ModuleSetUserPosition(XnModuleNodeHandle hGenerator, XnUInt32 nIndex, const XnBoundingBox3D* pPosition)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleDepthGenerator* pNode = dynamic_cast<ModuleDepthGenerator*>(pProdNode);
ModuleUserPositionInterface* pInterface = pNode->GetUserPositionInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->SetUserPosition(nIndex, *pPosition);
}
XnStatus XN_CALLBACK_TYPE __ModuleGetUserPosition(XnModuleNodeHandle hGenerator, XnUInt32 nIndex, XnBoundingBox3D* pPosition)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleDepthGenerator* pNode = dynamic_cast<ModuleDepthGenerator*>(pProdNode);
ModuleUserPositionInterface* pInterface = pNode->GetUserPositionInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->GetUserPosition(nIndex, *pPosition);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToUserPositionChange(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleDepthGenerator* pNode = dynamic_cast<ModuleDepthGenerator*>(pProdNode);
ModuleUserPositionInterface* pInterface = pNode->GetUserPositionInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->RegisterToUserPositionChange(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromUserPositionChange(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleDepthGenerator* pNode = dynamic_cast<ModuleDepthGenerator*>(pProdNode);
ModuleUserPositionInterface* pInterface = pNode->GetUserPositionInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface,);
pInterface->UnregisterFromUserPositionChange(hCallback);
}
XnDepthPixel XN_CALLBACK_TYPE __ModuleGetDeviceMaxDepth(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleDepthGenerator* pNode = dynamic_cast<ModuleDepthGenerator*>(pProdNode);
return pNode->GetDeviceMaxDepth();
}
void XN_CALLBACK_TYPE __ModuleGetFieldOfView(XnModuleNodeHandle hGenerator, XnFieldOfView* pFOV)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleDepthGenerator* pNode = dynamic_cast<ModuleDepthGenerator*>(pProdNode);
pNode->GetFieldOfView(*pFOV);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToFieldOfViewChange(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleDepthGenerator* pNode = dynamic_cast<ModuleDepthGenerator*>(pProdNode);
return pNode->RegisterToFieldOfViewChange(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromFieldOfViewChange(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleDepthGenerator* pNode = dynamic_cast<ModuleDepthGenerator*>(pProdNode);
pNode->UnregisterFromFieldOfViewChange(hCallback);
}
XnDepthPixel* XN_CALLBACK_TYPE __ModuleGetDepthMap(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleDepthGenerator* pNode = dynamic_cast<ModuleDepthGenerator*>(pProdNode);
return pNode->GetDepthMap();
}
XnUInt8* XN_CALLBACK_TYPE __ModuleGetImageMap(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleImageGenerator* pNode = dynamic_cast<ModuleImageGenerator*>(pProdNode);
return pNode->GetImageMap();
}
XnBool XN_CALLBACK_TYPE __ModuleIsPixelFormatSupported(XnModuleNodeHandle hGenerator, XnPixelFormat Format)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleImageGenerator* pNode = dynamic_cast<ModuleImageGenerator*>(pProdNode);
return pNode->IsPixelFormatSupported(Format);
}
XnStatus XN_CALLBACK_TYPE __ModuleSetPixelFormat(XnModuleNodeHandle hGenerator, XnPixelFormat Format)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleImageGenerator* pNode = dynamic_cast<ModuleImageGenerator*>(pProdNode);
return pNode->SetPixelFormat(Format);
}
XnPixelFormat XN_CALLBACK_TYPE __ModuleGetPixelFormat(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleImageGenerator* pNode = dynamic_cast<ModuleImageGenerator*>(pProdNode);
return pNode->GetPixelFormat();
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToPixelFormatChange(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleImageGenerator* pNode = dynamic_cast<ModuleImageGenerator*>(pProdNode);
return pNode->RegisterToPixelFormatChange(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromPixelFormatChange(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleImageGenerator* pNode = dynamic_cast<ModuleImageGenerator*>(pProdNode);
pNode->UnregisterFromPixelFormatChange(hCallback);
}
XnIRPixel* XN_CALLBACK_TYPE __ModuleGetIRMap(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleIRGenerator* pNode = dynamic_cast<ModuleIRGenerator*>(pProdNode);
return pNode->GetIRMap();
}
XnStatus XN_CALLBACK_TYPE __ModuleAddGesture(XnModuleNodeHandle hGenerator, const XnChar* strGesture, XnBoundingBox3D* pArea)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGestureGenerator* pNode = dynamic_cast<ModuleGestureGenerator*>(pProdNode);
return pNode->AddGesture(strGesture, pArea);
}
XnStatus XN_CALLBACK_TYPE __ModuleRemoveGesture(XnModuleNodeHandle hGenerator, const XnChar* strGesture)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGestureGenerator* pNode = dynamic_cast<ModuleGestureGenerator*>(pProdNode);
return pNode->RemoveGesture(strGesture);
}
XnStatus XN_CALLBACK_TYPE __ModuleGetActiveGestures(XnModuleNodeHandle hGenerator, XnChar** pstrGestures, XnUInt16* pnGestures)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGestureGenerator* pNode = dynamic_cast<ModuleGestureGenerator*>(pProdNode);
return pNode->GetActiveGestures(pstrGestures, *pnGestures);
}
XnStatus XN_CALLBACK_TYPE __ModuleGetAllActiveGestures(XnModuleNodeHandle hGenerator, XnChar** pstrGestures, XnUInt32 nNameLength, XnUInt16* pnGestures)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGestureGenerator* pNode = dynamic_cast<ModuleGestureGenerator*>(pProdNode);
return pNode->GetAllActiveGestures(pstrGestures, nNameLength, *pnGestures);
}
XnStatus XN_CALLBACK_TYPE __ModuleEnumerateGestures(XnModuleNodeHandle hGenerator, XnChar** pstrGestures, XnUInt16* pnGestures)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGestureGenerator* pNode = dynamic_cast<ModuleGestureGenerator*>(pProdNode);
return pNode->EnumerateGestures(pstrGestures, *pnGestures);
}
XnStatus XN_CALLBACK_TYPE __ModuleEnumerateAllGestures(XnModuleNodeHandle hGenerator, XnChar** pstrGestures, XnUInt32 nNameLength, XnUInt16* pnGestures)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGestureGenerator* pNode = dynamic_cast<ModuleGestureGenerator*>(pProdNode);
return pNode->EnumerateAllGestures(pstrGestures, nNameLength, *pnGestures);
}
XnBool XN_CALLBACK_TYPE __ModuleIsGestureAvailable(XnModuleNodeHandle hGenerator, const XnChar* strGesture)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGestureGenerator* pNode = dynamic_cast<ModuleGestureGenerator*>(pProdNode);
return pNode->IsGestureAvailable(strGesture);
}
XnBool XN_CALLBACK_TYPE __ModuleIsGestureProgressSupported(XnModuleNodeHandle hGenerator, const XnChar* strGesture)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGestureGenerator* pNode = dynamic_cast<ModuleGestureGenerator*>(pProdNode);
return pNode->IsGestureProgressSupported(strGesture);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterGestureCallbacks(XnModuleNodeHandle hGenerator, XnModuleGestureRecognized RecognizedCB, XnModuleGestureProgress ProgressCB, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGestureGenerator* pNode = dynamic_cast<ModuleGestureGenerator*>(pProdNode);
return pNode->RegisterGestureCallbacks(RecognizedCB, ProgressCB, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterGestureCallbacks(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGestureGenerator* pNode = dynamic_cast<ModuleGestureGenerator*>(pProdNode);
pNode->UnregisterGestureCallbacks(hCallback);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToGestureChange(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGestureGenerator* pNode = dynamic_cast<ModuleGestureGenerator*>(pProdNode);
return pNode->RegisterToGestureChange(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromGestureChange(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGestureGenerator* pNode = dynamic_cast<ModuleGestureGenerator*>(pProdNode);
pNode->UnregisterFromGestureChange(hCallback);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToGestureIntermediateStageCompleted(XnModuleNodeHandle hGenerator, XnModuleGestureIntermediateStageCompleted handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGestureGenerator* pNode = dynamic_cast<ModuleGestureGenerator*>(pProdNode);
return pNode->RegisterToGestureIntermediateStageCompleted(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromGestureIntermediateStageCompleted(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGestureGenerator* pNode = dynamic_cast<ModuleGestureGenerator*>(pProdNode);
pNode->UnregisterFromGestureIntermediateStageCompleted(hCallback);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToGestureReadyForNextIntermediateStage(XnModuleNodeHandle hGenerator, XnModuleGestureReadyForNextIntermediateStage handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGestureGenerator* pNode = dynamic_cast<ModuleGestureGenerator*>(pProdNode);
return pNode->RegisterToGestureReadyForNextIntermediateStage(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromGestureReadyForNextIntermediateStage(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleGestureGenerator* pNode = dynamic_cast<ModuleGestureGenerator*>(pProdNode);
pNode->UnregisterFromGestureReadyForNextIntermediateStage(hCallback);
}
const XnLabel* XN_CALLBACK_TYPE __ModuleGetLabelMap(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleSceneAnalyzer* pNode = dynamic_cast<ModuleSceneAnalyzer*>(pProdNode);
return pNode->GetLabelMap();
}
XnStatus XN_CALLBACK_TYPE __ModuleGetFloor(XnModuleNodeHandle hGenerator, XnPlane3D* pPlane)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleSceneAnalyzer* pNode = dynamic_cast<ModuleSceneAnalyzer*>(pProdNode);
return pNode->GetFloor(*pPlane);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterHandCallbacks(XnModuleNodeHandle hGenerator, XnModuleHandCreate CreateCB, XnModuleHandUpdate UpdateCB, XnModuleHandDestroy DestroyCB, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleHandsGenerator* pNode = dynamic_cast<ModuleHandsGenerator*>(pProdNode);
return pNode->RegisterHandCallbacks(CreateCB, UpdateCB, DestroyCB, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterHandCallbacks(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleHandsGenerator* pNode = dynamic_cast<ModuleHandsGenerator*>(pProdNode);
pNode->UnregisterHandCallbacks(hCallback);
}
XnStatus XN_CALLBACK_TYPE __ModuleStopTracking(XnModuleNodeHandle hGenerator, XnUserID user)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleHandsGenerator* pNode = dynamic_cast<ModuleHandsGenerator*>(pProdNode);
return pNode->StopTracking(user);
}
XnStatus XN_CALLBACK_TYPE __ModuleStopTrackingAll(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleHandsGenerator* pNode = dynamic_cast<ModuleHandsGenerator*>(pProdNode);
return pNode->StopTrackingAll();
}
XnStatus XN_CALLBACK_TYPE __ModuleStartTracking(XnModuleNodeHandle hGenerator, const XnPoint3D* pPosition)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleHandsGenerator* pNode = dynamic_cast<ModuleHandsGenerator*>(pProdNode);
return pNode->StartTracking(*pPosition);
}
XnStatus XN_CALLBACK_TYPE __ModuleSetTrackingSmoothing(XnModuleNodeHandle hGenerator, XnFloat fSmoothingFactor)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleHandsGenerator* pNode = dynamic_cast<ModuleHandsGenerator*>(pProdNode);
return pNode->SetSmoothing(fSmoothingFactor);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToHandTouchingFOVEdgeCallback(XnModuleNodeHandle hGenerator, XnModuleHandTouchingFOVEdge handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleHandsGenerator* pNode = dynamic_cast<ModuleHandsGenerator*>(pProdNode);
ModuleHandTouchingFOVEdgeInterface* pInterface = pNode->GetHandTouchingFOVEdgeInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->RegisterToHandTouchingFOVEdge(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromHandTouchingFOVEdgeCallback(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleHandsGenerator* pNode = dynamic_cast<ModuleHandsGenerator*>(pProdNode);
ModuleHandTouchingFOVEdgeInterface* pInterface = pNode->GetHandTouchingFOVEdgeInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface, );
pInterface->UnregisterFromHandTouchingFOVEdge(hCallback);
}
XnBool XN_CALLBACK_TYPE __ModuleIsJointAvailable(XnModuleNodeHandle hGenerator, XnSkeletonJoint eJoint)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface, FALSE);
return pInterface->IsJointAvailable(eJoint);
}
XnBool XN_CALLBACK_TYPE __ModuleIsProfileAvailable(XnModuleNodeHandle hGenerator, XnSkeletonProfile eProfile)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface, FALSE);
return pInterface->IsProfileAvailable(eProfile);
}
XnStatus XN_CALLBACK_TYPE __ModuleSetSkeletonProfile(XnModuleNodeHandle hGenerator, XnSkeletonProfile eProfile)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->SetSkeletonProfile(eProfile);
}
XnStatus XN_CALLBACK_TYPE __ModuleSetJointActive(XnModuleNodeHandle hGenerator, XnSkeletonJoint eJoint, XnBool bState)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->SetJointActive(eJoint, bState);
}
XnBool XN_CALLBACK_TYPE __ModuleIsJointActive(XnModuleNodeHandle hGenerator, XnSkeletonJoint eJoint)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface, FALSE);
return pInterface->IsJointActive(eJoint);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToJointConfigurationChange(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->RegisterToJointConfigurationChange(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromJointConfigurationChange(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface,);
pInterface->UnregisterFromJointConfigurationChange(hCallback);
}
XnStatus XN_CALLBACK_TYPE __ModuleEnumerateActiveJoints(XnModuleNodeHandle hGenerator, XnSkeletonJoint* pJoints, XnUInt16* pnJoints)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->EnumerateActiveJoints(pJoints, *pnJoints);
}
XnStatus XN_CALLBACK_TYPE __ModuleGetSkeletonJoint(XnModuleNodeHandle hGenerator, XnUserID user, XnSkeletonJoint eJoint, XnSkeletonJointTransformation* pJoint)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->GetSkeletonJoint(user, eJoint, *pJoint);
}
XnStatus XN_CALLBACK_TYPE __ModuleGetSkeletonJointPosition(XnModuleNodeHandle hGenerator, XnUserID user, XnSkeletonJoint eJoint, XnSkeletonJointPosition* pJoint)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->GetSkeletonJointPosition(user, eJoint, *pJoint);
}
XnStatus XN_CALLBACK_TYPE __ModuleGetSkeletonJointOrientation(XnModuleNodeHandle hGenerator, XnUserID user, XnSkeletonJoint eJoint, XnSkeletonJointOrientation* pJoint)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->GetSkeletonJointOrientation(user, eJoint, *pJoint);
}
XnBool XN_CALLBACK_TYPE __ModuleIsSkeletonTracking(XnModuleNodeHandle hGenerator, XnUserID user)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface, FALSE);
return pInterface->IsTracking(user);
}
XnBool XN_CALLBACK_TYPE __ModuleIsSkeletonCalibrated(XnModuleNodeHandle hGenerator, XnUserID user)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface, FALSE);
return pInterface->IsCalibrated(user);
}
XnBool XN_CALLBACK_TYPE __ModuleIsSkeletonCalibrating(XnModuleNodeHandle hGenerator, XnUserID user)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface, FALSE);
return pInterface->IsCalibrating(user);
}
XnStatus XN_CALLBACK_TYPE __ModuleRequestSkeletonCalibration(XnModuleNodeHandle hGenerator, XnUserID user, XnBool bForce)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->RequestCalibration(user, bForce);
}
XnStatus XN_CALLBACK_TYPE __ModuleAbortSkeletonCalibration(XnModuleNodeHandle hGenerator, XnUserID user)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->AbortCalibration(user);
}
XnStatus XN_CALLBACK_TYPE __ModuleSaveCalibrationDataToFile(XnModuleNodeHandle hGenerator, XnUserID user, const XnChar* strFileName)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->SaveCalibrationDataToFile(user, strFileName);
}
XnStatus XN_CALLBACK_TYPE __ModuleLoadCalibrationDataFromFile(XnModuleNodeHandle hGenerator, XnUserID user, const XnChar* strFileName)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->LoadCalibrationDataFromFile(user, strFileName);
}
XnStatus XN_CALLBACK_TYPE __ModuleSaveCalibrationData(XnModuleNodeHandle hGenerator, XnUserID user, XnUInt32 nSlot)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->SaveCalibrationData(user, nSlot);
}
XnStatus XN_CALLBACK_TYPE __ModuleLoadCalibrationData(XnModuleNodeHandle hGenerator, XnUserID user, XnUInt32 nSlot)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->LoadCalibrationData(user, nSlot);
}
XnStatus XN_CALLBACK_TYPE __ModuleClearCalibrationData(XnModuleNodeHandle hGenerator, XnUInt32 nSlot)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->ClearCalibrationData(nSlot);
}
XnBool XN_CALLBACK_TYPE __ModuleIsCalibrationData(XnModuleNodeHandle hGenerator, XnUInt32 nSlot)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface, FALSE);
return pInterface->IsCalibrationData(nSlot);
}
XnStatus XN_CALLBACK_TYPE __ModuleStartSkeletonTracking(XnModuleNodeHandle hGenerator, XnUserID user)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->StartTracking(user);
}
XnStatus XN_CALLBACK_TYPE __ModuleStopSkeletonTracking(XnModuleNodeHandle hGenerator, XnUserID user)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->StopTracking(user);
}
XnStatus XN_CALLBACK_TYPE __ModuleResetSkeleton(XnModuleNodeHandle hGenerator, XnUserID user)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->Reset(user);
}
XnBool XN_CALLBACK_TYPE __ModuleNeedPoseForSkeletonCalibration(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface, FALSE);
return pInterface->NeedPoseForCalibration();
}
XnStatus XN_CALLBACK_TYPE __ModuleGetSkeletonCalibrationPose(XnModuleNodeHandle hGenerator, XnChar* strPose)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->GetCalibrationPose(strPose);
}
XnStatus XN_CALLBACK_TYPE __ModuleSetSkeletonSmoothing(XnModuleNodeHandle hGenerator, XnFloat fSmoothingFactor)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->SetSmoothing(fSmoothingFactor);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterCalibrationCallbacks(XnModuleNodeHandle hGenerator, XnModuleCalibrationStart CalibrationStartCB, XnModuleCalibrationEnd CalibrationEndCB, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->RegisterCalibrationCallbacks(CalibrationStartCB, CalibrationEndCB, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterCalibrationCallbacks(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface,);
pInterface->UnregisterCalibrationCallbacks(hCallback);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToCalibrationStartCallback(XnModuleNodeHandle hGenerator, XnModuleCalibrationStart handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->RegisterToCalibrationStart(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromCalibrationStartCallback(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface,);
pInterface->UnregisterFromCalibrationStart(hCallback);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToCalibrationInProgressCallback(XnModuleNodeHandle hGenerator, XnModuleCalibrationInProgress handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->RegisterToCalibrationInProgress(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromCalibrationInProgressCallback(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface,);
pInterface->UnregisterFromCalibrationInProgress(hCallback);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToCalibrationCompleteCallback(XnModuleNodeHandle hGenerator, XnModuleCalibrationComplete handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->RegisterToCalibrationComplete(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromCalibrationCompleteCallback(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModuleSkeletonInterface* pInterface = pNode->GetSkeletonInterface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface,);
pInterface->UnregisterFromCalibrationComplete(hCallback);
}
XnUInt32 XN_CALLBACK_TYPE __ModuleGetNumberOfPoses(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModulePoseDetectionInteface* pInterface = pNode->GetPoseDetectionInteface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface, 0);
return pInterface->GetNumberOfPoses();
}
XnStatus XN_CALLBACK_TYPE __ModuleGetAvailablePoses(XnModuleNodeHandle hGenerator, XnChar** pstrPoses, XnUInt32* pnPoses)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModulePoseDetectionInteface* pInterface = pNode->GetPoseDetectionInteface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->GetAvailablePoses(pstrPoses, *pnPoses);
}
XnStatus XN_CALLBACK_TYPE __ModuleGetAllAvailablePoses(XnModuleNodeHandle hGenerator, XnChar** pstrPoses, XnUInt32 nNameLength, XnUInt32* pnPoses)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModulePoseDetectionInteface* pInterface = pNode->GetPoseDetectionInteface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->GetAllAvailablePoses(pstrPoses, nNameLength, *pnPoses);
}
XnStatus XN_CALLBACK_TYPE __ModuleStartPoseDetection(XnModuleNodeHandle hGenerator, const XnChar* strPose, XnUserID user)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModulePoseDetectionInteface* pInterface = pNode->GetPoseDetectionInteface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->StartPoseDetection(strPose, user);
}
XnStatus XN_CALLBACK_TYPE __ModuleStopPoseDetection(XnModuleNodeHandle hGenerator, XnUserID user)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModulePoseDetectionInteface* pInterface = pNode->GetPoseDetectionInteface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->StopPoseDetection(user);
}
XnStatus XN_CALLBACK_TYPE __ModuleStopSinglePoseDetection(XnModuleNodeHandle hGenerator, XnUserID user, const XnChar* strPose)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModulePoseDetectionInteface* pInterface = pNode->GetPoseDetectionInteface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->StopSinglePoseDetection(user, strPose);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToPoseCallbacks(XnModuleNodeHandle hGenerator, XnModulePoseDetectionCallback PoseDetectionStartCB, XnModulePoseDetectionCallback PoseDetectionEndCB, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModulePoseDetectionInteface* pInterface = pNode->GetPoseDetectionInteface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->RegisterToPoseDetectionCallbacks(PoseDetectionStartCB, PoseDetectionEndCB, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromPoseCallbacks(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModulePoseDetectionInteface* pInterface = pNode->GetPoseDetectionInteface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface,);
pInterface->UnregisterFromPoseDetectionCallbacks(hCallback);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToPoseDetected(XnModuleNodeHandle hGenerator, XnModulePoseDetectionCallback handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModulePoseDetectionInteface* pInterface = pNode->GetPoseDetectionInteface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->RegisterToPoseDetected(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromPoseDetected(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModulePoseDetectionInteface* pInterface = pNode->GetPoseDetectionInteface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface,);
pInterface->UnregisterFromPoseDetected(hCallback);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToOutOfPose(XnModuleNodeHandle hGenerator, XnModulePoseDetectionCallback handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModulePoseDetectionInteface* pInterface = pNode->GetPoseDetectionInteface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->RegisterToOutOfPose(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromOutOfPose(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModulePoseDetectionInteface* pInterface = pNode->GetPoseDetectionInteface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface,);
pInterface->UnregisterFromOutOfPose(hCallback);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToPoseInProgressCallback(XnModuleNodeHandle hGenerator, XnModulePoseDetectionInProgressCallback handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModulePoseDetectionInteface* pInterface = pNode->GetPoseDetectionInteface();
_XN_VALIDATE_CAPABILITY_INTERFACE(pInterface);
return pInterface->RegisterToPoseDetectionInProgress(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromPoseInProgressCallback(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
ModulePoseDetectionInteface* pInterface = pNode->GetPoseDetectionInteface();
_XN_VALIDATE_CAPABILITY_INTERFACE_RET(pInterface,);
pInterface->UnregisterFromPoseDetectionInProgress(hCallback);
}
XnUInt16 XN_CALLBACK_TYPE __ModuleGetNumberOfUsers(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
return pNode->GetNumberOfUsers();
}
XnStatus XN_CALLBACK_TYPE __ModuleGetUsers(XnModuleNodeHandle hGenerator, XnUserID* pUsers, XnUInt16* pnUsers)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
return pNode->GetUsers(pUsers, *pnUsers);
}
XnStatus XN_CALLBACK_TYPE __ModuleGetUserCoM(XnModuleNodeHandle hGenerator, XnUserID user, XnPoint3D* pCoM)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
return pNode->GetCoM(user, *pCoM);
}
XnStatus XN_CALLBACK_TYPE __ModuleGetUserPixels(XnModuleNodeHandle hGenerator, XnUserID user, XnSceneMetaData* pScene)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
return pNode->GetUserPixels(user, pScene);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterUserCallbacks(XnModuleNodeHandle hGenerator, XnModuleUserHandler NewUserCB, XnModuleUserHandler LostUserCB, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
return pNode->RegisterUserCallbacks(NewUserCB, LostUserCB, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterUserCallbacks(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
pNode->UnregisterUserCallbacks(hCallback);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToUserExitCallback(XnModuleNodeHandle hGenerator, XnModuleUserHandler handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
return pNode->RegisterToUserExit(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromUserExitCallback(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
pNode->UnregisterFromUserExit(hCallback);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToUserReEnterCallback(XnModuleNodeHandle hGenerator, XnModuleUserHandler handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
return pNode->RegisterToUserReEnter(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromUserReEnterCallback(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleUserGenerator* pNode = dynamic_cast<ModuleUserGenerator*>(pProdNode);
pNode->UnregisterFromUserReEnter(hCallback);
}
XnUChar* XN_CALLBACK_TYPE __ModuleGetAudioBuffer(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleAudioGenerator* pNode = dynamic_cast<ModuleAudioGenerator*>(pProdNode);
return pNode->GetAudioBuffer();
}
XnUInt32 XN_CALLBACK_TYPE __ModuleGetSupportedWaveOutputModesCount(XnModuleNodeHandle hGenerator)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleAudioGenerator* pNode = dynamic_cast<ModuleAudioGenerator*>(pProdNode);
return pNode->GetSupportedWaveOutputModesCount();
}
XnStatus XN_CALLBACK_TYPE __ModuleGetSupportedWaveOutputModes(XnModuleNodeHandle hGenerator, XnWaveOutputMode* aSupportedModes, XnUInt32* pnCount)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleAudioGenerator* pNode = dynamic_cast<ModuleAudioGenerator*>(pProdNode);
return pNode->GetSupportedWaveOutputModes(aSupportedModes, *pnCount);
}
XnStatus XN_CALLBACK_TYPE __ModuleSetWaveOutputMode(XnModuleNodeHandle hGenerator, const XnWaveOutputMode* pOutputMode)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleAudioGenerator* pNode = dynamic_cast<ModuleAudioGenerator*>(pProdNode);
return pNode->SetWaveOutputMode(*pOutputMode);
}
XnStatus XN_CALLBACK_TYPE __ModuleGetWaveOutputMode(XnModuleNodeHandle hGenerator, XnWaveOutputMode* pOutputMode)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleAudioGenerator* pNode = dynamic_cast<ModuleAudioGenerator*>(pProdNode);
return pNode->GetWaveOutputMode(*pOutputMode);
}
XnStatus XN_CALLBACK_TYPE __ModuleRegisterToWaveOutputModeChanges(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleAudioGenerator* pNode = dynamic_cast<ModuleAudioGenerator*>(pProdNode);
return pNode->RegisterToWaveOutputModeChanges(handler, pCookie, *phCallback);
}
void XN_CALLBACK_TYPE __ModuleUnregisterFromWaveOutputModeChanges(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hGenerator;
ModuleAudioGenerator* pNode = dynamic_cast<ModuleAudioGenerator*>(pProdNode);
pNode->UnregisterFromWaveOutputModeChanges(hCallback);
}
XnCodecID XN_CALLBACK_TYPE __ModuleGetCodecID(XnModuleNodeHandle hCodec)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hCodec;
ModuleCodec* pCodec = dynamic_cast<ModuleCodec*>(pProdNode);
return pCodec->GetCodecID();
}
XnStatus XN_CALLBACK_TYPE __ModuleCodecInit(XnModuleNodeHandle hCodec, XnNodeHandle hNode)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hCodec;
ModuleCodec* pCodec = dynamic_cast<ModuleCodec*>(pProdNode);
return pCodec->Init(ProductionNode(hNode));
}
XnStatus XN_CALLBACK_TYPE __ModuleCompressData(XnModuleNodeHandle hCodec, const void* pSrc, XnUInt32 nSrcSize, void* pDst, XnUInt32 nDstSize, XnUInt* pnBytesWritten)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hCodec;
ModuleCodec* pCodec = dynamic_cast<ModuleCodec*>(pProdNode);
return pCodec->CompressData(pSrc, nSrcSize, pDst, nDstSize, pnBytesWritten);
}
XnStatus XN_CALLBACK_TYPE __ModuleDecompressData(XnModuleNodeHandle hCodec, const void* pSrc, XnUInt32 nSrcSize, void* pDst, XnUInt32 nDstSize, XnUInt* pnBytesWritten)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hCodec;
ModuleCodec* pCodec = dynamic_cast<ModuleCodec*>(pProdNode);
return pCodec->DecompressData(pSrc, nSrcSize, pDst, nDstSize, pnBytesWritten);
}
const XnChar* XN_CALLBACK_TYPE __ModuleScriptGetSupportedFormat(XnModuleNodeHandle hScript)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hScript;
ModuleScriptNode* pScript = dynamic_cast<ModuleScriptNode*>(pProdNode);
return pScript->GetSupportedFormat();
}
XnStatus XN_CALLBACK_TYPE __ModuleLoadScriptFromFile(XnModuleNodeHandle hScript, const XnChar* strFileName)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hScript;
ModuleScriptNode* pScript = dynamic_cast<ModuleScriptNode*>(pProdNode);
return pScript->LoadScriptFromFile(strFileName);
}
XnStatus XN_CALLBACK_TYPE __ModuleLoadScriptFromString(XnModuleNodeHandle hScript, const XnChar* strScript)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hScript;
ModuleScriptNode* pScript = dynamic_cast<ModuleScriptNode*>(pProdNode);
return pScript->LoadScriptFromString(strScript);
}
XnStatus XN_CALLBACK_TYPE __ModuleScriptRun(XnModuleNodeHandle hScript, XnNodeInfoList* pCreatedNodes, XnEnumerationErrors* pErrors)
{
ModuleProductionNode* pProdNode = (ModuleProductionNode*)hScript;
ModuleScriptNode* pScript = dynamic_cast<ModuleScriptNode*>(pProdNode);
NodeInfoList createdNodes(pCreatedNodes);
EnumerationErrors errors(pErrors);
return pScript->Run(createdNodes, errors);
}
void XN_CALLBACK_TYPE __ModuleGetExtendedSerializationInterface(XnModuleExtendedSerializationInterface* pInterface)
{
pInterface->InitNotifications = __ModuleInitNotifications;
pInterface->StopNotifications = __ModuleStopNotifications;
}
void XN_CALLBACK_TYPE __ModuleGetLockAwareInterface(XnModuleLockAwareInterface* pInterface)
{
pInterface->SetLockState = __ModuleSetLockState;
pInterface->GetLockState = __ModuleGetLockState;
pInterface->RegisterToLockChange = __ModuleRegisterToLockChange;
pInterface->UnregisterFromLockChange = __ModuleUnregisterFromLockChange;
}
void XN_CALLBACK_TYPE __ModuleGetErrorStateInterface(XnModuleErrorStateInterface* pInterface)
{
pInterface->GetErrorState = __ModuleGetErrorState;
pInterface->RegisterToErrorStateChange = __ModuleRegisterToErrorStateChange;
pInterface->UnregisterFromErrorStateChange = __ModuleUnregisterFromErrorStateChange;
}
void XN_CALLBACK_TYPE __ModuleGetGeneralIntInterface(XnModuleGeneralIntInterface* pInterface)
{
pInterface->GetRange = __ModuleGeneralIntGetRange;
pInterface->Get = __ModuleGeneralIntGet;
pInterface->Set = __ModuleGeneralIntSet;
pInterface->RegisterToValueChange = __ModuleGeneralIntRegisterToValueChange;
pInterface->UnregisterFromValueChange = __ModuleGeneralIntUnregisterFromValueChange;
}
void XN_CALLBACK_TYPE __ModuleGetProductionNodeInterface(XnModuleProductionNodeInterface* pInterface)
{
pInterface->IsCapabilitySupported = __ModuleIsCapabilitySupported;
pInterface->SetIntProperty = __ModuleSetIntProperty;
pInterface->SetRealProperty = __ModuleSetRealProperty;
pInterface->SetStringProperty = __ModuleSetStringProperty;
pInterface->SetGeneralProperty = __ModuleSetGeneralProperty;
pInterface->GetIntProperty = __ModuleGetIntProperty;
pInterface->GetRealProperty = __ModuleGetRealProperty;
pInterface->GetStringProperty = __ModuleGetStringProperty;
pInterface->GetGeneralProperty = __ModuleGetGeneralProperty;
__ModuleGetExtendedSerializationInterface(pInterface->pExtendedSerializationInterface);
__ModuleGetLockAwareInterface(pInterface->pLockAwareInterface);
__ModuleGetErrorStateInterface(pInterface->pErrorStateInterface);
__ModuleGetGeneralIntInterface(pInterface->pGeneralIntInterface);
}
void XN_CALLBACK_TYPE __ModuleGetDeviceIdentificationInterface(XnModuleDeviceIdentificationInterface* pInterface)
{
pInterface->GetDeviceName = __ModuleGetDeviceName;
pInterface->GetVendorSpecificData = __ModuleGetVendorSpecificData;
pInterface->GetSerialNumber = __ModuleGetSerialNumber;
}
void XN_CALLBACK_TYPE __ModuleGetDeviceInterface(XnModuleDeviceInterface* pInterface)
{
__ModuleGetProductionNodeInterface(pInterface->pProductionNode);
__ModuleGetDeviceIdentificationInterface(pInterface->pDeviceIdentificationInterface);
}
void XN_CALLBACK_TYPE __ModuleGetMirrorInterface(XnModuleMirrorInterface* pInterface)
{
pInterface->SetMirror = __ModuleSetMirror;
pInterface->IsMirrored = __ModuleIsMirrored;
pInterface->RegisterToMirrorChange = __ModuleRegisterToMirrorChange;
pInterface->UnregisterFromMirrorChange = __ModuleUnregisterFromMirrorChange;
}
void XN_CALLBACK_TYPE __ModuleGetAlternativeViewPointInterface(XnModuleAlternativeViewPointInterface* pInterface)
{
pInterface->IsViewPointSupported = __ModuleIsViewPointSupported;
pInterface->SetViewPoint = __ModuleSetViewPoint;
pInterface->ResetViewPoint = __ModuleResetViewPoint;
pInterface->IsViewPointAs = __ModuleIsViewPointAs;
pInterface->RegisterToViewPointChange = __ModuleRegisterToViewPointChange;
pInterface->UnregisterFromViewPointChange = __ModuleUnregisterFromViewPointChange;
}
void XN_CALLBACK_TYPE __ModuleGetFrameSyncInterface(XnModuleFrameSyncInterface* pInterface)
{
pInterface->CanFrameSyncWith = __ModuleCanFrameSyncWith;
pInterface->FrameSyncWith = __ModuleFrameSyncWith;
pInterface->StopFrameSyncWith = __ModuleStopFrameSyncWith;
pInterface->IsFrameSyncedWith = __ModuleIsFrameSyncedWith;
pInterface->RegisterToFrameSyncChange = __ModuleRegisterToFrameSyncChange;
pInterface->UnregisterFromFrameSyncChange = __ModuleUnregisterFromFrameSyncChange;
}
void XN_CALLBACK_TYPE __ModuleGetGeneratorInterface(XnModuleGeneratorInterface* pInterface)
{
__ModuleGetProductionNodeInterface(pInterface->pProductionNodeInterface);
pInterface->StartGenerating = __ModuleStartGenerating;
pInterface->IsGenerating = __ModuleIsGenerating;
pInterface->StopGenerating = __ModuleStopGenerating;
pInterface->RegisterToGenerationRunningChange = __ModuleRegisterToGenerationRunningChange;
pInterface->UnregisterFromGenerationRunningChange = __ModuleUnregisterFromGenerationRunningChange;
pInterface->RegisterToNewDataAvailable = __ModuleRegisterToNewDataAvailable;
pInterface->UnregisterFromNewDataAvailable = __ModuleUnregisterFromNewDataAvailable;
pInterface->IsNewDataAvailable = __ModuleIsNewDataAvailable;
pInterface->UpdateData = __ModuleUpdateData;
pInterface->GetData = __ModuleGetData;
pInterface->GetDataSize = __ModuleGetDataSize;
pInterface->GetTimestamp = __ModuleGetTimestamp;
pInterface->GetFrameID = __ModuleGetFrameID;
__ModuleGetMirrorInterface(pInterface->pMirrorInterface);
__ModuleGetAlternativeViewPointInterface(pInterface->pAlternativeViewPointInterface);
__ModuleGetFrameSyncInterface(pInterface->pFrameSyncInterface);
}
void XN_CALLBACK_TYPE __ModuleGetNodeNotificationsInterface(XnNodeNotifications *pInterface)
{
pInterface->OnNodeAdded = __ModuleOnNodeAdded;
pInterface->OnNodeRemoved = __ModuleOnNodeRemoved;
pInterface->OnNodeIntPropChanged = __ModuleOnNodeIntPropChanged;
pInterface->OnNodeRealPropChanged = __ModuleOnNodeRealPropChanged;
pInterface->OnNodeStringPropChanged = __ModuleOnNodeStringPropChanged;
pInterface->OnNodeGeneralPropChanged = __ModuleOnNodeGeneralPropChanged;
pInterface->OnNodeStateReady = __ModuleOnNodeStateReady;
pInterface->OnNodeNewData = __ModuleOnNodeNewData;
}
void XN_CALLBACK_TYPE __ModuleGetRecorderInterface(XnModuleRecorderInterface* pInterface)
{
pInterface->SetOutputStream = __ModuleSetOutputStream;
__ModuleGetProductionNodeInterface(pInterface->pProductionNode);
__ModuleGetNodeNotificationsInterface(pInterface->pNodeNotifications);
}
void XN_CALLBACK_TYPE __ModuleGetPlayerInterface(XnModulePlayerInterface* pInterface)
{
__ModuleGetProductionNodeInterface(pInterface->pProductionNode);
pInterface->SetInputStream = __ModuleSetInputStream;
pInterface->ReadNext = __ModuleReadNext;
pInterface->SetNodeNotifications = __ModuleSetNodeNotifications;
pInterface->SetRepeat = __ModuleSetRepeat;
pInterface->SeekToTimeStamp = __ModuleSeekToTimeStamp;
pInterface->SeekToFrame = __ModuleSeekToFrame;
pInterface->TellTimestamp = __ModuleTellTimestamp;
pInterface->TellFrame = __ModuleTellFrame;
pInterface->GetNumFrames = __ModuleGetNumFrames;
pInterface->GetSupportedFormat = __ModuleGetSupportedFormat;
pInterface->IsEOF = __ModuleIsEOF;
pInterface->RegisterToEndOfFileReached = __ModuleRegisterToEndOfFileReached;
pInterface->UnregisterFromEndOfFileReached = __ModuleUnregisterFromEndOfFileReached;
}
void XN_CALLBACK_TYPE __ModuleGetCroppingInterface(XnModuleCroppingInterface* pInterface)
{
pInterface->SetCropping = __ModuleSetCropping;
pInterface->GetCropping = __ModuleGetCropping;
pInterface->RegisterToCroppingChange = __ModuleRegisterToCroppingChange;
pInterface->UnregisterFromCroppingChange = __ModuleUnregisterFromCroppingChange;
}
void XN_CALLBACK_TYPE __ModuleGetAntiFlickerInterface(XnModuleAntiFlickerInterface* pInterface)
{
pInterface->SetPowerLineFrequency = __ModuleSetPowerLineFrequency;
pInterface->GetPowerLineFrequency = __ModuleGetPowerLineFrequency;
pInterface->RegisterToPowerLineFrequencyChange = __ModuleRegisterToPowerLineFrequencyChange;
pInterface->UnregisterFromPowerLineFrequencyChange = __ModuleUnregisterFromPowerLineFrequencyChange;
}
void XN_CALLBACK_TYPE __ModuleGetMapGeneratorInterface(XnModuleMapGeneratorInterface* pInterface)
{
__ModuleGetGeneratorInterface(pInterface->pGeneratorInterface);
pInterface->GetSupportedMapOutputModesCount = __ModuleGetSupportedMapOutputModesCount;
pInterface->GetSupportedMapOutputModes = __ModuleGetSupportedMapOutputModes;
pInterface->SetMapOutputMode = __ModuleSetMapOutputMode;
pInterface->GetMapOutputMode = __ModuleGetMapOutputMode;
pInterface->RegisterToMapOutputModeChange = __ModuleRegisterToMapOutputModeChange;
pInterface->UnregisterFromMapOutputModeChange = __ModuleUnregisterFromMapOutputModeChange;
pInterface->GetBytesPerPixel = __ModuleGetBytesPerPixel;
__ModuleGetCroppingInterface(pInterface->pCroppingInterface);
__ModuleGetAntiFlickerInterface(pInterface->pAntiFlickerInterface);
}
void XN_CALLBACK_TYPE __ModuleGetUserPositionInterface(XnModuleUserPositionCapabilityInterface* pInterface)
{
pInterface->GetSupportedUserPositionsCount = __ModuleGetSupportedUserPositionsCount;
pInterface->SetUserPosition = __ModuleSetUserPosition;
pInterface->GetUserPosition = __ModuleGetUserPosition;
pInterface->RegisterToUserPositionChange = __ModuleRegisterToUserPositionChange;
pInterface->UnregisterFromUserPositionChange = __ModuleUnregisterFromUserPositionChange;
}
void XN_CALLBACK_TYPE __ModuleGetDepthGeneratorInterface(XnModuleDepthGeneratorInterface* pInterface)
{
__ModuleGetMapGeneratorInterface(pInterface->pMapInterface);
pInterface->GetDeviceMaxDepth = __ModuleGetDeviceMaxDepth;
pInterface->GetFieldOfView = __ModuleGetFieldOfView;
pInterface->RegisterToFieldOfViewChange = __ModuleRegisterToFieldOfViewChange;
pInterface->UnregisterFromFieldOfViewChange = __ModuleUnregisterFromFieldOfViewChange;
pInterface->GetDepthMap = __ModuleGetDepthMap;
__ModuleGetUserPositionInterface(pInterface->pUserPositionInterface);
}
void XN_CALLBACK_TYPE __ModuleGetImageGeneratorInterface(XnModuleImageGeneratorInterface* pInterface)
{
__ModuleGetMapGeneratorInterface(pInterface->pMapInterface);
pInterface->GetImageMap = __ModuleGetImageMap;
pInterface->IsPixelFormatSupported = __ModuleIsPixelFormatSupported;
pInterface->SetPixelFormat = __ModuleSetPixelFormat;
pInterface->GetPixelFormat = __ModuleGetPixelFormat;
pInterface->RegisterToPixelFormatChange = __ModuleRegisterToPixelFormatChange;
pInterface->UnregisterFromPixelFormatChange = __ModuleUnregisterFromPixelFormatChange;
}
void XN_CALLBACK_TYPE __ModuleGetIRGeneratorInterface(XnModuleIRGeneratorInterface* pInterface)
{
__ModuleGetMapGeneratorInterface(pInterface->pMapInterface);
pInterface->GetIRMap = __ModuleGetIRMap;
}
void XN_CALLBACK_TYPE __ModuleGetGestureGeneratorInterface(XnModuleGestureGeneratorInterface* pInterface)
{
__ModuleGetGeneratorInterface(pInterface->pGeneratorInterface);
pInterface->AddGesture = __ModuleAddGesture;
pInterface->RemoveGesture = __ModuleRemoveGesture;
pInterface->GetActiveGestures = __ModuleGetActiveGestures;
pInterface->GetAllActiveGestures = __ModuleGetAllActiveGestures;
pInterface->EnumerateGestures = __ModuleEnumerateGestures;
pInterface->EnumerateAllGestures = __ModuleEnumerateAllGestures;
pInterface->IsGestureAvailable = __ModuleIsGestureAvailable;
pInterface->IsGestureProgressSupported = __ModuleIsGestureProgressSupported;
pInterface->RegisterGestureCallbacks = __ModuleRegisterGestureCallbacks;
pInterface->UnregisterGestureCallbacks = __ModuleUnregisterGestureCallbacks;
pInterface->RegisterToGestureChange = __ModuleRegisterToGestureChange;
pInterface->UnregisterFromGestureChange = __ModuleUnregisterFromGestureChange;
pInterface->RegisterToGestureIntermediateStageCompleted = __ModuleRegisterToGestureIntermediateStageCompleted;
pInterface->UnregisterFromGestureIntermediateStageCompleted = __ModuleUnregisterFromGestureIntermediateStageCompleted;
pInterface->RegisterToGestureReadyForNextIntermediateStage = __ModuleRegisterToGestureReadyForNextIntermediateStage;
pInterface->UnregisterFromGestureReadyForNextIntermediateStage = __ModuleUnregisterFromGestureReadyForNextIntermediateStage;
}
void XN_CALLBACK_TYPE __ModuleGetSceneAnalyzerInterface(XnModuleSceneAnalyzerInterface* pInterface)
{
__ModuleGetMapGeneratorInterface(pInterface->pMapInterface);
pInterface->GetLabelMap = __ModuleGetLabelMap;
pInterface->GetFloor = __ModuleGetFloor;
}
void XN_CALLBACK_TYPE __ModuleGetSkeletonInterface(XnModuleSkeletonCapabilityInterface* pInterface)
{
pInterface->IsJointAvailable = __ModuleIsJointAvailable;
pInterface->IsProfileAvailable = __ModuleIsProfileAvailable;
pInterface->SetSkeletonProfile = __ModuleSetSkeletonProfile;
pInterface->SetJointActive = __ModuleSetJointActive;
pInterface->IsJointActive = __ModuleIsJointActive;
pInterface->RegisterToJointConfigurationChange = __ModuleRegisterToJointConfigurationChange;
pInterface->UnregisterFromJointConfigurationChange = __ModuleUnregisterFromJointConfigurationChange;
pInterface->EnumerateActiveJoints = __ModuleEnumerateActiveJoints;
pInterface->GetSkeletonJoint = __ModuleGetSkeletonJoint;
pInterface->GetSkeletonJointPosition = __ModuleGetSkeletonJointPosition;
pInterface->GetSkeletonJointOrientation = __ModuleGetSkeletonJointOrientation;
pInterface->IsTracking = __ModuleIsSkeletonTracking;
pInterface->IsCalibrated = __ModuleIsSkeletonCalibrated;
pInterface->IsCalibrating = __ModuleIsSkeletonCalibrating;
pInterface->RequestCalibration = __ModuleRequestSkeletonCalibration;
pInterface->AbortCalibration = __ModuleAbortSkeletonCalibration;
pInterface->SaveCalibrationDataToFile = __ModuleSaveCalibrationDataToFile;
pInterface->LoadCalibrationDataFromFile = __ModuleLoadCalibrationDataFromFile;
pInterface->SaveCalibrationData = __ModuleSaveCalibrationData;
pInterface->LoadCalibrationData = __ModuleLoadCalibrationData;
pInterface->ClearCalibrationData = __ModuleClearCalibrationData;
pInterface->IsCalibrationData = __ModuleIsCalibrationData;
pInterface->StartTracking = __ModuleStartSkeletonTracking;
pInterface->StopTracking = __ModuleStopSkeletonTracking;
pInterface->Reset = __ModuleResetSkeleton;
pInterface->NeedPoseForCalibration = __ModuleNeedPoseForSkeletonCalibration;
pInterface->GetCalibrationPose = __ModuleGetSkeletonCalibrationPose;
pInterface->SetSmoothing = __ModuleSetSkeletonSmoothing;
pInterface->RegisterCalibrationCallbacks = __ModuleRegisterCalibrationCallbacks;
pInterface->UnregisterCalibrationCallbacks = __ModuleUnregisterCalibrationCallbacks;
pInterface->RegisterToCalibrationInProgress = __ModuleRegisterToCalibrationInProgressCallback;
pInterface->UnregisterFromCalibrationInProgress = __ModuleUnregisterFromCalibrationInProgressCallback;
pInterface->RegisterToCalibrationComplete = __ModuleRegisterToCalibrationCompleteCallback;
pInterface->UnregisterFromCalibrationComplete = __ModuleUnregisterFromCalibrationCompleteCallback;
pInterface->RegisterToCalibrationStart = __ModuleRegisterToCalibrationStartCallback;
pInterface->UnregisterFromCalibrationStart = __ModuleUnregisterFromCalibrationStartCallback;
}
void XN_CALLBACK_TYPE __ModuleGetPoseDetectionInterface(XnModulePoseDetectionCapabilityInterface* pInteface)
{
pInteface->GetNumberOfPoses = __ModuleGetNumberOfPoses;
pInteface->GetAvailablePoses = __ModuleGetAvailablePoses;
pInteface->GetAllAvailablePoses = __ModuleGetAllAvailablePoses;
pInteface->StartPoseDetection = __ModuleStartPoseDetection;
pInteface->StopPoseDetection = __ModuleStopPoseDetection;
pInteface->StopSinglePoseDetection = __ModuleStopSinglePoseDetection;
pInteface->RegisterToPoseCallbacks = __ModuleRegisterToPoseCallbacks;
pInteface->UnregisterFromPoseCallbacks = __ModuleUnregisterFromPoseCallbacks;
pInteface->RegisterToPoseDetectionInProgress = __ModuleRegisterToPoseInProgressCallback;
pInteface->UnregisterFromPoseDetectionInProgress = __ModuleUnregisterFromPoseInProgressCallback;
pInteface->RegisterToPoseDetected = __ModuleRegisterToPoseDetected;
pInteface->UnregisterFromPoseDetected = __ModuleUnregisterFromPoseDetected;
pInteface->RegisterToOutOfPose = __ModuleRegisterToOutOfPose;
pInteface->UnregisterFromOutOfPose = __ModuleUnregisterFromOutOfPose;
}
void XN_CALLBACK_TYPE __ModuleGetUserGeneratorInterface(XnModuleUserGeneratorInterface* pInterface)
{
__ModuleGetGeneratorInterface(pInterface->pGeneratorInterface);
pInterface->GetNumberOfUsers = __ModuleGetNumberOfUsers;
pInterface->GetUsers = __ModuleGetUsers;
pInterface->GetCoM = __ModuleGetUserCoM;
pInterface->GetUserPixels = __ModuleGetUserPixels;
pInterface->RegisterUserCallbacks = __ModuleRegisterUserCallbacks;
pInterface->UnregisterUserCallbacks = __ModuleUnregisterUserCallbacks;
__ModuleGetSkeletonInterface(pInterface->pSkeletonInterface);
__ModuleGetPoseDetectionInterface(pInterface->pPoseDetectionInterface);
pInterface->RegisterToUserExit = __ModuleRegisterToUserExitCallback;
pInterface->UnregisterFromUserExit = __ModuleUnregisterFromUserExitCallback;
pInterface->RegisterToUserReEnter = __ModuleRegisterToUserReEnterCallback;
pInterface->UnregisterFromUserReEnter = __ModuleUnregisterFromUserReEnterCallback;
}
void XN_CALLBACK_TYPE __ModuleGetHandTouchingFOVEdgeInterface(XnModuleHandTouchingFOVEdgeCapabilityInterface* pInterface)
{
pInterface->RegisterToHandTouchingFOVEdge = __ModuleRegisterToHandTouchingFOVEdgeCallback;
pInterface->UnregisterFromHandTouchingFOVEdge = __ModuleUnregisterFromHandTouchingFOVEdgeCallback;
}
void XN_CALLBACK_TYPE __ModuleGetHandsGeneratorInterface(XnModuleHandsGeneratorInterface* pInterface)
{
__ModuleGetGeneratorInterface(pInterface->pGeneratorInterface);
pInterface->StartTracking = __ModuleStartTracking;
pInterface->StopTracking = __ModuleStopTracking;
pInterface->StopTrackingAll = __ModuleStopTrackingAll;
pInterface->RegisterHandCallbacks = __ModuleRegisterHandCallbacks;
pInterface->UnregisterHandCallbacks = __ModuleUnregisterHandCallbacks;
pInterface->SetSmoothing = __ModuleSetTrackingSmoothing;
__ModuleGetHandTouchingFOVEdgeInterface(pInterface->pHandTouchingFOVEdgeInterface);
}
void XN_CALLBACK_TYPE __ModuleGetAudioGeneratorInterface(XnModuleAudioGeneratorInterface* pInterface)
{
__ModuleGetGeneratorInterface(pInterface->pGeneratorInterface);
pInterface->GetAudioBuffer = __ModuleGetAudioBuffer;
pInterface->GetSupportedWaveOutputModesCount = __ModuleGetSupportedWaveOutputModesCount;
pInterface->GetSupportedWaveOutputModes = __ModuleGetSupportedWaveOutputModes;
pInterface->SetWaveOutputMode = __ModuleSetWaveOutputMode;
pInterface->GetWaveOutputMode = __ModuleGetWaveOutputMode;
pInterface->RegisterToWaveOutputModeChanges = __ModuleRegisterToWaveOutputModeChanges;
pInterface->UnregisterFromWaveOutputModeChanges = __ModuleUnregisterFromWaveOutputModeChanges;
}
void XN_CALLBACK_TYPE __ModuleGetCodecInterface(XnModuleCodecInterface* pInterface)
{
__ModuleGetProductionNodeInterface(pInterface->pProductionNode);
pInterface->GetCodecID = __ModuleGetCodecID;
pInterface->Init = __ModuleCodecInit;
pInterface->CompressData = __ModuleCompressData;
pInterface->DecompressData = __ModuleDecompressData;
}
void XN_CALLBACK_TYPE __ModuleGetScriptNodeInterface(XnModuleScriptNodeInterface* pInterface)
{
__ModuleGetProductionNodeInterface(pInterface->pProductionNode);
pInterface->GetSupportedFormat = __ModuleScriptGetSupportedFormat;
pInterface->LoadScriptFromFile = __ModuleLoadScriptFromFile;
pInterface->LoadScriptFromString = __ModuleLoadScriptFromString;
pInterface->Run = __ModuleScriptRun;
}
#endif /* XN_MODULE_C_FUNCTIONS_H_ */
XnDerivedCast.h
XnModuleCppInterface.h
XnModuleGestureProgress
void(* XnModuleGestureProgress)(const XnChar *strGesture, const XnPoint3D *pPosition, XnFloat fProgress, void *pCookie)
Definition XnModuleInterface.h:95
XnModuleHandDestroy
void(* XnModuleHandDestroy)(XnUserID user, XnFloat fTime, void *pCookie)
Definition XnModuleInterface.h:91
XnModuleStateChangedHandler
void(* XnModuleStateChangedHandler)(void *pCookie)
Definition XnModuleInterface.h:80
XnModuleHandCreate
void(* XnModuleHandCreate)(XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, void *pCookie)
Definition XnModuleInterface.h:89
XnModuleCalibrationInProgress
void(* XnModuleCalibrationInProgress)(XnUserID user, XnCalibrationStatus calibrationError, void *pCookie)
Definition XnModuleInterface.h:102
XnModulePoseDetectionCallback
void(* XnModulePoseDetectionCallback)(const XnChar *strPose, XnUserID user, void *pCookie)
Definition XnModuleInterface.h:106
XnModuleUserHandler
void(* XnModuleUserHandler)(XnUserID user, void *pCookie)
Definition XnModuleInterface.h:83
XnModuleGestureReadyForNextIntermediateStage
void(* XnModuleGestureReadyForNextIntermediateStage)(const XnChar *strGesture, const XnPoint3D *pPosition, void *pCookie)
Definition XnModuleInterface.h:97
XnModuleHandUpdate
void(* XnModuleHandUpdate)(XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, void *pCookie)
Definition XnModuleInterface.h:90
XnModuleCalibrationComplete
void(* XnModuleCalibrationComplete)(XnUserID user, XnCalibrationStatus calibrationError, void *pCookie)
Definition XnModuleInterface.h:103
XnModuleHandTouchingFOVEdge
void(* XnModuleHandTouchingFOVEdge)(XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, XnDirection eDir, void *pCookie)
Definition XnModuleInterface.h:86
XnModuleGestureIntermediateStageCompleted
void(* XnModuleGestureIntermediateStageCompleted)(const XnChar *strGesture, const XnPoint3D *pPosition, void *pCookie)
Definition XnModuleInterface.h:96
XnModulePoseDetectionInProgressCallback
void(* XnModulePoseDetectionInProgressCallback)(const XnChar *strPose, XnUserID user, XnPoseDetectionStatus poseError, void *pCookie)
Definition XnModuleInterface.h:107
XnModuleCalibrationStart
void(* XnModuleCalibrationStart)(XnUserID user, void *pCookie)
Definition XnModuleInterface.h:100
XnModuleCalibrationEnd
void(* XnModuleCalibrationEnd)(XnUserID user, XnBool bSuccess, void *pCookie)
Definition XnModuleInterface.h:101
XnModuleGestureRecognized
void(* XnModuleGestureRecognized)(const XnChar *strGesture, const XnPoint3D *pIDPosition, const XnPoint3D *pEndPosition, void *pCookie)
Definition XnModuleInterface.h:94
FALSE
#define FALSE
Definition XnPlatform.h:100
XnStatus
XnUInt32 XnStatus
Definition XnStatus.h:34
XN_STATUS_OK
#define XN_STATUS_OK
Definition XnStatus.h:37
XnCodecID
XnUInt32 XnCodecID
Definition XnTypes.h:839
XnModuleNodeHandle
void * XnModuleNodeHandle
Definition XnTypes.h:219
XnPixelFormat
XnPixelFormat
Definition XnTypes.h:512
XnPoint3D
XnVector3D XnPoint3D
Definition XnTypes.h:472
XnSkeletonProfile
XnSkeletonProfile
Definition XnTypes.h:645
XnPowerLineFrequency
XnPowerLineFrequency
Definition XnTypes.h:539
XN_POWER_LINE_FREQUENCY_OFF
@ XN_POWER_LINE_FREQUENCY_OFF
Definition XnTypes.h:540
XnPlayerSeekOrigin
XnPlayerSeekOrigin
Definition XnTypes.h:532
XnCallbackHandle
void * XnCallbackHandle
Definition XnTypes.h:268
XnIRPixel
XnGrayscale16Pixel XnIRPixel
Definition XnTypes.h:305
XnNodeInfoList
struct XnNodeInfoList XnNodeInfoList
Definition XnTypes.h:187
XnUserID
XnUInt32 XnUserID
Definition XnTypes.h:546
XnProductionNodeType
XnInt32 XnProductionNodeType
Definition XnTypes.h:92
XnSkeletonJoint
XnSkeletonJoint
Definition XnTypes.h:612
XnDepthPixel
XnUInt16 XnDepthPixel
Definition XnTypes.h:276
XnNodeHandle
struct XnInternalNodeData * XnNodeHandle
Definition XnTypes.h:82
XnLabel
XnUInt16 XnLabel
Definition XnTypes.h:308
xn::EnumerationErrors
Definition XnCppWrapper.h:8407
xn::ModuleAlternativeViewPointInterface
Definition XnModuleCppInterface.h:212
xn::ModuleAlternativeViewPointInterface::SetViewPoint
virtual XnStatus SetViewPoint(ProductionNode &other)=0
xn::ModuleAlternativeViewPointInterface::IsViewPointSupported
virtual XnBool IsViewPointSupported(ProductionNode &other)=0
xn::ModuleAlternativeViewPointInterface::IsViewPointAs
virtual XnBool IsViewPointAs(ProductionNode &other)=0
xn::ModuleAlternativeViewPointInterface::ResetViewPoint
virtual XnStatus ResetViewPoint()=0
xn::ModuleAlternativeViewPointInterface::RegisterToViewPointChange
virtual XnStatus RegisterToViewPointChange(XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleAlternativeViewPointInterface::UnregisterFromViewPointChange
virtual void UnregisterFromViewPointChange(XnCallbackHandle hCallback)=0
xn::ModuleAntiFlickerInterface
Definition XnModuleCppInterface.h:319
xn::ModuleAntiFlickerInterface::UnregisterFromPowerLineFrequencyChange
virtual void UnregisterFromPowerLineFrequencyChange(XnCallbackHandle hCallback)=0
xn::ModuleAntiFlickerInterface::SetPowerLineFrequency
virtual XnStatus SetPowerLineFrequency(XnPowerLineFrequency nFrequency)=0
xn::ModuleAntiFlickerInterface::RegisterToPowerLineFrequencyChange
virtual XnStatus RegisterToPowerLineFrequencyChange(XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleAntiFlickerInterface::GetPowerLineFrequency
virtual XnPowerLineFrequency GetPowerLineFrequency()=0
xn::ModuleAudioGenerator
Definition XnModuleCppInterface.h:562
xn::ModuleAudioGenerator::GetAudioBuffer
virtual XnUChar * GetAudioBuffer()=0
xn::ModuleAudioGenerator::UnregisterFromWaveOutputModeChanges
virtual void UnregisterFromWaveOutputModeChanges(XnCallbackHandle hCallback)=0
xn::ModuleAudioGenerator::SetWaveOutputMode
virtual XnStatus SetWaveOutputMode(const XnWaveOutputMode &OutputMode)=0
xn::ModuleAudioGenerator::GetSupportedWaveOutputModesCount
virtual XnUInt32 GetSupportedWaveOutputModesCount()=0
xn::ModuleAudioGenerator::GetSupportedWaveOutputModes
virtual XnStatus GetSupportedWaveOutputModes(XnWaveOutputMode aSupportedModes[], XnUInt32 &nCount)=0
xn::ModuleAudioGenerator::RegisterToWaveOutputModeChanges
virtual XnStatus RegisterToWaveOutputModeChanges(XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleAudioGenerator::GetWaveOutputMode
virtual XnStatus GetWaveOutputMode(XnWaveOutputMode &OutputMode)=0
xn::ModuleCodec
Definition XnModuleCppInterface.h:579
xn::ModuleCodec::Init
virtual XnStatus Init(const ProductionNode &node)=0
xn::ModuleCodec::CompressData
virtual XnStatus CompressData(const void *pSrc, XnUInt32 nSrcSize, void *pDst, XnUInt32 nDstSize, XnUInt *pnBytesWritten) const =0
xn::ModuleCodec::DecompressData
virtual XnStatus DecompressData(const void *pSrc, XnUInt32 nSrcSize, void *pDst, XnUInt32 nDstSize, XnUInt *pnBytesWritten) const =0
xn::ModuleCodec::GetCodecID
virtual XnCodecID GetCodecID() const =0
xn::ModuleCroppingInterface
Definition XnModuleCppInterface.h:309
xn::ModuleCroppingInterface::GetCropping
virtual XnStatus GetCropping(XnCropping &Cropping)=0
xn::ModuleCroppingInterface::SetCropping
virtual XnStatus SetCropping(const XnCropping &Cropping)=0
xn::ModuleCroppingInterface::UnregisterFromCroppingChange
virtual void UnregisterFromCroppingChange(XnCallbackHandle hCallback)=0
xn::ModuleCroppingInterface::RegisterToCroppingChange
virtual XnStatus RegisterToCroppingChange(XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleDepthGenerator
Definition XnModuleCppInterface.h:358
xn::ModuleDepthGenerator::GetFieldOfView
virtual void GetFieldOfView(XnFieldOfView &FOV)=0
xn::ModuleDepthGenerator::GetDepthMap
virtual XnDepthPixel * GetDepthMap()=0
xn::ModuleDepthGenerator::GetDeviceMaxDepth
virtual XnDepthPixel GetDeviceMaxDepth()=0
xn::ModuleDepthGenerator::RegisterToFieldOfViewChange
virtual XnStatus RegisterToFieldOfViewChange(XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleDepthGenerator::UnregisterFromFieldOfViewChange
virtual void UnregisterFromFieldOfViewChange(XnCallbackHandle hCallback)=0
xn::ModuleDepthGenerator::GetUserPositionInterface
virtual ModuleUserPositionInterface * GetUserPositionInterface()
Definition XnModuleCppInterface.h:371
xn::ModuleDevice
Definition XnModuleCppInterface.h:192
xn::ModuleDevice::GetIdentificationInterface
virtual ModuleDeviceIdentificationInterface * GetIdentificationInterface()
Definition XnModuleCppInterface.h:198
xn::ModuleDeviceIdentificationInterface
Definition XnModuleCppInterface.h:183
xn::ModuleDeviceIdentificationInterface::GetSerialNumber
virtual XnStatus GetSerialNumber(XnChar *strBuffer, XnUInt32 &nBufferSize)=0
xn::ModuleDeviceIdentificationInterface::GetVendorSpecificData
virtual XnStatus GetVendorSpecificData(XnChar *strBuffer, XnUInt32 &nBufferSize)=0
xn::ModuleDeviceIdentificationInterface::GetDeviceName
virtual XnStatus GetDeviceName(XnChar *strBuffer, XnUInt32 &nBufferSize)=0
xn::ModuleErrorStateInterface
Definition XnModuleCppInterface.h:133
xn::ModuleErrorStateInterface::UnregisterFromErrorStateChange
virtual void UnregisterFromErrorStateChange(XnCallbackHandle hCallback)=0
xn::ModuleErrorStateInterface::RegisterToErrorStateChange
virtual XnStatus RegisterToErrorStateChange(XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleErrorStateInterface::GetErrorState
virtual XnStatus GetErrorState()=0
xn::ModuleExtendedSerializationInterface
Definition XnModuleCppInterface.h:115
xn::ModuleExtendedSerializationInterface::UnregisterExNotifications
virtual void UnregisterExNotifications()=0
xn::ModuleExtendedSerializationInterface::NotifyExState
virtual XnStatus NotifyExState(XnNodeNotifications *pNotifications, void *pCookie)=0
xn::ModuleFrameSyncInterface
Definition XnModuleCppInterface.h:224
xn::ModuleFrameSyncInterface::IsFrameSyncedWith
virtual XnBool IsFrameSyncedWith(ProductionNode &other)=0
xn::ModuleFrameSyncInterface::UnregisterFromFrameSyncChange
virtual void UnregisterFromFrameSyncChange(XnCallbackHandle hCallback)=0
xn::ModuleFrameSyncInterface::CanFrameSyncWith
virtual XnBool CanFrameSyncWith(ProductionNode &other)=0
xn::ModuleFrameSyncInterface::StopFrameSyncWith
virtual XnStatus StopFrameSyncWith(ProductionNode &other)=0
xn::ModuleFrameSyncInterface::FrameSyncWith
virtual XnStatus FrameSyncWith(ProductionNode &other)=0
xn::ModuleFrameSyncInterface::RegisterToFrameSyncChange
virtual XnStatus RegisterToFrameSyncChange(XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleGeneralIntInterface
Definition XnModuleCppInterface.h:142
xn::ModuleGeneralIntInterface::Get
virtual XnStatus Get(const XnChar *strCap, XnInt32 &nValue)=0
xn::ModuleGeneralIntInterface::UnregisterFromValueChange
virtual void UnregisterFromValueChange(const XnChar *strCap, XnCallbackHandle hCallback)=0
xn::ModuleGeneralIntInterface::Set
virtual XnInt32 Set(const XnChar *strCap, XnInt32 nValue)=0
xn::ModuleGeneralIntInterface::GetRange
virtual XnStatus GetRange(const XnChar *strCap, XnInt32 &nMin, XnInt32 &nMax, XnInt32 &nStep, XnInt32 &nDefault, XnBool &bIsAutoSupported)=0
xn::ModuleGeneralIntInterface::RegisterToValueChange
virtual XnStatus RegisterToValueChange(const XnChar *strCap, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleGenerator
Definition XnModuleCppInterface.h:235
xn::ModuleGenerator::GetFrameSyncInterface
virtual ModuleFrameSyncInterface * GetFrameSyncInterface()
Definition XnModuleCppInterface.h:256
xn::ModuleGenerator::IsNewDataAvailable
virtual XnBool IsNewDataAvailable(XnUInt64 &nTimestamp)=0
xn::ModuleGenerator::RegisterToNewDataAvailable
virtual XnStatus RegisterToNewDataAvailable(XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleGenerator::GetTimestamp
virtual XnUInt64 GetTimestamp()=0
xn::ModuleGenerator::UnregisterFromNewDataAvailable
virtual void UnregisterFromNewDataAvailable(XnCallbackHandle hCallback)=0
xn::ModuleGenerator::UnregisterFromGenerationRunningChange
virtual void UnregisterFromGenerationRunningChange(XnCallbackHandle hCallback)=0
xn::ModuleGenerator::UpdateData
virtual XnStatus UpdateData()=0
xn::ModuleGenerator::StopGenerating
virtual void StopGenerating()=0
xn::ModuleGenerator::GetData
virtual const void * GetData()=0
xn::ModuleGenerator::IsGenerating
virtual XnBool IsGenerating()=0
xn::ModuleGenerator::StartGenerating
virtual XnStatus StartGenerating()=0
xn::ModuleGenerator::GetMirrorInterface
virtual ModuleMirrorInterface * GetMirrorInterface()
Definition XnModuleCppInterface.h:254
xn::ModuleGenerator::RegisterToGenerationRunningChange
virtual XnStatus RegisterToGenerationRunningChange(XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleGenerator::GetFrameID
virtual XnUInt32 GetFrameID()=0
xn::ModuleGenerator::GetDataSize
virtual XnUInt32 GetDataSize()=0
xn::ModuleGenerator::GetAlternativeViewPointInterface
virtual ModuleAlternativeViewPointInterface * GetAlternativeViewPointInterface()
Definition XnModuleCppInterface.h:255
xn::ModuleGestureGenerator
Definition XnModuleCppInterface.h:404
xn::ModuleGestureGenerator::RegisterGestureCallbacks
virtual XnStatus RegisterGestureCallbacks(XnModuleGestureRecognized RecognizedCB, XnModuleGestureProgress ProgressCB, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleGestureGenerator::IsGestureProgressSupported
virtual XnBool IsGestureProgressSupported(const XnChar *strGesture)=0
xn::ModuleGestureGenerator::EnumerateAllGestures
virtual XnStatus EnumerateAllGestures(XnChar **pstrGestures, XnUInt32 nNameLength, XnUInt16 &nGestures)=0
xn::ModuleGestureGenerator::IsGestureAvailable
virtual XnBool IsGestureAvailable(const XnChar *strGesture)=0
xn::ModuleGestureGenerator::UnregisterFromGestureIntermediateStageCompleted
virtual void UnregisterFromGestureIntermediateStageCompleted(XnCallbackHandle hCallback)=0
xn::ModuleGestureGenerator::GetAllActiveGestures
virtual XnStatus GetAllActiveGestures(XnChar **pstrGestures, XnUInt32 nNameLength, XnUInt16 &nGestures)=0
xn::ModuleGestureGenerator::UnregisterFromGestureReadyForNextIntermediateStage
virtual void UnregisterFromGestureReadyForNextIntermediateStage(XnCallbackHandle hCallback)=0
xn::ModuleGestureGenerator::UnregisterGestureCallbacks
virtual void UnregisterGestureCallbacks(XnCallbackHandle hCallback)=0
xn::ModuleGestureGenerator::RegisterToGestureReadyForNextIntermediateStage
virtual XnStatus RegisterToGestureReadyForNextIntermediateStage(XnModuleGestureReadyForNextIntermediateStage ReadyForNextIntermediateStageCB, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleGestureGenerator::RegisterToGestureIntermediateStageCompleted
virtual XnStatus RegisterToGestureIntermediateStageCompleted(XnModuleGestureIntermediateStageCompleted GestureIntermediateStageCompletedCB, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleGestureGenerator::EnumerateGestures
virtual XnStatus EnumerateGestures(XnChar **pstrGestures, XnUInt16 &nGestures)=0
xn::ModuleGestureGenerator::RegisterToGestureChange
virtual XnStatus RegisterToGestureChange(XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleGestureGenerator::GetActiveGestures
virtual XnStatus GetActiveGestures(XnChar **pstrGestures, XnUInt16 &nGestures)=0
xn::ModuleGestureGenerator::RemoveGesture
virtual XnStatus RemoveGesture(const XnChar *strGesture)=0
xn::ModuleGestureGenerator::AddGesture
virtual XnStatus AddGesture(const XnChar *strGesture, XnBoundingBox3D *pArea)=0
xn::ModuleGestureGenerator::UnregisterFromGestureChange
virtual void UnregisterFromGestureChange(XnCallbackHandle hCallback)=0
xn::ModuleHandTouchingFOVEdgeInterface
Definition XnModuleCppInterface.h:444
xn::ModuleHandTouchingFOVEdgeInterface::UnregisterFromHandTouchingFOVEdge
virtual void UnregisterFromHandTouchingFOVEdge(XnCallbackHandle hCallback)=0
xn::ModuleHandTouchingFOVEdgeInterface::RegisterToHandTouchingFOVEdge
virtual XnStatus RegisterToHandTouchingFOVEdge(XnModuleHandTouchingFOVEdge TouchingFOVEdgeCB, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleHandsGenerator
Definition XnModuleCppInterface.h:452
xn::ModuleHandsGenerator::UnregisterHandCallbacks
virtual void UnregisterHandCallbacks(XnCallbackHandle hCallback)=0
xn::ModuleHandsGenerator::StartTracking
virtual XnStatus StartTracking(const XnPoint3D &ptPosition)=0
xn::ModuleHandsGenerator::SetSmoothing
virtual XnStatus SetSmoothing(XnFloat fSmoothingFactor)=0
xn::ModuleHandsGenerator::RegisterHandCallbacks
virtual XnStatus RegisterHandCallbacks(XnModuleHandCreate CreateCB, XnModuleHandUpdate UpdateCB, XnModuleHandDestroy DestroyCB, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleHandsGenerator::StopTracking
virtual XnStatus StopTracking(XnUserID user)=0
xn::ModuleHandsGenerator::StopTrackingAll
virtual XnStatus StopTrackingAll()=0
xn::ModuleHandsGenerator::GetHandTouchingFOVEdgeInterface
virtual ModuleHandTouchingFOVEdgeInterface * GetHandTouchingFOVEdgeInterface()
Definition XnModuleCppInterface.h:466
xn::ModuleIRGenerator
Definition XnModuleCppInterface.h:392
xn::ModuleIRGenerator::GetIRMap
virtual XnIRPixel * GetIRMap()=0
xn::ModuleImageGenerator
Definition XnModuleCppInterface.h:375
xn::ModuleImageGenerator::GetPixelFormat
virtual XnPixelFormat GetPixelFormat()=0
xn::ModuleImageGenerator::RegisterToPixelFormatChange
virtual XnStatus RegisterToPixelFormatChange(XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleImageGenerator::SetPixelFormat
virtual XnStatus SetPixelFormat(XnPixelFormat Format)=0
xn::ModuleImageGenerator::GetImageMap
virtual XnUInt8 * GetImageMap()=0
xn::ModuleImageGenerator::UnregisterFromPixelFormatChange
virtual void UnregisterFromPixelFormatChange(XnCallbackHandle hCallback)=0
xn::ModuleImageGenerator::IsPixelFormatSupported
virtual XnBool IsPixelFormatSupported(XnPixelFormat Format)=0
xn::ModuleLockAwareInterface
Definition XnModuleCppInterface.h:123
xn::ModuleLockAwareInterface::UnregisterFromLockChange
virtual void UnregisterFromLockChange(XnCallbackHandle hCallback)=0
xn::ModuleLockAwareInterface::GetLockState
virtual XnBool GetLockState()=0
xn::ModuleLockAwareInterface::SetLockState
virtual XnStatus SetLockState(XnBool bLocked)=0
xn::ModuleLockAwareInterface::RegisterToLockChange
virtual XnStatus RegisterToLockChange(XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleMapGenerator
Definition XnModuleCppInterface.h:329
xn::ModuleMapGenerator::SetMapOutputMode
virtual XnStatus SetMapOutputMode(const XnMapOutputMode &Mode)=0
xn::ModuleMapGenerator::GetSupportedMapOutputModesCount
virtual XnUInt32 GetSupportedMapOutputModesCount()=0
xn::ModuleMapGenerator::RegisterToMapOutputModeChange
virtual XnStatus RegisterToMapOutputModeChange(XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleMapGenerator::GetAntiFlickerInterface
virtual ModuleAntiFlickerInterface * GetAntiFlickerInterface()
Definition XnModuleCppInterface.h:343
xn::ModuleMapGenerator::UnregisterFromMapOutputModeChange
virtual void UnregisterFromMapOutputModeChange(XnCallbackHandle hCallback)=0
xn::ModuleMapGenerator::GetSupportedMapOutputModes
virtual XnStatus GetSupportedMapOutputModes(XnMapOutputMode aModes[], XnUInt32 &nCount)=0
xn::ModuleMapGenerator::GetMapOutputMode
virtual XnStatus GetMapOutputMode(XnMapOutputMode &Mode)=0
xn::ModuleMapGenerator::GetBytesPerPixel
virtual XnUInt32 GetBytesPerPixel()=0
xn::ModuleMapGenerator::GetCroppingInterface
virtual ModuleCroppingInterface * GetCroppingInterface()
Definition XnModuleCppInterface.h:342
xn::ModuleMirrorInterface
Definition XnModuleCppInterface.h:202
xn::ModuleMirrorInterface::UnregisterFromMirrorChange
virtual void UnregisterFromMirrorChange(XnCallbackHandle hCallback)=0
xn::ModuleMirrorInterface::RegisterToMirrorChange
virtual XnStatus RegisterToMirrorChange(XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleMirrorInterface::IsMirrored
virtual XnBool IsMirrored()=0
xn::ModuleMirrorInterface::SetMirror
virtual XnStatus SetMirror(XnBool bMirror)=0
xn::ModuleNodeNotifications::OnNodeAdded
virtual XnStatus OnNodeAdded(const XnChar *strNodeName, XnProductionNodeType type, XnCodecID compression)=0
xn::ModuleNodeNotifications::OnNodeGeneralPropChanged
virtual XnStatus OnNodeGeneralPropChanged(const XnChar *strNodeName, const XnChar *strPropName, XnUInt32 nBufferSize, const void *pBuffer)=0
xn::ModuleNodeNotifications::OnNodeStateReady
virtual XnStatus OnNodeStateReady(const XnChar *strNodeName)=0
xn::ModuleNodeNotifications::OnNodeRealPropChanged
virtual XnStatus OnNodeRealPropChanged(const XnChar *strNodeName, const XnChar *strPropName, XnDouble dValue)=0
xn::ModuleNodeNotifications::OnNodeIntPropChanged
virtual XnStatus OnNodeIntPropChanged(const XnChar *strNodeName, const XnChar *strPropName, XnUInt64 nValue)=0
xn::ModuleNodeNotifications::OnNodeRemoved
virtual XnStatus OnNodeRemoved(const XnChar *strNodeName)=0
xn::ModuleNodeNotifications::OnNodeNewData
virtual XnStatus OnNodeNewData(const XnChar *strNodeName, XnUInt64 nTimeStamp, XnUInt32 nFrame, const void *pData, XnUInt32 nSize)=0
xn::ModuleNodeNotifications::OnNodeStringPropChanged
virtual XnStatus OnNodeStringPropChanged(const XnChar *strNodeName, const XnChar *strPropName, const XnChar *strValue)=0
xn::ModulePlayer
Definition XnModuleCppInterface.h:286
xn::ModulePlayer::SeekToTimeStamp
virtual XnStatus SeekToTimeStamp(XnInt64 nTimeOffset, XnPlayerSeekOrigin origin)=0
xn::ModulePlayer::SetRepeat
virtual XnStatus SetRepeat(XnBool bRepeat)=0
xn::ModulePlayer::RegisterToEndOfFileReached
virtual XnStatus RegisterToEndOfFileReached(XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModulePlayer::TellTimestamp
virtual XnStatus TellTimestamp(XnUInt64 &nTimestamp)=0
xn::ModulePlayer::SeekToFrame
virtual XnStatus SeekToFrame(const XnChar *strNodeName, XnInt32 nFrameOffset, XnPlayerSeekOrigin origin)=0
xn::ModulePlayer::GetSupportedFormat
virtual const XnChar * GetSupportedFormat()=0
xn::ModulePlayer::SetInputStream
virtual XnStatus SetInputStream(void *pStreamCookie, XnPlayerInputStreamInterface *pStream)=0
xn::ModulePlayer::IsEOF
virtual XnBool IsEOF()=0
xn::ModulePlayer::UnregisterFromEndOfFileReached
virtual void UnregisterFromEndOfFileReached(XnCallbackHandle hCallback)=0
xn::ModulePlayer::SetNodeNotifications
virtual XnStatus SetNodeNotifications(void *pNodeNotificationsCookie, XnNodeNotifications *pNodeNotifications)=0
xn::ModulePlayer::TellFrame
virtual XnStatus TellFrame(const XnChar *strNodeName, XnUInt32 &nFrame)=0
xn::ModulePlayer::GetNumFrames
virtual XnUInt32 GetNumFrames(const XnChar *strNodeName, XnUInt32 &nFrames)=0
xn::ModulePlayer::ReadNext
virtual XnStatus ReadNext()=0
xn::ModulePoseDetectionInteface
Definition XnModuleCppInterface.h:514
xn::ModulePoseDetectionInteface::RegisterToOutOfPose
virtual XnStatus RegisterToOutOfPose(XnModulePoseDetectionCallback handler, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModulePoseDetectionInteface::UnregisterFromPoseDetectionCallbacks
virtual void UnregisterFromPoseDetectionCallbacks(XnCallbackHandle hCallback)=0
xn::ModulePoseDetectionInteface::UnregisterFromOutOfPose
virtual void UnregisterFromOutOfPose(XnCallbackHandle hCallback)=0
xn::ModulePoseDetectionInteface::GetNumberOfPoses
virtual XnUInt32 GetNumberOfPoses()=0
xn::ModulePoseDetectionInteface::GetAvailablePoses
virtual XnStatus GetAvailablePoses(XnChar **pstrPoses, XnUInt32 &nPoses)=0
xn::ModulePoseDetectionInteface::RegisterToPoseDetected
virtual XnStatus RegisterToPoseDetected(XnModulePoseDetectionCallback handler, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModulePoseDetectionInteface::UnregisterFromPoseDetectionInProgress
virtual void UnregisterFromPoseDetectionInProgress(XnCallbackHandle hCallback)=0
xn::ModulePoseDetectionInteface::RegisterToPoseDetectionCallbacks
virtual XnStatus RegisterToPoseDetectionCallbacks(XnModulePoseDetectionCallback StartPoseCB, XnModulePoseDetectionCallback EndPoseCB, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModulePoseDetectionInteface::GetAllAvailablePoses
virtual XnStatus GetAllAvailablePoses(XnChar **pstrPoses, XnUInt32 nNameLength, XnUInt32 &nPoses)=0
xn::ModulePoseDetectionInteface::RegisterToPoseDetectionInProgress
virtual XnStatus RegisterToPoseDetectionInProgress(XnModulePoseDetectionInProgressCallback InProgressCB, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModulePoseDetectionInteface::StopPoseDetection
virtual XnStatus StopPoseDetection(XnUserID user)=0
xn::ModulePoseDetectionInteface::StartPoseDetection
virtual XnStatus StartPoseDetection(const XnChar *strPose, XnUserID user)=0
xn::ModulePoseDetectionInteface::StopSinglePoseDetection
virtual XnStatus StopSinglePoseDetection(XnUserID user, const XnChar *strPose)=0
xn::ModulePoseDetectionInteface::UnregisterFromPoseDetected
virtual void UnregisterFromPoseDetected(XnCallbackHandle hCallback)=0
xn::ModuleProductionNode
Definition XnModuleCppInterface.h:152
xn::ModuleProductionNode::GetLockAwareInterface
virtual ModuleLockAwareInterface * GetLockAwareInterface()
Definition XnModuleCppInterface.h:172
xn::ModuleProductionNode::SetRealProperty
virtual XnStatus SetRealProperty(const XnChar *, XnDouble)
Definition XnModuleCppInterface.h:164
xn::ModuleProductionNode::GetErrorStateInterface
virtual ModuleErrorStateInterface * GetErrorStateInterface()
Definition XnModuleCppInterface.h:173
xn::ModuleProductionNode::IsCapabilitySupported
virtual XnBool IsCapabilitySupported(const XnChar *)
Definition XnModuleCppInterface.h:162
xn::ModuleProductionNode::GetIntProperty
virtual XnStatus GetIntProperty(const XnChar *, XnUInt64 &) const
Definition XnModuleCppInterface.h:167
xn::ModuleProductionNode::SetIntProperty
virtual XnStatus SetIntProperty(const XnChar *, XnUInt64)
Definition XnModuleCppInterface.h:163
xn::ModuleProductionNode::SetStringProperty
virtual XnStatus SetStringProperty(const XnChar *, const XnChar *)
Definition XnModuleCppInterface.h:165
xn::ModuleProductionNode::GetGeneralProperty
virtual XnStatus GetGeneralProperty(const XnChar *, XnUInt32, void *) const
Definition XnModuleCppInterface.h:170
xn::ModuleProductionNode::GetGeneralIntInterface
virtual ModuleGeneralIntInterface * GetGeneralIntInterface(const XnChar *)
Definition XnModuleCppInterface.h:174
xn::ModuleProductionNode::GetRealProperty
virtual XnStatus GetRealProperty(const XnChar *, XnDouble &) const
Definition XnModuleCppInterface.h:168
xn::ModuleProductionNode::GetExtendedSerializationInterface
virtual ModuleExtendedSerializationInterface * GetExtendedSerializationInterface()
Definition XnModuleCppInterface.h:171
xn::ModuleProductionNode::SetGeneralProperty
virtual XnStatus SetGeneralProperty(const XnChar *, XnUInt32, const void *)
Definition XnModuleCppInterface.h:166
xn::ModuleProductionNode::GetStringProperty
virtual XnStatus GetStringProperty(const XnChar *, XnChar *, XnUInt32) const
Definition XnModuleCppInterface.h:169
xn::ModuleRecorder
Definition XnModuleCppInterface.h:276
xn::ModuleRecorder::SetOutputStream
virtual XnStatus SetOutputStream(void *pCookie, XnRecorderOutputStreamInterface *pStream)=0
xn::ModuleSceneAnalyzer
Definition XnModuleCppInterface.h:431
xn::ModuleSceneAnalyzer::GetFloor
virtual XnStatus GetFloor(XnPlane3D &pPlane)=0
xn::ModuleSceneAnalyzer::GetLabelMap
virtual const XnLabel * GetLabelMap()=0
xn::ModuleScriptNode
Definition XnModuleCppInterface.h:592
xn::ModuleScriptNode::Run
virtual XnStatus Run(NodeInfoList &createdNodes, EnumerationErrors &errors)=0
xn::ModuleScriptNode::LoadScriptFromFile
virtual XnStatus LoadScriptFromFile(const XnChar *strFileName)=0
xn::ModuleScriptNode::GetSupportedFormat
virtual const XnChar * GetSupportedFormat()=0
xn::ModuleScriptNode::LoadScriptFromString
virtual XnStatus LoadScriptFromString(const XnChar *strScript)=0
xn::ModuleSkeletonInterface
Definition XnModuleCppInterface.h:470
xn::ModuleSkeletonInterface::UnregisterFromCalibrationStart
virtual void UnregisterFromCalibrationStart(XnCallbackHandle hCallback)=0
xn::ModuleSkeletonInterface::SetJointActive
virtual XnStatus SetJointActive(XnSkeletonJoint eJoint, XnBool bState)=0
xn::ModuleSkeletonInterface::GetCalibrationPose
virtual XnStatus GetCalibrationPose(XnChar *strPose)=0
xn::ModuleSkeletonInterface::IsCalibrationData
virtual XnBool IsCalibrationData(XnUInt32 nSlot)=0
xn::ModuleSkeletonInterface::IsJointActive
virtual XnBool IsJointActive(XnSkeletonJoint eJoint)=0
xn::ModuleSkeletonInterface::RegisterToJointConfigurationChange
virtual XnStatus RegisterToJointConfigurationChange(XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleSkeletonInterface::RegisterToCalibrationInProgress
virtual XnStatus RegisterToCalibrationInProgress(XnModuleCalibrationInProgress CalibrationInProgressCB, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleSkeletonInterface::GetSkeletonJointPosition
virtual XnStatus GetSkeletonJointPosition(XnUserID user, XnSkeletonJoint eJoint, XnSkeletonJointPosition &pJointPosition)=0
xn::ModuleSkeletonInterface::SetSmoothing
virtual XnStatus SetSmoothing(XnFloat fSmoothingFactor)=0
xn::ModuleSkeletonInterface::UnregisterFromCalibrationInProgress
virtual void UnregisterFromCalibrationInProgress(XnCallbackHandle hCallback)=0
xn::ModuleSkeletonInterface::StartTracking
virtual XnStatus StartTracking(XnUserID user)=0
xn::ModuleSkeletonInterface::UnregisterFromCalibrationComplete
virtual void UnregisterFromCalibrationComplete(XnCallbackHandle hCallback)=0
xn::ModuleSkeletonInterface::UnregisterFromJointConfigurationChange
virtual void UnregisterFromJointConfigurationChange(XnCallbackHandle hCallback)=0
xn::ModuleSkeletonInterface::SetSkeletonProfile
virtual XnStatus SetSkeletonProfile(XnSkeletonProfile eProfile)=0
xn::ModuleSkeletonInterface::IsProfileAvailable
virtual XnBool IsProfileAvailable(XnSkeletonProfile eProfile)=0
xn::ModuleSkeletonInterface::SaveCalibrationData
virtual XnStatus SaveCalibrationData(XnUserID user, XnUInt32 nSlot)=0
xn::ModuleSkeletonInterface::EnumerateActiveJoints
virtual XnStatus EnumerateActiveJoints(XnSkeletonJoint *pJoints, XnUInt16 &nJoints)=0
xn::ModuleSkeletonInterface::AbortCalibration
virtual XnStatus AbortCalibration(XnUserID user)=0
xn::ModuleSkeletonInterface::StopTracking
virtual XnStatus StopTracking(XnUserID user)=0
xn::ModuleSkeletonInterface::RequestCalibration
virtual XnStatus RequestCalibration(XnUserID user, XnBool bForce)=0
xn::ModuleSkeletonInterface::RegisterToCalibrationStart
virtual XnStatus RegisterToCalibrationStart(XnModuleCalibrationStart handler, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleSkeletonInterface::LoadCalibrationDataFromFile
virtual XnStatus LoadCalibrationDataFromFile(XnUserID user, const XnChar *strFileName)=0
xn::ModuleSkeletonInterface::IsJointAvailable
virtual XnBool IsJointAvailable(XnSkeletonJoint eJoint)=0
xn::ModuleSkeletonInterface::UnregisterCalibrationCallbacks
virtual void UnregisterCalibrationCallbacks(XnCallbackHandle hCallback)=0
xn::ModuleSkeletonInterface::NeedPoseForCalibration
virtual XnBool NeedPoseForCalibration()=0
xn::ModuleSkeletonInterface::ClearCalibrationData
virtual XnStatus ClearCalibrationData(XnUInt32 nSlot)=0
xn::ModuleSkeletonInterface::GetSkeletonJoint
virtual XnStatus GetSkeletonJoint(XnUserID user, XnSkeletonJoint eJoint, XnSkeletonJointTransformation &jointTransformation)=0
xn::ModuleSkeletonInterface::LoadCalibrationData
virtual XnStatus LoadCalibrationData(XnUserID user, XnUInt32 nSlot)=0
xn::ModuleSkeletonInterface::IsCalibrating
virtual XnBool IsCalibrating(XnUserID user)=0
xn::ModuleSkeletonInterface::RegisterCalibrationCallbacks
virtual XnStatus RegisterCalibrationCallbacks(XnModuleCalibrationStart CalibrationStartCB, XnModuleCalibrationEnd CalibrationEndCB, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleSkeletonInterface::SaveCalibrationDataToFile
virtual XnStatus SaveCalibrationDataToFile(XnUserID user, const XnChar *strFileName)=0
xn::ModuleSkeletonInterface::GetSkeletonJointOrientation
virtual XnStatus GetSkeletonJointOrientation(XnUserID user, XnSkeletonJoint eJoint, XnSkeletonJointOrientation &pJointOrientation)=0
xn::ModuleSkeletonInterface::RegisterToCalibrationComplete
virtual XnStatus RegisterToCalibrationComplete(XnModuleCalibrationComplete CalibrationCompleteCB, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleSkeletonInterface::Reset
virtual XnStatus Reset(XnUserID user)=0
xn::ModuleSkeletonInterface::IsCalibrated
virtual XnBool IsCalibrated(XnUserID user)=0
xn::ModuleSkeletonInterface::IsTracking
virtual XnBool IsTracking(XnUserID user)=0
xn::ModuleUserGenerator
Definition XnModuleCppInterface.h:539
xn::ModuleUserGenerator::GetSkeletonInterface
virtual ModuleSkeletonInterface * GetSkeletonInterface()
Definition XnModuleCppInterface.h:552
xn::ModuleUserGenerator::GetUsers
virtual XnStatus GetUsers(XnUserID *pUsers, XnUInt16 &nUsers)=0
xn::ModuleUserGenerator::GetCoM
virtual XnStatus GetCoM(XnUserID user, XnPoint3D &com)=0
xn::ModuleUserGenerator::UnregisterFromUserExit
virtual void UnregisterFromUserExit(XnCallbackHandle hCallback)=0
xn::ModuleUserGenerator::GetUserPixels
virtual XnStatus GetUserPixels(XnUserID user, XnSceneMetaData *pScene)=0
xn::ModuleUserGenerator::UnregisterFromUserReEnter
virtual void UnregisterFromUserReEnter(XnCallbackHandle hCallback)=0
xn::ModuleUserGenerator::RegisterToUserReEnter
virtual XnStatus RegisterToUserReEnter(XnModuleUserHandler UserReEnterCB, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleUserGenerator::GetPoseDetectionInteface
virtual ModulePoseDetectionInteface * GetPoseDetectionInteface()
Definition XnModuleCppInterface.h:553
xn::ModuleUserGenerator::UnregisterUserCallbacks
virtual void UnregisterUserCallbacks(XnCallbackHandle hCallback)=0
xn::ModuleUserGenerator::RegisterToUserExit
virtual XnStatus RegisterToUserExit(XnModuleUserHandler UserExitCB, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleUserGenerator::RegisterUserCallbacks
virtual XnStatus RegisterUserCallbacks(XnModuleUserHandler NewUserCB, XnModuleUserHandler LostUserCB, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleUserGenerator::GetNumberOfUsers
virtual XnUInt16 GetNumberOfUsers()=0
xn::ModuleUserPositionInterface
Definition XnModuleCppInterface.h:347
xn::ModuleUserPositionInterface::UnregisterFromUserPositionChange
virtual void UnregisterFromUserPositionChange(XnCallbackHandle hCallback)=0
xn::ModuleUserPositionInterface::GetUserPosition
virtual XnStatus GetUserPosition(XnUInt32 nIndex, XnBoundingBox3D &Position)=0
xn::ModuleUserPositionInterface::RegisterToUserPositionChange
virtual XnStatus RegisterToUserPositionChange(XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)=0
xn::ModuleUserPositionInterface::SetUserPosition
virtual XnStatus SetUserPosition(XnUInt32 nIndex, const XnBoundingBox3D &Position)=0
xn::ModuleUserPositionInterface::GetSupportedUserPositionsCount
virtual XnUInt32 GetSupportedUserPositionsCount()=0
xn::NodeInfoList
Definition XnCppWrapper.h:2145
xn::ProductionNode
Definition XnCppWrapper.h:2632
XnEnumerationErrors
struct XnEnumerationErrors XnEnumerationErrors
Definition XnTypes.h:214
xn
Definition XnCppWrapper.h:35
XnBoundingBox3D
Definition XnTypes.h:478
XnCropping
Definition XnTypes.h:487
XnFieldOfView
Definition XnTypes.h:504
XnMapOutputMode
Definition XnTypes.h:433
XnModuleAlternativeViewPointInterface
Definition XnModuleInterface.h:461
XnModuleAlternativeViewPointInterface::SetViewPoint
XnStatus(* SetViewPoint)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition XnModuleInterface.h:479
XnModuleAlternativeViewPointInterface::UnregisterFromViewPointChange
void(* UnregisterFromViewPointChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:512
XnModuleAlternativeViewPointInterface::ResetViewPoint
XnStatus(* ResetViewPoint)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:494
XnModuleAlternativeViewPointInterface::RegisterToViewPointChange
XnStatus(* RegisterToViewPointChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:504
XnModuleAlternativeViewPointInterface::IsViewPointAs
XnBool(* IsViewPointAs)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition XnModuleInterface.h:487
XnModuleAlternativeViewPointInterface::IsViewPointSupported
XnBool(* IsViewPointSupported)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition XnModuleInterface.h:471
XnModuleAntiFlickerInterface
Definition XnModuleInterface.h:846
XnModuleAntiFlickerInterface::GetPowerLineFrequency
XnPowerLineFrequency(* GetPowerLineFrequency)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:860
XnModuleAntiFlickerInterface::SetPowerLineFrequency
XnStatus(* SetPowerLineFrequency)(XnModuleNodeHandle hGenerator, XnPowerLineFrequency nFrequency)
Definition XnModuleInterface.h:853
XnModuleAntiFlickerInterface::RegisterToPowerLineFrequencyChange
XnStatus(* RegisterToPowerLineFrequencyChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:871
XnModuleAntiFlickerInterface::UnregisterFromPowerLineFrequencyChange
void(* UnregisterFromPowerLineFrequencyChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:881
XnModuleAudioGeneratorInterface
Definition XnModuleInterface.h:1315
XnModuleAudioGeneratorInterface::GetSupportedWaveOutputModes
XnStatus(* GetSupportedWaveOutputModes)(XnModuleNodeHandle hGenerator, XnWaveOutputMode *aSupportedModes, XnUInt32 *pnCount)
Definition XnModuleInterface.h:1320
XnModuleAudioGeneratorInterface::RegisterToWaveOutputModeChanges
XnStatus(* RegisterToWaveOutputModeChanges)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1323
XnModuleAudioGeneratorInterface::GetAudioBuffer
XnUChar *(* GetAudioBuffer)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:1318
XnModuleAudioGeneratorInterface::UnregisterFromWaveOutputModeChanges
void(* UnregisterFromWaveOutputModeChanges)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1325
XnModuleAudioGeneratorInterface::pGeneratorInterface
XnModuleGeneratorInterface * pGeneratorInterface
Definition XnModuleInterface.h:1316
XnModuleAudioGeneratorInterface::SetWaveOutputMode
XnStatus(* SetWaveOutputMode)(XnModuleNodeHandle hGenerator, const XnWaveOutputMode *OutputMode)
Definition XnModuleInterface.h:1321
XnModuleAudioGeneratorInterface::GetWaveOutputMode
XnStatus(* GetWaveOutputMode)(XnModuleNodeHandle hGenerator, XnWaveOutputMode *OutputMode)
Definition XnModuleInterface.h:1322
XnModuleAudioGeneratorInterface::GetSupportedWaveOutputModesCount
XnUInt32(* GetSupportedWaveOutputModesCount)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:1319
XnModuleCodecInterface
Definition XnModuleInterface.h:1330
XnModuleCodecInterface::DecompressData
XnStatus(* DecompressData)(XnModuleNodeHandle hCodec, const void *pSrc, XnUInt32 nSrcSize, void *pDst, XnUInt32 nDstSize, XnUInt *pnBytesWritten)
Definition XnModuleInterface.h:1336
XnModuleCodecInterface::GetCodecID
XnCodecID(* GetCodecID)(XnModuleNodeHandle hCodec)
Definition XnModuleInterface.h:1333
XnModuleCodecInterface::CompressData
XnStatus(* CompressData)(XnModuleNodeHandle hCodec, const void *pSrc, XnUInt32 nSrcSize, void *pDst, XnUInt32 nDstSize, XnUInt *pnBytesWritten)
Definition XnModuleInterface.h:1335
XnModuleCodecInterface::pProductionNode
XnModuleProductionNodeInterface * pProductionNode
Definition XnModuleInterface.h:1331
XnModuleCodecInterface::Init
XnStatus(* Init)(XnModuleNodeHandle hCodec, XnNodeHandle hNode)
Definition XnModuleInterface.h:1334
XnModuleCroppingInterface
Definition XnModuleInterface.h:805
XnModuleCroppingInterface::SetCropping
XnStatus(* SetCropping)(XnModuleNodeHandle hGenerator, const XnCropping *pCropping)
Definition XnModuleInterface.h:812
XnModuleCroppingInterface::RegisterToCroppingChange
XnStatus(* RegisterToCroppingChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:831
XnModuleCroppingInterface::UnregisterFromCroppingChange
void(* UnregisterFromCroppingChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:841
XnModuleCroppingInterface::GetCropping
XnStatus(* GetCropping)(XnModuleNodeHandle hGenerator, XnCropping *pCropping)
Definition XnModuleInterface.h:820
XnModuleDepthGeneratorInterface
Definition XnModuleInterface.h:1028
XnModuleDepthGeneratorInterface::pUserPositionInterface
XnModuleUserPositionCapabilityInterface * pUserPositionInterface
Definition XnModuleInterface.h:1082
XnModuleDepthGeneratorInterface::pMapInterface
XnModuleMapGeneratorInterface * pMapInterface
Definition XnModuleInterface.h:1032
XnModuleDepthGeneratorInterface::GetFieldOfView
void(* GetFieldOfView)(XnModuleNodeHandle hGenerator, XnFieldOfView *pFOV)
Definition XnModuleInterface.h:1058
XnModuleDepthGeneratorInterface::GetDepthMap
XnDepthPixel *(* GetDepthMap)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:1040
XnModuleDepthGeneratorInterface::UnregisterFromFieldOfViewChange
void(* UnregisterFromFieldOfViewChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1077
XnModuleDepthGeneratorInterface::RegisterToFieldOfViewChange
XnStatus(* RegisterToFieldOfViewChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1068
XnModuleDepthGeneratorInterface::GetDeviceMaxDepth
XnDepthPixel(* GetDeviceMaxDepth)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:1048
XnModuleDeviceIdentificationInterface
Definition XnModuleInterface.h:370
XnModuleDeviceIdentificationInterface::GetVendorSpecificData
XnStatus(* GetVendorSpecificData)(XnModuleNodeHandle hInstance, XnChar *strBuffer, XnUInt32 *pnBufferSize)
Definition XnModuleInterface.h:395
XnModuleDeviceIdentificationInterface::GetSerialNumber
XnStatus(* GetSerialNumber)(XnModuleNodeHandle hInstance, XnChar *strBuffer, XnUInt32 *pnBufferSize)
Definition XnModuleInterface.h:408
XnModuleDeviceIdentificationInterface::GetDeviceName
XnStatus(* GetDeviceName)(XnModuleNodeHandle hInstance, XnChar *strBuffer, XnUInt32 *pnBufferSize)
Definition XnModuleInterface.h:382
XnModuleDeviceInterface
Definition XnModuleInterface.h:413
XnModuleDeviceInterface::pDeviceIdentificationInterface
XnModuleDeviceIdentificationInterface * pDeviceIdentificationInterface
Definition XnModuleInterface.h:416
XnModuleDeviceInterface::pProductionNode
XnModuleProductionNodeInterface * pProductionNode
Definition XnModuleInterface.h:414
XnModuleErrorStateInterface
Definition XnModuleInterface.h:236
XnModuleErrorStateInterface::GetErrorState
XnStatus(* GetErrorState)(XnModuleNodeHandle hInstance)
Definition XnModuleInterface.h:242
XnModuleErrorStateInterface::RegisterToErrorStateChange
XnStatus(* RegisterToErrorStateChange)(XnModuleNodeHandle hInstance, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:253
XnModuleErrorStateInterface::UnregisterFromErrorStateChange
void(* UnregisterFromErrorStateChange)(XnModuleNodeHandle hInstance, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:263
XnModuleExtendedSerializationInterface
Definition XnModuleInterface.h:189
XnModuleExtendedSerializationInterface::StopNotifications
void(* StopNotifications)(XnModuleNodeHandle hInstance)
Definition XnModuleInterface.h:191
XnModuleExtendedSerializationInterface::InitNotifications
XnStatus(* InitNotifications)(XnModuleNodeHandle hInstance, XnNodeNotifications *pNotifications, void *pCookie)
Definition XnModuleInterface.h:190
XnModuleFrameSyncInterface
Definition XnModuleInterface.h:517
XnModuleFrameSyncInterface::UnregisterFromFrameSyncChange
void(* UnregisterFromFrameSyncChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:568
XnModuleFrameSyncInterface::StopFrameSyncWith
XnStatus(* StopFrameSyncWith)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition XnModuleInterface.h:542
XnModuleFrameSyncInterface::CanFrameSyncWith
XnBool(* CanFrameSyncWith)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition XnModuleInterface.h:526
XnModuleFrameSyncInterface::FrameSyncWith
XnStatus(* FrameSyncWith)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition XnModuleInterface.h:534
XnModuleFrameSyncInterface::RegisterToFrameSyncChange
XnStatus(* RegisterToFrameSyncChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:560
XnModuleFrameSyncInterface::IsFrameSyncedWith
XnBool(* IsFrameSyncedWith)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition XnModuleInterface.h:550
XnModuleGeneralIntInterface
Definition XnModuleInterface.h:268
XnModuleGeneralIntInterface::UnregisterFromValueChange
void(* UnregisterFromValueChange)(XnModuleNodeHandle hGenerator, const XnChar *strCap, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:321
XnModuleGeneralIntInterface::GetRange
XnStatus(* GetRange)(XnModuleNodeHandle hGenerator, const XnChar *strCap, XnInt32 *pnMin, XnInt32 *pnMax, XnInt32 *pnStep, XnInt32 *pnDefault, XnBool *pbIsAutoSupported)
Definition XnModuleInterface.h:280
XnModuleGeneralIntInterface::Set
XnStatus(* Set)(XnModuleNodeHandle hGenerator, const XnChar *strCap, XnInt32 nValue)
Definition XnModuleInterface.h:298
XnModuleGeneralIntInterface::RegisterToValueChange
XnStatus(* RegisterToValueChange)(XnModuleNodeHandle hGenerator, const XnChar *strCap, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:310
XnModuleGeneralIntInterface::Get
XnStatus(* Get)(XnModuleNodeHandle hGenerator, const XnChar *strCap, XnInt32 *pnValue)
Definition XnModuleInterface.h:289
XnModuleGeneratorInterface
Definition XnModuleInterface.h:574
XnModuleGeneratorInterface::pAlternativeViewPointInterface
XnModuleAlternativeViewPointInterface * pAlternativeViewPointInterface
Definition XnModuleInterface.h:685
XnModuleGeneratorInterface::StopGenerating
void(* StopGenerating)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:602
XnModuleGeneratorInterface::GetDataSize
XnUInt32(* GetDataSize)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:668
XnModuleGeneratorInterface::UnregisterFromNewDataAvailable
void(* UnregisterFromNewDataAvailable)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:643
XnModuleGeneratorInterface::GetTimestamp
XnUInt64(* GetTimestamp)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:675
XnModuleGeneratorInterface::UpdateData
XnStatus(* UpdateData)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:661
XnModuleGeneratorInterface::RegisterToNewDataAvailable
XnStatus(* RegisterToNewDataAvailable)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:633
XnModuleGeneratorInterface::UnregisterFromGenerationRunningChange
void(* UnregisterFromGenerationRunningChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:623
XnModuleGeneratorInterface::IsGenerating
XnBool(* IsGenerating)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:594
XnModuleGeneratorInterface::StartGenerating
XnStatus(* StartGenerating)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:586
XnModuleGeneratorInterface::RegisterToGenerationRunningChange
XnStatus(* RegisterToGenerationRunningChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:613
XnModuleGeneratorInterface::pProductionNodeInterface
XnModuleProductionNodeInterface * pProductionNodeInterface
Definition XnModuleInterface.h:578
XnModuleGeneratorInterface::IsNewDataAvailable
XnBool(* IsNewDataAvailable)(XnModuleNodeHandle hGenerator, XnUInt64 *pnTimestamp)
Definition XnModuleInterface.h:652
XnModuleGeneratorInterface::GetData
const void *(* GetData)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:695
XnModuleGeneratorInterface::GetFrameID
XnUInt32(* GetFrameID)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:682
XnModuleGeneratorInterface::pFrameSyncInterface
XnModuleFrameSyncInterface * pFrameSyncInterface
Definition XnModuleInterface.h:687
XnModuleGeneratorInterface::pMirrorInterface
XnModuleMirrorInterface * pMirrorInterface
Definition XnModuleInterface.h:684
XnModuleGestureGeneratorInterface
Definition XnModuleInterface.h:1160
XnModuleGestureGeneratorInterface::EnumerateAllGestures
XnStatus(* EnumerateAllGestures)(XnModuleNodeHandle hGenerator, XnChar **pstrGestures, XnUInt32 nNameLength, XnUInt16 *nGestures)
Definition XnModuleInterface.h:1175
XnModuleGestureGeneratorInterface::pGeneratorInterface
XnModuleGeneratorInterface * pGeneratorInterface
Definition XnModuleInterface.h:1161
XnModuleGestureGeneratorInterface::RegisterGestureCallbacks
XnStatus(* RegisterGestureCallbacks)(XnModuleNodeHandle hGenerator, XnModuleGestureRecognized RecognizedCB, XnModuleGestureProgress ProgressCB, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1169
XnModuleGestureGeneratorInterface::AddGesture
XnStatus(* AddGesture)(XnModuleNodeHandle hGenerator, const XnChar *strGesture, XnBoundingBox3D *pArea)
Definition XnModuleInterface.h:1163
XnModuleGestureGeneratorInterface::RegisterToGestureReadyForNextIntermediateStage
XnStatus(* RegisterToGestureReadyForNextIntermediateStage)(XnModuleNodeHandle hGenerator, XnModuleGestureReadyForNextIntermediateStage ReadyForNextIntermediateStageCB, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1179
XnModuleGestureGeneratorInterface::RegisterToGestureChange
XnStatus(* RegisterToGestureChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1171
XnModuleGestureGeneratorInterface::UnregisterFromGestureChange
void(* UnregisterFromGestureChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1172
XnModuleGestureGeneratorInterface::GetActiveGestures
XnStatus(* GetActiveGestures)(XnModuleNodeHandle hGenerator, XnChar **pstrGestures, XnUInt16 *nGestures)
Definition XnModuleInterface.h:1165
XnModuleGestureGeneratorInterface::UnregisterFromGestureReadyForNextIntermediateStage
void(* UnregisterFromGestureReadyForNextIntermediateStage)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1180
XnModuleGestureGeneratorInterface::RemoveGesture
XnStatus(* RemoveGesture)(XnModuleNodeHandle hGenerator, const XnChar *strGesture)
Definition XnModuleInterface.h:1164
XnModuleGestureGeneratorInterface::UnregisterFromGestureIntermediateStageCompleted
void(* UnregisterFromGestureIntermediateStageCompleted)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1178
XnModuleGestureGeneratorInterface::GetAllActiveGestures
XnStatus(* GetAllActiveGestures)(XnModuleNodeHandle hGenerator, XnChar **pstrGestures, XnUInt32 nNameLength, XnUInt16 *nGestures)
Definition XnModuleInterface.h:1174
XnModuleGestureGeneratorInterface::EnumerateGestures
XnStatus(* EnumerateGestures)(XnModuleNodeHandle hGenerator, XnChar **pstrGestures, XnUInt16 *nGestures)
Definition XnModuleInterface.h:1166
XnModuleGestureGeneratorInterface::IsGestureAvailable
XnBool(* IsGestureAvailable)(XnModuleNodeHandle hInstance, const XnChar *strGesture)
Definition XnModuleInterface.h:1167
XnModuleGestureGeneratorInterface::RegisterToGestureIntermediateStageCompleted
XnStatus(* RegisterToGestureIntermediateStageCompleted)(XnModuleNodeHandle hGenerator, XnModuleGestureIntermediateStageCompleted GestureIntermediateStageCompletedCB, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1177
XnModuleGestureGeneratorInterface::UnregisterGestureCallbacks
void(* UnregisterGestureCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1170
XnModuleGestureGeneratorInterface::IsGestureProgressSupported
XnBool(* IsGestureProgressSupported)(XnModuleNodeHandle hGenerator, const XnChar *strGesture)
Definition XnModuleInterface.h:1168
XnModuleHandTouchingFOVEdgeCapabilityInterface
Definition XnModuleInterface.h:1197
XnModuleHandTouchingFOVEdgeCapabilityInterface::RegisterToHandTouchingFOVEdge
XnStatus(* RegisterToHandTouchingFOVEdge)(XnModuleNodeHandle hGenerator, XnModuleHandTouchingFOVEdge, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1198
XnModuleHandTouchingFOVEdgeCapabilityInterface::UnregisterFromHandTouchingFOVEdge
void(* UnregisterFromHandTouchingFOVEdge)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1199
XnModuleHandsGeneratorInterface
Definition XnModuleInterface.h:1203
XnModuleHandsGeneratorInterface::pGeneratorInterface
XnModuleGeneratorInterface * pGeneratorInterface
Definition XnModuleInterface.h:1204
XnModuleHandsGeneratorInterface::pHandTouchingFOVEdgeInterface
XnModuleHandTouchingFOVEdgeCapabilityInterface * pHandTouchingFOVEdgeInterface
Definition XnModuleInterface.h:1213
XnModuleHandsGeneratorInterface::SetSmoothing
XnStatus(* SetSmoothing)(XnModuleNodeHandle hGenerator, XnFloat fSmoothingFactor)
Definition XnModuleInterface.h:1211
XnModuleHandsGeneratorInterface::UnregisterHandCallbacks
void(* UnregisterHandCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1207
XnModuleHandsGeneratorInterface::RegisterHandCallbacks
XnStatus(* RegisterHandCallbacks)(XnModuleNodeHandle hGenerator, XnModuleHandCreate CreateCB, XnModuleHandUpdate UpdateCB, XnModuleHandDestroy DestroyCB, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1206
XnModuleHandsGeneratorInterface::StartTracking
XnStatus(* StartTracking)(XnModuleNodeHandle hGenerator, const XnPoint3D *pPosition)
Definition XnModuleInterface.h:1210
XnModuleHandsGeneratorInterface::StopTracking
XnStatus(* StopTracking)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition XnModuleInterface.h:1208
XnModuleHandsGeneratorInterface::StopTrackingAll
XnStatus(* StopTrackingAll)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:1209
XnModuleIRGeneratorInterface
Definition XnModuleInterface.h:1145
XnModuleIRGeneratorInterface::GetIRMap
XnIRPixel *(* GetIRMap)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:1152
XnModuleIRGeneratorInterface::pMapInterface
XnModuleMapGeneratorInterface * pMapInterface
Definition XnModuleInterface.h:1149
XnModuleImageGeneratorInterface
Definition XnModuleInterface.h:1088
XnModuleImageGeneratorInterface::pMapInterface
XnModuleMapGeneratorInterface * pMapInterface
Definition XnModuleInterface.h:1092
XnModuleImageGeneratorInterface::UnregisterFromPixelFormatChange
void(* UnregisterFromPixelFormatChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1139
XnModuleImageGeneratorInterface::GetPixelFormat
XnPixelFormat(* GetPixelFormat)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:1120
XnModuleImageGeneratorInterface::GetImageMap
XnUInt8 *(* GetImageMap)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:1095
XnModuleImageGeneratorInterface::RegisterToPixelFormatChange
XnStatus(* RegisterToPixelFormatChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1130
XnModuleImageGeneratorInterface::IsPixelFormatSupported
XnBool(* IsPixelFormatSupported)(XnModuleNodeHandle hGenerator, XnPixelFormat Format)
Definition XnModuleInterface.h:1105
XnModuleImageGeneratorInterface::SetPixelFormat
XnStatus(* SetPixelFormat)(XnModuleNodeHandle hGenerator, XnPixelFormat Format)
Definition XnModuleInterface.h:1113
XnModuleLockAwareInterface
Definition XnModuleInterface.h:196
XnModuleLockAwareInterface::UnregisterFromLockChange
void(* UnregisterFromLockChange)(XnModuleNodeHandle hInstance, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:231
XnModuleLockAwareInterface::SetLockState
XnStatus(* SetLockState)(XnModuleNodeHandle hInstance, XnBool bLocked)
Definition XnModuleInterface.h:203
XnModuleLockAwareInterface::RegisterToLockChange
XnStatus(* RegisterToLockChange)(XnModuleNodeHandle hInstance, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:221
XnModuleLockAwareInterface::GetLockState
XnBool(* GetLockState)(XnModuleNodeHandle hInstance)
Definition XnModuleInterface.h:210
XnModuleMapGeneratorInterface
Definition XnModuleInterface.h:886
XnModuleMapGeneratorInterface::pGeneratorInterface
XnModuleGeneratorInterface * pGeneratorInterface
Definition XnModuleInterface.h:890
XnModuleMapGeneratorInterface::GetBytesPerPixel
XnUInt32(* GetBytesPerPixel)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:962
XnModuleMapGeneratorInterface::GetMapOutputMode
XnStatus(* GetMapOutputMode)(XnModuleNodeHandle hGenerator, XnMapOutputMode *pOutputMode)
Definition XnModuleInterface.h:930
XnModuleMapGeneratorInterface::RegisterToMapOutputModeChange
XnStatus(* RegisterToMapOutputModeChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:941
XnModuleMapGeneratorInterface::GetSupportedMapOutputModes
XnStatus(* GetSupportedMapOutputModes)(XnModuleNodeHandle hGenerator, XnMapOutputMode *aModes, XnUInt32 *pnCount)
Definition XnModuleInterface.h:911
XnModuleMapGeneratorInterface::GetSupportedMapOutputModesCount
XnUInt32(* GetSupportedMapOutputModesCount)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:899
XnModuleMapGeneratorInterface::SetMapOutputMode
XnStatus(* SetMapOutputMode)(XnModuleNodeHandle hGenerator, const XnMapOutputMode *pOutputMode)
Definition XnModuleInterface.h:921
XnModuleMapGeneratorInterface::pAntiFlickerInterface
XnModuleAntiFlickerInterface * pAntiFlickerInterface
Definition XnModuleInterface.h:964
XnModuleMapGeneratorInterface::pCroppingInterface
XnModuleCroppingInterface * pCroppingInterface
Definition XnModuleInterface.h:953
XnModuleMapGeneratorInterface::UnregisterFromMapOutputModeChange
void(* UnregisterFromMapOutputModeChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:951
XnModuleMirrorInterface
Definition XnModuleInterface.h:421
XnModuleMirrorInterface::IsMirrored
XnBool(* IsMirrored)(XnModuleNodeHandle hInstance)
Definition XnModuleInterface.h:435
XnModuleMirrorInterface::UnregisterFromMirrorChange
void(* UnregisterFromMirrorChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:456
XnModuleMirrorInterface::SetMirror
XnStatus(* SetMirror)(XnModuleNodeHandle hInstance, XnBool bMirror)
Definition XnModuleInterface.h:428
XnModuleMirrorInterface::RegisterToMirrorChange
XnStatus(* RegisterToMirrorChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:446
XnModulePlayerInterface
Definition XnModuleInterface.h:716
XnModulePlayerInterface::SetInputStream
XnStatus(* SetInputStream)(XnModuleNodeHandle hInstance, void *pStreamCookie, XnPlayerInputStreamInterface *pStream)
Definition XnModuleInterface.h:725
XnModulePlayerInterface::GetSupportedFormat
const XnChar *(* GetSupportedFormat)(XnModuleNodeHandle hInstance)
Definition XnModuleInterface.h:773
XnModulePlayerInterface::UnregisterFromEndOfFileReached
void(* UnregisterFromEndOfFileReached)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:797
XnModulePlayerInterface::IsEOF
XnBool(* IsEOF)(XnModuleNodeHandle hInstance)
Definition XnModuleInterface.h:776
XnModulePlayerInterface::ReadNext
XnStatus(* ReadNext)(XnModuleNodeHandle hInstance)
Definition XnModuleInterface.h:732
XnModulePlayerInterface::RegisterToEndOfFileReached
XnStatus(* RegisterToEndOfFileReached)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:787
XnModulePlayerInterface::SetNodeNotifications
XnStatus(* SetNodeNotifications)(XnModuleNodeHandle hInstance, void *pNodeNotificationsCookie, XnNodeNotifications *pNodeNotifications)
Definition XnModuleInterface.h:743
XnModulePlayerInterface::SeekToFrame
XnStatus(* SeekToFrame)(XnModuleNodeHandle hInstance, const XnChar *strNodeName, XnInt32 nFrameOffset, XnPlayerSeekOrigin origin)
Definition XnModuleInterface.h:761
XnModulePlayerInterface::SeekToTimeStamp
XnStatus(* SeekToTimeStamp)(XnModuleNodeHandle hInstance, XnInt64 nTimeOffset, XnPlayerSeekOrigin origin)
Definition XnModuleInterface.h:758
XnModulePlayerInterface::TellTimestamp
XnStatus(* TellTimestamp)(XnModuleNodeHandle hInstance, XnUInt64 *pnTimestamp)
Definition XnModuleInterface.h:764
XnModulePlayerInterface::GetNumFrames
XnStatus(* GetNumFrames)(XnModuleNodeHandle hInstance, const XnChar *strNodeName, XnUInt32 *pnFrames)
Definition XnModuleInterface.h:770
XnModulePlayerInterface::TellFrame
XnStatus(* TellFrame)(XnModuleNodeHandle hInstance, const XnChar *strNodeName, XnUInt32 *pnFrame)
Definition XnModuleInterface.h:767
XnModulePlayerInterface::pProductionNode
XnModuleProductionNodeInterface * pProductionNode
Definition XnModuleInterface.h:799
XnModulePlayerInterface::SetRepeat
XnStatus(* SetRepeat)(XnModuleNodeHandle hInstance, XnBool bRepeat)
Definition XnModuleInterface.h:755
XnModulePoseDetectionCapabilityInterface
Definition XnModuleInterface.h:1264
XnModulePoseDetectionCapabilityInterface::StopPoseDetection
XnStatus(* StopPoseDetection)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition XnModuleInterface.h:1268
XnModulePoseDetectionCapabilityInterface::GetAllAvailablePoses
XnStatus(* GetAllAvailablePoses)(XnModuleNodeHandle hGenerator, XnChar **pstrPoses, XnUInt32 nNameLength, XnUInt32 *pnPoses)
Definition XnModuleInterface.h:1272
XnModulePoseDetectionCapabilityInterface::RegisterToPoseCallbacks
XnStatus(* RegisterToPoseCallbacks)(XnModuleNodeHandle hGenerator, XnModulePoseDetectionCallback StartPoseCB, XnModulePoseDetectionCallback EndCB, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1269
XnModulePoseDetectionCapabilityInterface::UnregisterFromOutOfPose
void(* UnregisterFromOutOfPose)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1280
XnModulePoseDetectionCapabilityInterface::UnregisterFromPoseDetectionInProgress
void(* UnregisterFromPoseDetectionInProgress)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1275
XnModulePoseDetectionCapabilityInterface::GetNumberOfPoses
XnUInt32(* GetNumberOfPoses)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:1265
XnModulePoseDetectionCapabilityInterface::RegisterToOutOfPose
XnStatus(* RegisterToOutOfPose)(XnModuleNodeHandle hGenerator, XnModulePoseDetectionCallback handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1279
XnModulePoseDetectionCapabilityInterface::UnregisterFromPoseDetected
void(* UnregisterFromPoseDetected)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1278
XnModulePoseDetectionCapabilityInterface::RegisterToPoseDetected
XnStatus(* RegisterToPoseDetected)(XnModuleNodeHandle hGenerator, XnModulePoseDetectionCallback handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1277
XnModulePoseDetectionCapabilityInterface::UnregisterFromPoseCallbacks
void(* UnregisterFromPoseCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1270
XnModulePoseDetectionCapabilityInterface::GetAvailablePoses
XnStatus(* GetAvailablePoses)(XnModuleNodeHandle hGenerator, XnChar **pstrPoses, XnUInt32 *pnPoses)
Definition XnModuleInterface.h:1266
XnModulePoseDetectionCapabilityInterface::StopSinglePoseDetection
XnStatus(* StopSinglePoseDetection)(XnModuleNodeHandle hGenerator, XnUserID user, const XnChar *strPose)
Definition XnModuleInterface.h:1282
XnModulePoseDetectionCapabilityInterface::StartPoseDetection
XnStatus(* StartPoseDetection)(XnModuleNodeHandle hGenerator, const XnChar *strPose, XnUserID user)
Definition XnModuleInterface.h:1267
XnModulePoseDetectionCapabilityInterface::RegisterToPoseDetectionInProgress
XnStatus(* RegisterToPoseDetectionInProgress)(XnModuleNodeHandle hGenerator, XnModulePoseDetectionInProgressCallback PoseProgressCB, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1274
XnModuleProductionNodeInterface
Definition XnModuleInterface.h:326
XnModuleProductionNodeInterface::SetStringProperty
XnStatus(* SetStringProperty)(XnModuleNodeHandle hInstance, const XnChar *strName, const XnChar *strValue)
Definition XnModuleInterface.h:347
XnModuleProductionNodeInterface::pExtendedSerializationInterface
XnModuleExtendedSerializationInterface * pExtendedSerializationInterface
Definition XnModuleInterface.h:362
XnModuleProductionNodeInterface::SetGeneralProperty
XnStatus(* SetGeneralProperty)(XnModuleNodeHandle hInstance, const XnChar *strName, XnUInt32 nBufferSize, const void *pBuffer)
Definition XnModuleInterface.h:348
XnModuleProductionNodeInterface::pGeneralIntInterface
XnModuleGeneralIntInterface * pGeneralIntInterface
Definition XnModuleInterface.h:365
XnModuleProductionNodeInterface::pLockAwareInterface
XnModuleLockAwareInterface * pLockAwareInterface
Definition XnModuleInterface.h:363
XnModuleProductionNodeInterface::SetRealProperty
XnStatus(* SetRealProperty)(XnModuleNodeHandle hInstance, const XnChar *strName, XnDouble dValue)
Definition XnModuleInterface.h:346
XnModuleProductionNodeInterface::GetStringProperty
XnStatus(* GetStringProperty)(XnModuleNodeHandle hInstance, const XnChar *strName, XnChar *csValue, XnUInt32 nBufSize)
Definition XnModuleInterface.h:359
XnModuleProductionNodeInterface::GetGeneralProperty
XnStatus(* GetGeneralProperty)(XnModuleNodeHandle hInstance, const XnChar *strName, XnUInt32 nBufferSize, void *pBuffer)
Definition XnModuleInterface.h:360
XnModuleProductionNodeInterface::GetRealProperty
XnStatus(* GetRealProperty)(XnModuleNodeHandle hInstance, const XnChar *strName, XnDouble *pdValue)
Definition XnModuleInterface.h:358
XnModuleProductionNodeInterface::pErrorStateInterface
XnModuleErrorStateInterface * pErrorStateInterface
Definition XnModuleInterface.h:364
XnModuleProductionNodeInterface::SetIntProperty
XnStatus(* SetIntProperty)(XnModuleNodeHandle hInstance, const XnChar *strName, XnUInt64 nValue)
Definition XnModuleInterface.h:345
XnModuleProductionNodeInterface::GetIntProperty
XnStatus(* GetIntProperty)(XnModuleNodeHandle hInstance, const XnChar *strName, XnUInt64 *pnValue)
Definition XnModuleInterface.h:357
XnModuleProductionNodeInterface::IsCapabilitySupported
XnBool(* IsCapabilitySupported)(XnModuleNodeHandle hInstance, const XnChar *strCapabilityName)
Definition XnModuleInterface.h:333
XnModuleRecorderInterface
Definition XnModuleInterface.h:700
XnModuleRecorderInterface::pNodeNotifications
XnNodeNotifications * pNodeNotifications
Definition XnModuleInterface.h:712
XnModuleRecorderInterface::SetOutputStream
XnStatus(* SetOutputStream)(XnModuleNodeHandle hInstance, void *pStreamToken, XnRecorderOutputStreamInterface *pStream)
Definition XnModuleInterface.h:709
XnModuleRecorderInterface::pProductionNode
XnModuleProductionNodeInterface * pProductionNode
Definition XnModuleInterface.h:711
XnModuleSceneAnalyzerInterface
Definition XnModuleInterface.h:1186
XnModuleSceneAnalyzerInterface::GetFloor
XnStatus(* GetFloor)(XnModuleNodeHandle hGenerator, XnPlane3D *pPlane)
Definition XnModuleInterface.h:1190
XnModuleSceneAnalyzerInterface::pMapInterface
XnModuleMapGeneratorInterface * pMapInterface
Definition XnModuleInterface.h:1187
XnModuleSceneAnalyzerInterface::GetLabelMap
const XnLabel *(* GetLabelMap)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:1189
XnModuleScriptNodeInterface
Definition XnModuleInterface.h:1341
XnModuleScriptNodeInterface::GetSupportedFormat
const XnChar *(* GetSupportedFormat)(XnModuleNodeHandle hScript)
Definition XnModuleInterface.h:1344
XnModuleScriptNodeInterface::Run
XnStatus(* Run)(XnModuleNodeHandle hScript, XnNodeInfoList *pCreatedNodes, XnEnumerationErrors *pErrors)
Definition XnModuleInterface.h:1347
XnModuleScriptNodeInterface::pProductionNode
XnModuleProductionNodeInterface * pProductionNode
Definition XnModuleInterface.h:1342
XnModuleScriptNodeInterface::LoadScriptFromString
XnStatus(* LoadScriptFromString)(XnModuleNodeHandle hScript, const XnChar *strScript)
Definition XnModuleInterface.h:1346
XnModuleScriptNodeInterface::LoadScriptFromFile
XnStatus(* LoadScriptFromFile)(XnModuleNodeHandle hScript, const XnChar *strFileName)
Definition XnModuleInterface.h:1345
XnModuleSkeletonCapabilityInterface
Definition XnModuleInterface.h:1221
XnModuleSkeletonCapabilityInterface::StartTracking
XnStatus(* StartTracking)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition XnModuleInterface.h:1242
XnModuleSkeletonCapabilityInterface::IsJointActive
XnBool(* IsJointActive)(XnModuleNodeHandle hGenerator, XnSkeletonJoint eJoint)
Definition XnModuleInterface.h:1226
XnModuleSkeletonCapabilityInterface::NeedPoseForCalibration
XnBool(* NeedPoseForCalibration)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:1245
XnModuleSkeletonCapabilityInterface::SetSmoothing
XnStatus(* SetSmoothing)(XnModuleNodeHandle hGenerator, XnFloat fSmoothingFactor)
Definition XnModuleInterface.h:1247
XnModuleSkeletonCapabilityInterface::UnregisterFromCalibrationInProgress
void(* UnregisterFromCalibrationInProgress)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1255
XnModuleSkeletonCapabilityInterface::IsTracking
XnBool(* IsTracking)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition XnModuleInterface.h:1233
XnModuleSkeletonCapabilityInterface::GetCalibrationPose
XnStatus(* GetCalibrationPose)(XnModuleNodeHandle hGenerator, XnChar *strPose)
Definition XnModuleInterface.h:1246
XnModuleSkeletonCapabilityInterface::UnregisterFromCalibrationComplete
void(* UnregisterFromCalibrationComplete)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1257
XnModuleSkeletonCapabilityInterface::ClearCalibrationData
XnStatus(* ClearCalibrationData)(XnModuleNodeHandle hGenerator, XnUInt32 nSlot)
Definition XnModuleInterface.h:1240
XnModuleSkeletonCapabilityInterface::RegisterToCalibrationInProgress
XnStatus(* RegisterToCalibrationInProgress)(XnModuleNodeHandle hGenerator, XnModuleCalibrationInProgress CalibrationInProgressCB, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1254
XnModuleSkeletonCapabilityInterface::RegisterToCalibrationStart
XnStatus(* RegisterToCalibrationStart)(XnModuleNodeHandle hGenerator, XnModuleCalibrationStart handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1259
XnModuleSkeletonCapabilityInterface::LoadCalibrationData
XnStatus(* LoadCalibrationData)(XnModuleNodeHandle hGenerator, XnUserID user, XnUInt32 nSlot)
Definition XnModuleInterface.h:1239
XnModuleSkeletonCapabilityInterface::IsCalibrating
XnBool(* IsCalibrating)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition XnModuleInterface.h:1235
XnModuleSkeletonCapabilityInterface::RegisterCalibrationCallbacks
XnStatus(* RegisterCalibrationCallbacks)(XnModuleNodeHandle hGenerator, XnModuleCalibrationStart CalibrationStartCB, XnModuleCalibrationEnd CalibrationEndCB, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1248
XnModuleSkeletonCapabilityInterface::GetSkeletonJointPosition
XnStatus(* GetSkeletonJointPosition)(XnModuleNodeHandle hGenerator, XnUserID user, XnSkeletonJoint eJoint, XnSkeletonJointPosition *pJoint)
Definition XnModuleInterface.h:1231
XnModuleSkeletonCapabilityInterface::IsJointAvailable
XnBool(* IsJointAvailable)(XnModuleNodeHandle hGenerator, XnSkeletonJoint eJoint)
Definition XnModuleInterface.h:1222
XnModuleSkeletonCapabilityInterface::SaveCalibrationData
XnStatus(* SaveCalibrationData)(XnModuleNodeHandle hGenerator, XnUserID user, XnUInt32 nSlot)
Definition XnModuleInterface.h:1238
XnModuleSkeletonCapabilityInterface::RegisterToCalibrationComplete
XnStatus(* RegisterToCalibrationComplete)(XnModuleNodeHandle hGenerator, XnModuleCalibrationComplete CalibrationCompleteCB, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1256
XnModuleSkeletonCapabilityInterface::IsCalibrated
XnBool(* IsCalibrated)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition XnModuleInterface.h:1234
XnModuleSkeletonCapabilityInterface::GetSkeletonJoint
XnStatus(* GetSkeletonJoint)(XnModuleNodeHandle hGenerator, XnUserID user, XnSkeletonJoint eJoint, XnSkeletonJointTransformation *pJoint)
Definition XnModuleInterface.h:1230
XnModuleSkeletonCapabilityInterface::Reset
XnStatus(* Reset)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition XnModuleInterface.h:1244
XnModuleSkeletonCapabilityInterface::UnregisterCalibrationCallbacks
void(* UnregisterCalibrationCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1249
XnModuleSkeletonCapabilityInterface::GetSkeletonJointOrientation
XnStatus(* GetSkeletonJointOrientation)(XnModuleNodeHandle hGenerator, XnUserID user, XnSkeletonJoint eJoint, XnSkeletonJointOrientation *pJoint)
Definition XnModuleInterface.h:1232
XnModuleSkeletonCapabilityInterface::UnregisterFromCalibrationStart
void(* UnregisterFromCalibrationStart)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1260
XnModuleSkeletonCapabilityInterface::SaveCalibrationDataToFile
XnStatus(* SaveCalibrationDataToFile)(XnModuleNodeHandle hGenerator, XnUserID user, const XnChar *strFileName)
Definition XnModuleInterface.h:1251
XnModuleSkeletonCapabilityInterface::UnregisterFromJointConfigurationChange
void(* UnregisterFromJointConfigurationChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1228
XnModuleSkeletonCapabilityInterface::AbortCalibration
XnStatus(* AbortCalibration)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition XnModuleInterface.h:1237
XnModuleSkeletonCapabilityInterface::IsCalibrationData
XnBool(* IsCalibrationData)(XnModuleNodeHandle hGenerator, XnUInt32 nSlot)
Definition XnModuleInterface.h:1241
XnModuleSkeletonCapabilityInterface::SetJointActive
XnStatus(* SetJointActive)(XnModuleNodeHandle hGenerator, XnSkeletonJoint eJoint, XnBool bState)
Definition XnModuleInterface.h:1225
XnModuleSkeletonCapabilityInterface::RequestCalibration
XnStatus(* RequestCalibration)(XnModuleNodeHandle hGenerator, XnUserID user, XnBool bForce)
Definition XnModuleInterface.h:1236
XnModuleSkeletonCapabilityInterface::IsProfileAvailable
XnBool(* IsProfileAvailable)(XnModuleNodeHandle hGenerator, XnSkeletonProfile eProfile)
Definition XnModuleInterface.h:1223
XnModuleSkeletonCapabilityInterface::SetSkeletonProfile
XnStatus(* SetSkeletonProfile)(XnModuleNodeHandle hGenerator, XnSkeletonProfile eProfile)
Definition XnModuleInterface.h:1224
XnModuleSkeletonCapabilityInterface::EnumerateActiveJoints
XnStatus(* EnumerateActiveJoints)(XnModuleNodeHandle hGenerator, XnSkeletonJoint *pJoints, XnUInt16 *pnJoints)
Definition XnModuleInterface.h:1229
XnModuleSkeletonCapabilityInterface::StopTracking
XnStatus(* StopTracking)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition XnModuleInterface.h:1243
XnModuleSkeletonCapabilityInterface::RegisterToJointConfigurationChange
XnStatus(* RegisterToJointConfigurationChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1227
XnModuleSkeletonCapabilityInterface::LoadCalibrationDataFromFile
XnStatus(* LoadCalibrationDataFromFile)(XnModuleNodeHandle hGenerator, XnUserID user, const XnChar *strFileName)
Definition XnModuleInterface.h:1252
XnModuleUserGeneratorInterface
Definition XnModuleInterface.h:1287
XnModuleUserGeneratorInterface::UnregisterFromUserReEnter
void(* UnregisterFromUserReEnter)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1309
XnModuleUserGeneratorInterface::pPoseDetectionInterface
XnModulePoseDetectionCapabilityInterface * pPoseDetectionInterface
Definition XnModuleInterface.h:1304
XnModuleUserGeneratorInterface::GetNumberOfUsers
XnUInt16(* GetNumberOfUsers)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:1290
XnModuleUserGeneratorInterface::RegisterToUserExit
XnStatus(* RegisterToUserExit)(XnModuleNodeHandle hGenerator, XnModuleUserHandler UserExitCB, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1306
XnModuleUserGeneratorInterface::RegisterToUserReEnter
XnStatus(* RegisterToUserReEnter)(XnModuleNodeHandle hGenerator, XnModuleUserHandler UserReEnterCB, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1308
XnModuleUserGeneratorInterface::GetUsers
XnStatus(* GetUsers)(XnModuleNodeHandle hGenerator, XnUserID *pUsers, XnUInt16 *pnUsers)
Definition XnModuleInterface.h:1291
XnModuleUserGeneratorInterface::GetCoM
XnStatus(* GetCoM)(XnModuleNodeHandle hGenerator, XnUserID user, XnPoint3D *pCoM)
Definition XnModuleInterface.h:1292
XnModuleUserGeneratorInterface::UnregisterFromUserExit
void(* UnregisterFromUserExit)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1307
XnModuleUserGeneratorInterface::pSkeletonInterface
XnModuleSkeletonCapabilityInterface * pSkeletonInterface
Definition XnModuleInterface.h:1300
XnModuleUserGeneratorInterface::RegisterUserCallbacks
XnStatus(* RegisterUserCallbacks)(XnModuleNodeHandle hGenerator, XnModuleUserHandler NewUserCB, XnModuleUserHandler LostUserCB, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1294
XnModuleUserGeneratorInterface::GetUserPixels
XnStatus(* GetUserPixels)(XnModuleNodeHandle hGenerator, XnUserID user, XnSceneMetaData *pScene)
Definition XnModuleInterface.h:1293
XnModuleUserGeneratorInterface::UnregisterUserCallbacks
void(* UnregisterUserCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1295
XnModuleUserGeneratorInterface::pGeneratorInterface
XnModuleGeneratorInterface * pGeneratorInterface
Definition XnModuleInterface.h:1288
XnModuleUserPositionCapabilityInterface
Definition XnModuleInterface.h:972
XnModuleUserPositionCapabilityInterface::RegisterToUserPositionChange
XnStatus(* RegisterToUserPositionChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1012
XnModuleUserPositionCapabilityInterface::UnregisterFromUserPositionChange
void(* UnregisterFromUserPositionChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1022
XnModuleUserPositionCapabilityInterface::SetUserPosition
XnStatus(* SetUserPosition)(XnModuleNodeHandle hGenerator, XnUInt32 nIndex, const XnBoundingBox3D *pPosition)
Definition XnModuleInterface.h:988
XnModuleUserPositionCapabilityInterface::GetSupportedUserPositionsCount
XnUInt32(* GetSupportedUserPositionsCount)(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:979
XnModuleUserPositionCapabilityInterface::GetUserPosition
XnStatus(* GetUserPosition)(XnModuleNodeHandle hGenerator, XnUInt32 nIndex, XnBoundingBox3D *pPosition)
Definition XnModuleInterface.h:1001
XnNodeNotifications
Definition XnTypes.h:991
XnNodeNotifications::OnNodeAdded
XnStatus(* OnNodeAdded)(void *pCookie, const XnChar *strNodeName, XnProductionNodeType type, XnCodecID compression)
Definition XnTypes.h:999
XnNodeNotifications::OnNodeNewData
XnStatus(* OnNodeNewData)(void *pCookie, const XnChar *strNodeName, XnUInt64 nTimeStamp, XnUInt32 nFrame, const void *pData, XnUInt32 nSize)
Definition XnTypes.h:1079
XnNodeNotifications::OnNodeRemoved
XnStatus(* OnNodeRemoved)(void *pCookie, const XnChar *strNodeName)
Definition XnTypes.h:1009
XnNodeNotifications::OnNodeStateReady
XnStatus(* OnNodeStateReady)(void *pCookie, const XnChar *strNodeName)
Definition XnTypes.h:1067
XnNodeNotifications::OnNodeIntPropChanged
XnStatus(* OnNodeIntPropChanged)(void *pCookie, const XnChar *strNodeName, const XnChar *strPropName, XnUInt64 nValue)
Definition XnTypes.h:1020
XnNodeNotifications::OnNodeStringPropChanged
XnStatus(* OnNodeStringPropChanged)(void *pCookie, const XnChar *strNodeName, const XnChar *strPropName, const XnChar *strValue)
Definition XnTypes.h:1044
XnNodeNotifications::OnNodeGeneralPropChanged
XnStatus(* OnNodeGeneralPropChanged)(void *pCookie, const XnChar *strNodeName, const XnChar *strPropName, XnUInt32 nBufferSize, const void *pBuffer)
Definition XnTypes.h:1057
XnNodeNotifications::OnNodeRealPropChanged
XnStatus(* OnNodeRealPropChanged)(void *pCookie, const XnChar *strNodeName, const XnChar *strPropName, XnDouble dValue)
Definition XnTypes.h:1032
XnPlane3D
Definition XnTypes.h:561
XnPlayerInputStreamInterface
Definition XnTypes.h:922
XnRecorderOutputStreamInterface
Definition XnTypes.h:850
XnSceneMetaData
Definition XnTypes.h:1176
XnSkeletonJointOrientation
Definition XnTypes.h:590
XnSkeletonJointPosition
Definition XnTypes.h:574
XnSkeletonJointTransformation
Definition XnTypes.h:601
XnWaveOutputMode
Definition XnTypes.h:456