XnModuleCppInterface.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_CPP_INTERFACE_H__
#define __XN_MODULE_CPP_INTERFACE_H__
//---------------------------------------------------------------------------
// Includes
//---------------------------------------------------------------------------
#include "XnModuleInterface.h"
#include "XnListT.h"
#include "XnCppWrapper.h"
//---------------------------------------------------------------------------
// Types
//---------------------------------------------------------------------------
namespace xn
{
typedef XnListT<XnModuleGetExportedInterfacePtr> ExportedNodesList;
class ModuleProductionNode;
class Module
{
public:
Module() {}
virtual ~Module() {}
virtual XnStatus Load() { return XN_STATUS_OK; }
virtual void Unload() {}
inline XnStatus AddExportedNode(XnModuleGetExportedInterfacePtr pEntryPoint) { return m_ExportedNodes.AddLast(pEntryPoint); }
XnUInt32 GetExportedNodesCount() { return m_ExportedNodes.Size(); }
XnStatus GetExportedNodes(XnModuleGetExportedInterfacePtr* aEntryPoints, XnUInt32 nCount)
{
if (nCount < m_ExportedNodes.Size())
{
return XN_STATUS_OUTPUT_BUFFER_OVERFLOW;
}
XnUInt32 i = 0;
for (ExportedNodesList::ConstIterator it = m_ExportedNodes.Begin();
it != m_ExportedNodes.End();
++it, ++i)
{
aEntryPoints[i] = *it;
}
return (XN_STATUS_OK);
}
private:
ExportedNodesList m_ExportedNodes;
};
class ExtensionModule : public Module
{
public:
virtual XnStatus Load()
{
XnStatus nRetVal = XN_STATUS_OK;
nRetVal = Module::Load();
XN_IS_STATUS_OK(nRetVal);
nRetVal = RegisterNewTypes();
XN_IS_STATUS_OK(nRetVal);
return (XN_STATUS_OK);
}
protected:
virtual XnStatus RegisterNewTypes() = 0;
};
class ModuleExportedProductionNode
{
public:
ModuleExportedProductionNode() {}
virtual ~ModuleExportedProductionNode() {}
virtual void GetDescription(XnProductionNodeDescription* pDescription) = 0;
virtual XnStatus EnumerateProductionTrees(Context& context, NodeInfoList& TreesList, EnumerationErrors* pErrors) = 0;
virtual XnStatus Create(Context& context, const XnChar* strInstanceName, const XnChar* strCreationInfo, NodeInfoList* pNeededTrees, const XnChar* strConfigurationDir, ModuleProductionNode** ppInstance) = 0;
virtual void Destroy(ModuleProductionNode* pInstance) = 0;
};
class ModuleExtendedSerializationInterface
{
public:
virtual ~ModuleExtendedSerializationInterface() {}
virtual XnStatus NotifyExState(XnNodeNotifications* pNotifications, void* pCookie) = 0;
virtual void UnregisterExNotifications() = 0;
};
class ModuleLockAwareInterface
{
public:
virtual ~ModuleLockAwareInterface() {}
virtual XnStatus SetLockState(XnBool bLocked) = 0;
virtual XnBool GetLockState() = 0;
virtual XnStatus RegisterToLockChange(XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromLockChange(XnCallbackHandle hCallback) = 0;
};
class ModuleErrorStateInterface
{
public:
virtual ~ModuleErrorStateInterface() {}
virtual XnStatus GetErrorState() = 0;
virtual XnStatus RegisterToErrorStateChange(XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromErrorStateChange(XnCallbackHandle hCallback) = 0;
};
class ModuleGeneralIntInterface
{
public:
virtual XnStatus GetRange(const XnChar* strCap, XnInt32& nMin, XnInt32& nMax, XnInt32& nStep, XnInt32& nDefault, XnBool& bIsAutoSupported) = 0;
virtual XnStatus Get(const XnChar* strCap, XnInt32& nValue) = 0;
virtual XnInt32 Set(const XnChar* strCap, XnInt32 nValue) = 0;
virtual XnStatus RegisterToValueChange(const XnChar* strCap, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromValueChange(const XnChar* strCap, XnCallbackHandle hCallback) = 0;
};
class ModuleProductionNode
{
public:
#ifdef XN_NO_DYNAMIC_CAST
ModuleProductionNode()
{
xnOSMemSet(m_aInterfaces, 0, sizeof(m_aInterfaces));
m_aInterfaces[XN_NODE_TYPE_PRODUCTION_NODE] = this;
}
#endif
virtual ~ModuleProductionNode() {}
virtual XnBool IsCapabilitySupported(const XnChar* /*strCapabilityName*/) { return FALSE; }
virtual XnStatus SetIntProperty(const XnChar* /*strName*/, XnUInt64 /*nValue*/) { return XN_STATUS_ERROR; }
virtual XnStatus SetRealProperty(const XnChar* /*strName*/, XnDouble /*dValue*/) { return XN_STATUS_ERROR; }
virtual XnStatus SetStringProperty(const XnChar* /*strName*/, const XnChar* /*strValue*/) { return XN_STATUS_ERROR; }
virtual XnStatus SetGeneralProperty(const XnChar* /*strName*/, XnUInt32 /*nBufferSize*/, const void* /*pBuffer*/) { return XN_STATUS_ERROR; }
virtual XnStatus GetIntProperty(const XnChar* /*strName*/, XnUInt64& /*nValue*/) const { return XN_STATUS_ERROR; }
virtual XnStatus GetRealProperty(const XnChar* /*strName*/, XnDouble& /*dValue*/) const { return XN_STATUS_ERROR; }
virtual XnStatus GetStringProperty(const XnChar* /*strName*/, XnChar* /*csValue*/, XnUInt32 /*nBufSize*/) const { return XN_STATUS_ERROR; }
virtual XnStatus GetGeneralProperty(const XnChar* /*strName*/, XnUInt32 /*nBufferSize*/, void* /*pBuffer*/) const { return XN_STATUS_ERROR; }
virtual ModuleExtendedSerializationInterface* GetExtendedSerializationInterface() { return NULL; }
virtual ModuleLockAwareInterface* GetLockAwareInterface() { return NULL; }
virtual ModuleErrorStateInterface* GetErrorStateInterface() { return NULL; }
virtual ModuleGeneralIntInterface* GetGeneralIntInterface(const XnChar* /*strCap*/) { return NULL; }
public:
#ifdef XN_NO_DYNAMIC_CAST
void* m_aInterfaces[XN_NODE_TYPE_FIRST_EXTENSION];
#endif
};
class ModuleDeviceIdentificationInterface
{
public:
virtual ~ModuleDeviceIdentificationInterface() {}
virtual XnStatus GetDeviceName(XnChar* strBuffer, XnUInt32& nBufferSize) = 0;
virtual XnStatus GetVendorSpecificData(XnChar* strBuffer, XnUInt32& nBufferSize) = 0;
virtual XnStatus GetSerialNumber(XnChar* strBuffer, XnUInt32& nBufferSize) = 0;
};
class ModuleDevice : virtual public ModuleProductionNode
{
public:
#ifdef XN_NO_DYNAMIC_CAST
ModuleDevice() { m_aInterfaces[XN_NODE_TYPE_DEVICE] = this; }
#endif
virtual ~ModuleDevice() {}
virtual ModuleDeviceIdentificationInterface* GetIdentificationInterface() { return NULL; }
};
class ModuleMirrorInterface
{
public:
virtual ~ModuleMirrorInterface() {}
virtual XnStatus SetMirror(XnBool bMirror) = 0;
virtual XnBool IsMirrored() = 0;
virtual XnStatus RegisterToMirrorChange(XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromMirrorChange(XnCallbackHandle hCallback) = 0;
};
class ModuleAlternativeViewPointInterface
{
public:
virtual ~ModuleAlternativeViewPointInterface() {}
virtual XnBool IsViewPointSupported(ProductionNode& other) = 0;
virtual XnStatus SetViewPoint(ProductionNode& other) = 0;
virtual XnBool IsViewPointAs(ProductionNode& other) = 0;
virtual XnStatus ResetViewPoint() = 0;
virtual XnStatus RegisterToViewPointChange(XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromViewPointChange(XnCallbackHandle hCallback) = 0;
};
class ModuleFrameSyncInterface
{
public:
virtual XnBool CanFrameSyncWith(ProductionNode& other) = 0;
virtual XnStatus FrameSyncWith(ProductionNode& other) = 0;
virtual XnStatus StopFrameSyncWith(ProductionNode& other) = 0;
virtual XnBool IsFrameSyncedWith(ProductionNode& other) = 0;
virtual XnStatus RegisterToFrameSyncChange(XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromFrameSyncChange(XnCallbackHandle hCallback) = 0;
};
class ModuleGenerator : virtual public ModuleProductionNode
{
public:
#ifdef XN_NO_DYNAMIC_CAST
ModuleGenerator() { m_aInterfaces[XN_NODE_TYPE_GENERATOR] = this;}
#endif
virtual ~ModuleGenerator() {}
virtual XnStatus StartGenerating() = 0;
virtual XnBool IsGenerating() = 0;
virtual void StopGenerating() = 0;
virtual XnStatus RegisterToGenerationRunningChange(XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromGenerationRunningChange(XnCallbackHandle hCallback) = 0;
virtual XnStatus RegisterToNewDataAvailable(XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromNewDataAvailable(XnCallbackHandle hCallback) = 0;
virtual XnBool IsNewDataAvailable(XnUInt64& nTimestamp) = 0;
virtual XnStatus UpdateData() = 0;
virtual const void* GetData() = 0;
virtual XnUInt32 GetDataSize() = 0;
virtual XnUInt64 GetTimestamp() = 0;
virtual XnUInt32 GetFrameID() = 0;
virtual ModuleMirrorInterface* GetMirrorInterface() { return NULL; }
virtual ModuleAlternativeViewPointInterface* GetAlternativeViewPointInterface() { return NULL; }
virtual ModuleFrameSyncInterface* GetFrameSyncInterface() { return NULL; }
};
class ModuleNodeNotifications
{
public:
virtual ~ModuleNodeNotifications() {}
virtual XnStatus OnNodeAdded(const XnChar* strNodeName, XnProductionNodeType type, XnCodecID compression) = 0;
virtual XnStatus OnNodeRemoved(const XnChar* strNodeName) = 0;
virtual XnStatus OnNodeIntPropChanged(const XnChar* strNodeName, const XnChar* strPropName, XnUInt64 nValue) = 0;
virtual XnStatus OnNodeRealPropChanged(const XnChar* strNodeName, const XnChar* strPropName, XnDouble dValue) = 0;
virtual XnStatus OnNodeStringPropChanged(const XnChar* strNodeName, const XnChar* strPropName, const XnChar* strValue) = 0;
virtual XnStatus OnNodeStateReady(const XnChar* strNodeName) = 0;
virtual XnStatus OnNodeGeneralPropChanged(const XnChar* strNodeName, const XnChar* strPropName, XnUInt32 nBufferSize, const void* pBuffer) = 0;
virtual XnStatus OnNodeNewData(const XnChar* strNodeName, XnUInt64 nTimeStamp, XnUInt32 nFrame, const void* pData, XnUInt32 nSize) = 0;
};
class ModuleRecorder :
virtual public ModuleProductionNode,
virtual public ModuleNodeNotifications
{
public:
#ifdef XN_NO_DYNAMIC_CAST
ModuleRecorder() { m_aInterfaces[XN_NODE_TYPE_RECORDER] = this; }
#endif
virtual ~ModuleRecorder() {}
virtual XnStatus SetOutputStream(void* pCookie, XnRecorderOutputStreamInterface* pStream) = 0;
};
class ModulePlayer : virtual public ModuleProductionNode
{
public:
#ifdef XN_NO_DYNAMIC_CAST
ModulePlayer() { m_aInterfaces[XN_NODE_TYPE_PLAYER] = this; }
#endif
virtual ~ModulePlayer() {}
virtual XnStatus SetInputStream(void* pStreamCookie, XnPlayerInputStreamInterface* pStream) = 0;
virtual XnStatus ReadNext() = 0;
virtual XnStatus SetNodeNotifications(void* pNodeNotificationsCookie, XnNodeNotifications* pNodeNotifications) = 0;
virtual XnStatus SetRepeat(XnBool bRepeat) = 0;
virtual XnStatus SeekToTimeStamp(XnInt64 nTimeOffset, XnPlayerSeekOrigin origin) = 0;
virtual XnStatus SeekToFrame(const XnChar* strNodeName, XnInt32 nFrameOffset, XnPlayerSeekOrigin origin) = 0;
virtual XnStatus TellTimestamp(XnUInt64& nTimestamp) = 0;
virtual XnStatus TellFrame(const XnChar* strNodeName, XnUInt32& nFrame) = 0;
virtual XnUInt32 GetNumFrames(const XnChar* strNodeName, XnUInt32& nFrames) = 0;
virtual const XnChar* GetSupportedFormat() = 0;
virtual XnBool IsEOF() = 0;
virtual XnStatus RegisterToEndOfFileReached(XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromEndOfFileReached(XnCallbackHandle hCallback) = 0;
};
class ModuleCroppingInterface
{
public:
virtual ~ModuleCroppingInterface() {}
virtual XnStatus SetCropping(const XnCropping &Cropping) = 0;
virtual XnStatus GetCropping(XnCropping &Cropping) = 0;
virtual XnStatus RegisterToCroppingChange(XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromCroppingChange(XnCallbackHandle hCallback) = 0;
};
class ModuleAntiFlickerInterface
{
public:
virtual ~ModuleAntiFlickerInterface() {}
virtual XnStatus SetPowerLineFrequency(XnPowerLineFrequency nFrequency) = 0;
virtual XnPowerLineFrequency GetPowerLineFrequency() = 0;
virtual XnStatus RegisterToPowerLineFrequencyChange(XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromPowerLineFrequencyChange(XnCallbackHandle hCallback) = 0;
};
class ModuleMapGenerator : virtual public ModuleGenerator
{
public:
#ifdef XN_NO_DYNAMIC_CAST
ModuleMapGenerator() { m_aInterfaces[XN_NODE_TYPE_MAP_GENERATOR] = this; }
#endif
virtual ~ModuleMapGenerator() {}
virtual XnUInt32 GetSupportedMapOutputModesCount() = 0;
virtual XnStatus GetSupportedMapOutputModes(XnMapOutputMode aModes[], XnUInt32& nCount) = 0;
virtual XnStatus SetMapOutputMode(const XnMapOutputMode& Mode) = 0;
virtual XnStatus GetMapOutputMode(XnMapOutputMode& Mode) = 0;
virtual XnStatus RegisterToMapOutputModeChange(XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromMapOutputModeChange(XnCallbackHandle hCallback) = 0;
virtual XnUInt32 GetBytesPerPixel() = 0;
virtual ModuleCroppingInterface* GetCroppingInterface() { return NULL; }
virtual ModuleAntiFlickerInterface* GetAntiFlickerInterface() { return NULL; }
};
class ModuleUserPositionInterface
{
public:
virtual ~ModuleUserPositionInterface() {}
virtual XnUInt32 GetSupportedUserPositionsCount() = 0;
virtual XnStatus SetUserPosition(XnUInt32 nIndex, const XnBoundingBox3D& Position) = 0;
virtual XnStatus GetUserPosition(XnUInt32 nIndex, XnBoundingBox3D& Position) = 0;
virtual XnStatus RegisterToUserPositionChange(XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromUserPositionChange(XnCallbackHandle hCallback) = 0;
};
class ModuleDepthGenerator : virtual public ModuleMapGenerator
{
public:
#ifdef XN_NO_DYNAMIC_CAST
ModuleDepthGenerator() { m_aInterfaces[XN_NODE_TYPE_DEPTH] = this; }
#endif
virtual ~ModuleDepthGenerator() {}
virtual const void* GetData() { return GetDepthMap(); }
virtual XnUInt32 GetBytesPerPixel() { return sizeof(XnDepthPixel); }
virtual XnDepthPixel* GetDepthMap() = 0;
virtual XnDepthPixel GetDeviceMaxDepth() = 0;
virtual void GetFieldOfView(XnFieldOfView& FOV) = 0;
virtual XnStatus RegisterToFieldOfViewChange(XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromFieldOfViewChange(XnCallbackHandle hCallback) = 0;
virtual ModuleUserPositionInterface* GetUserPositionInterface() { return NULL; }
};
class ModuleImageGenerator : virtual public ModuleMapGenerator
{
public:
#ifdef XN_NO_DYNAMIC_CAST
ModuleImageGenerator() { m_aInterfaces[XN_NODE_TYPE_IMAGE] = this; }
#endif
virtual ~ModuleImageGenerator() {}
virtual const void* GetData() { return GetImageMap(); }
virtual XnUInt32 GetBytesPerPixel() { return xnGetBytesPerPixelForPixelFormat(GetPixelFormat()); }
virtual XnUInt8* GetImageMap() = 0;
virtual XnBool IsPixelFormatSupported(XnPixelFormat Format) = 0;
virtual XnStatus SetPixelFormat(XnPixelFormat Format) = 0;
virtual XnPixelFormat GetPixelFormat() = 0;
virtual XnStatus RegisterToPixelFormatChange(XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromPixelFormatChange(XnCallbackHandle hCallback) = 0;
};
class ModuleIRGenerator : virtual public ModuleMapGenerator
{
public:
#ifdef XN_NO_DYNAMIC_CAST
ModuleIRGenerator() { m_aInterfaces[XN_NODE_TYPE_IR] = this; }
#endif
virtual ~ModuleIRGenerator() {}
virtual const void* GetData() { return GetIRMap(); }
virtual XnUInt32 GetBytesPerPixel() { return sizeof(XnIRPixel); }
virtual XnIRPixel* GetIRMap() = 0;
};
class ModuleGestureGenerator : virtual public ModuleGenerator
{
public:
#ifdef XN_NO_DYNAMIC_CAST
ModuleGestureGenerator() { m_aInterfaces[XN_NODE_TYPE_GESTURE] = this; }
#endif
virtual ~ModuleGestureGenerator() {}
virtual const void* GetData() { return NULL; }
virtual XnStatus AddGesture(const XnChar* strGesture, XnBoundingBox3D* pArea) = 0;
virtual XnStatus RemoveGesture(const XnChar* strGesture) = 0;
virtual XnStatus GetActiveGestures(XnChar** pstrGestures, XnUInt16& nGestures) = 0;
virtual XnStatus GetAllActiveGestures(XnChar** pstrGestures, XnUInt32 nNameLength, XnUInt16& nGestures) = 0;
virtual XnStatus EnumerateGestures(XnChar** pstrGestures, XnUInt16& nGestures) = 0;
virtual XnStatus EnumerateAllGestures(XnChar** pstrGestures, XnUInt32 nNameLength, XnUInt16& nGestures) = 0;
virtual XnBool IsGestureAvailable(const XnChar* strGesture) = 0;
virtual XnBool IsGestureProgressSupported(const XnChar* strGesture) = 0;
virtual XnStatus RegisterGestureCallbacks(XnModuleGestureRecognized RecognizedCB, XnModuleGestureProgress ProgressCB, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterGestureCallbacks(XnCallbackHandle hCallback) = 0;
virtual XnStatus RegisterToGestureChange(XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromGestureChange(XnCallbackHandle hCallback) = 0;
virtual XnStatus RegisterToGestureIntermediateStageCompleted(XnModuleGestureIntermediateStageCompleted GestureIntermediateStageCompletedCB, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromGestureIntermediateStageCompleted(XnCallbackHandle hCallback) = 0;
virtual XnStatus RegisterToGestureReadyForNextIntermediateStage(XnModuleGestureReadyForNextIntermediateStage ReadyForNextIntermediateStageCB, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromGestureReadyForNextIntermediateStage(XnCallbackHandle hCallback) = 0;
};
class ModuleSceneAnalyzer : virtual public ModuleMapGenerator
{
public:
#ifdef XN_NO_DYNAMIC_CAST
ModuleSceneAnalyzer() { m_aInterfaces[XN_NODE_TYPE_SCENE] = this; }
#endif
virtual ~ModuleSceneAnalyzer() {}
virtual const void* GetData() { return GetLabelMap(); }
virtual XnUInt32 GetBytesPerPixel() { return sizeof(XnLabel); }
virtual const XnLabel* GetLabelMap() = 0;
virtual XnStatus GetFloor(XnPlane3D& pPlane) = 0;
};
class ModuleHandTouchingFOVEdgeInterface
{
public:
virtual ~ModuleHandTouchingFOVEdgeInterface() {}
virtual XnStatus RegisterToHandTouchingFOVEdge(XnModuleHandTouchingFOVEdge TouchingFOVEdgeCB, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromHandTouchingFOVEdge(XnCallbackHandle hCallback) = 0;
};
class ModuleHandsGenerator : virtual public ModuleGenerator
{
public:
#ifdef XN_NO_DYNAMIC_CAST
ModuleHandsGenerator() { m_aInterfaces[XN_NODE_TYPE_HANDS] = this; }
#endif
virtual ~ModuleHandsGenerator() {}
virtual const void* GetData() { return NULL; }
virtual XnStatus RegisterHandCallbacks(XnModuleHandCreate CreateCB, XnModuleHandUpdate UpdateCB, XnModuleHandDestroy DestroyCB, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterHandCallbacks(XnCallbackHandle hCallback) = 0;
virtual XnStatus StopTracking(XnUserID user) = 0;
virtual XnStatus StopTrackingAll() = 0;
virtual XnStatus StartTracking(const XnPoint3D& ptPosition) = 0;
virtual XnStatus SetSmoothing(XnFloat fSmoothingFactor) = 0;
virtual ModuleHandTouchingFOVEdgeInterface* GetHandTouchingFOVEdgeInterface() { return NULL; }
};
class ModuleSkeletonInterface
{
public:
virtual ~ModuleSkeletonInterface() {}
virtual XnBool IsJointAvailable(XnSkeletonJoint eJoint) = 0;
virtual XnBool IsProfileAvailable(XnSkeletonProfile eProfile) = 0;
virtual XnStatus SetSkeletonProfile(XnSkeletonProfile eProfile) = 0;
virtual XnStatus SetJointActive(XnSkeletonJoint eJoint, XnBool bState) = 0;
virtual XnBool IsJointActive(XnSkeletonJoint eJoint) = 0;
virtual XnStatus RegisterToJointConfigurationChange(XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromJointConfigurationChange(XnCallbackHandle hCallback) = 0;
virtual XnStatus EnumerateActiveJoints(XnSkeletonJoint* pJoints, XnUInt16& nJoints) = 0;
virtual XnStatus GetSkeletonJoint(XnUserID user, XnSkeletonJoint eJoint, XnSkeletonJointTransformation& jointTransformation) = 0;
virtual XnStatus GetSkeletonJointPosition(XnUserID user, XnSkeletonJoint eJoint, XnSkeletonJointPosition& pJointPosition) = 0;
virtual XnStatus GetSkeletonJointOrientation(XnUserID user, XnSkeletonJoint eJoint, XnSkeletonJointOrientation& pJointOrientation) = 0;
virtual XnBool IsTracking(XnUserID user) = 0;
virtual XnBool IsCalibrated(XnUserID user) = 0;
virtual XnBool IsCalibrating(XnUserID user) = 0;
virtual XnStatus RequestCalibration(XnUserID user, XnBool bForce) = 0;
virtual XnStatus AbortCalibration(XnUserID user) = 0;
virtual XnStatus SaveCalibrationDataToFile(XnUserID user, const XnChar* strFileName) = 0;
virtual XnStatus LoadCalibrationDataFromFile(XnUserID user, const XnChar* strFileName) = 0;
virtual XnStatus SaveCalibrationData(XnUserID user, XnUInt32 nSlot) = 0;
virtual XnStatus LoadCalibrationData(XnUserID user, XnUInt32 nSlot) = 0;
virtual XnStatus ClearCalibrationData(XnUInt32 nSlot) = 0;
virtual XnBool IsCalibrationData(XnUInt32 nSlot) = 0;
virtual XnStatus StartTracking(XnUserID user) = 0;
virtual XnStatus StopTracking(XnUserID user) = 0;
virtual XnStatus Reset(XnUserID user) = 0;
virtual XnBool NeedPoseForCalibration() = 0;
virtual XnStatus GetCalibrationPose(XnChar* strPose) = 0;
virtual XnStatus SetSmoothing(XnFloat fSmoothingFactor) = 0;
virtual XnStatus RegisterCalibrationCallbacks(XnModuleCalibrationStart CalibrationStartCB, XnModuleCalibrationEnd CalibrationEndCB, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterCalibrationCallbacks(XnCallbackHandle hCallback) = 0;
virtual XnStatus RegisterToCalibrationInProgress(XnModuleCalibrationInProgress CalibrationInProgressCB, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromCalibrationInProgress(XnCallbackHandle hCallback) = 0;
virtual XnStatus RegisterToCalibrationComplete(XnModuleCalibrationComplete CalibrationCompleteCB, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromCalibrationComplete(XnCallbackHandle hCallback) = 0;
virtual XnStatus RegisterToCalibrationStart(XnModuleCalibrationStart handler, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromCalibrationStart(XnCallbackHandle hCallback) = 0;
};
class ModulePoseDetectionInteface
{
public:
virtual ~ModulePoseDetectionInteface() {}
virtual XnUInt32 GetNumberOfPoses() = 0;
virtual XnStatus GetAvailablePoses(XnChar** pstrPoses, XnUInt32& nPoses) = 0;
virtual XnStatus GetAllAvailablePoses(XnChar** pstrPoses, XnUInt32 nNameLength, XnUInt32& nPoses) = 0;
virtual XnStatus StartPoseDetection(const XnChar* strPose, XnUserID user) = 0;
virtual XnStatus StopPoseDetection(XnUserID user) = 0;
virtual XnStatus StopSinglePoseDetection(XnUserID user, const XnChar* strPose) = 0;
virtual XnStatus RegisterToPoseDetectionCallbacks(XnModulePoseDetectionCallback StartPoseCB, XnModulePoseDetectionCallback EndPoseCB, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromPoseDetectionCallbacks(XnCallbackHandle hCallback) = 0;
virtual XnStatus RegisterToPoseDetectionInProgress(XnModulePoseDetectionInProgressCallback InProgressCB, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromPoseDetectionInProgress(XnCallbackHandle hCallback) = 0;
virtual XnStatus RegisterToPoseDetected(XnModulePoseDetectionCallback handler, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual XnStatus RegisterToOutOfPose(XnModulePoseDetectionCallback handler, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromPoseDetected(XnCallbackHandle hCallback) = 0;
virtual void UnregisterFromOutOfPose(XnCallbackHandle hCallback) = 0;
};
class ModuleUserGenerator : virtual public ModuleGenerator
{
public:
#ifdef XN_NO_DYNAMIC_CAST
ModuleUserGenerator() { m_aInterfaces[XN_NODE_TYPE_USER] = this;}
#endif
virtual ~ModuleUserGenerator() {}
virtual const void* GetData() { return NULL; }
virtual XnUInt16 GetNumberOfUsers() = 0;
virtual XnStatus GetUsers(XnUserID* pUsers, XnUInt16& nUsers) = 0;
virtual XnStatus GetCoM(XnUserID user, XnPoint3D& com) = 0;
virtual XnStatus GetUserPixels(XnUserID user, XnSceneMetaData *pScene) = 0;
virtual XnStatus RegisterUserCallbacks(XnModuleUserHandler NewUserCB, XnModuleUserHandler LostUserCB, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterUserCallbacks(XnCallbackHandle hCallback) = 0;
virtual ModuleSkeletonInterface* GetSkeletonInterface() { return NULL; }
virtual ModulePoseDetectionInteface* GetPoseDetectionInteface() {return NULL;}
virtual XnStatus RegisterToUserExit(XnModuleUserHandler UserExitCB, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromUserExit(XnCallbackHandle hCallback) = 0;
virtual XnStatus RegisterToUserReEnter(XnModuleUserHandler UserReEnterCB, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromUserReEnter(XnCallbackHandle hCallback) = 0;
};
class ModuleAudioGenerator : virtual public ModuleGenerator
{
public:
#ifdef XN_NO_DYNAMIC_CAST
ModuleAudioGenerator() { m_aInterfaces[XN_NODE_TYPE_AUDIO] = this; }
#endif
virtual ~ModuleAudioGenerator() {}
virtual const void* GetData() { return GetAudioBuffer(); }
virtual XnUChar* GetAudioBuffer() = 0;
virtual XnUInt32 GetSupportedWaveOutputModesCount() = 0;
virtual XnStatus GetSupportedWaveOutputModes(XnWaveOutputMode aSupportedModes[], XnUInt32& nCount) = 0;
virtual XnStatus SetWaveOutputMode(const XnWaveOutputMode& OutputMode) = 0;
virtual XnStatus GetWaveOutputMode(XnWaveOutputMode& OutputMode) = 0;
virtual XnStatus RegisterToWaveOutputModeChanges(XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle& hCallback) = 0;
virtual void UnregisterFromWaveOutputModeChanges(XnCallbackHandle hCallback) = 0;
};
class ModuleCodec : virtual public ModuleProductionNode
{
public:
#ifdef XN_NO_DYNAMIC_CAST
ModuleCodec() { m_aInterfaces[XN_NODE_TYPE_CODEC] = this; }
#endif
virtual ~ModuleCodec() {}
virtual XnCodecID GetCodecID() const = 0;
virtual XnStatus Init(const ProductionNode& node) = 0;
virtual XnStatus CompressData(const void* pSrc, XnUInt32 nSrcSize, void* pDst, XnUInt32 nDstSize, XnUInt* pnBytesWritten) const = 0;
virtual XnStatus DecompressData(const void* pSrc, XnUInt32 nSrcSize, void* pDst, XnUInt32 nDstSize, XnUInt* pnBytesWritten) const = 0;
};
class ModuleScriptNode : virtual public ModuleProductionNode
{
public:
#ifdef XN_NO_DYNAMIC_CAST
ModuleScriptNode() { m_aInterfaces[XN_NODE_TYPE_SCRIPT] = this; }
#endif
virtual ~ModuleScriptNode() {}
virtual const XnChar* GetSupportedFormat() = 0;
virtual XnStatus LoadScriptFromFile(const XnChar* strFileName) = 0;
virtual XnStatus LoadScriptFromString(const XnChar* strScript) = 0;
virtual XnStatus Run(NodeInfoList& createdNodes, EnumerationErrors& errors) = 0;
};
}
#endif // __XN_MODULE_CPP_INTERFACE_H__
XnCppWrapper.h
XnListT.h
XN_IS_STATUS_OK
#define XN_IS_STATUS_OK(x)
Definition XnMacros.h:60
XnModuleInterface.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
XnModuleGetExportedInterfacePtr
void(* XnModuleGetExportedInterfacePtr)(XnModuleExportedProductionNodeInterface *pInterface)
Definition XnModuleInterface.h:63
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
xnOSMemSet
XN_C_API void XN_C_DECL xnOSMemSet(void *pDest, XnUInt8 nValue, XnSizeT nCount)
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
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
XnPlayerSeekOrigin
XnPlayerSeekOrigin
Definition XnTypes.h:532
XnCallbackHandle
void * XnCallbackHandle
Definition XnTypes.h:268
XnIRPixel
XnGrayscale16Pixel XnIRPixel
Definition XnTypes.h:305
XnUserID
XnUInt32 XnUserID
Definition XnTypes.h:546
XnProductionNodeType
XnInt32 XnProductionNodeType
Definition XnTypes.h:92
XnSkeletonJoint
XnSkeletonJoint
Definition XnTypes.h:612
XN_NODE_TYPE_PLAYER
@ XN_NODE_TYPE_PLAYER
Definition XnTypes.h:124
XN_NODE_TYPE_DEPTH
@ XN_NODE_TYPE_DEPTH
Definition XnTypes.h:106
XN_NODE_TYPE_HANDS
@ XN_NODE_TYPE_HANDS
Definition XnTypes.h:133
XN_NODE_TYPE_MAP_GENERATOR
@ XN_NODE_TYPE_MAP_GENERATOR
Definition XnTypes.h:141
XN_NODE_TYPE_SCRIPT
@ XN_NODE_TYPE_SCRIPT
Definition XnTypes.h:142
XN_NODE_TYPE_DEVICE
@ XN_NODE_TYPE_DEVICE
Definition XnTypes.h:103
XN_NODE_TYPE_IR
@ XN_NODE_TYPE_IR
Definition XnTypes.h:115
XN_NODE_TYPE_IMAGE
@ XN_NODE_TYPE_IMAGE
Definition XnTypes.h:109
XN_NODE_TYPE_AUDIO
@ XN_NODE_TYPE_AUDIO
Definition XnTypes.h:112
XN_NODE_TYPE_CODEC
@ XN_NODE_TYPE_CODEC
Definition XnTypes.h:136
XN_NODE_TYPE_PRODUCTION_NODE
@ XN_NODE_TYPE_PRODUCTION_NODE
Definition XnTypes.h:139
XN_NODE_TYPE_FIRST_EXTENSION
@ XN_NODE_TYPE_FIRST_EXTENSION
Definition XnTypes.h:144
XN_NODE_TYPE_GENERATOR
@ XN_NODE_TYPE_GENERATOR
Definition XnTypes.h:140
XN_NODE_TYPE_GESTURE
@ XN_NODE_TYPE_GESTURE
Definition XnTypes.h:127
XN_NODE_TYPE_RECORDER
@ XN_NODE_TYPE_RECORDER
Definition XnTypes.h:121
XN_NODE_TYPE_USER
@ XN_NODE_TYPE_USER
Definition XnTypes.h:118
XN_NODE_TYPE_SCENE
@ XN_NODE_TYPE_SCENE
Definition XnTypes.h:130
XnDepthPixel
XnUInt16 XnDepthPixel
Definition XnTypes.h:276
XnLabel
XnUInt16 XnLabel
Definition XnTypes.h:308
XnListT
Definition XnListT.h:65
xn::Context
Definition XnCppWrapper.h:8594
xn::EnumerationErrors
Definition XnCppWrapper.h:8407
xn::ExtensionModule
Definition XnModuleCppInterface.h:83
xn::ExtensionModule::Load
virtual XnStatus Load()
Definition XnModuleCppInterface.h:85
xn::ExtensionModule::RegisterNewTypes
virtual XnStatus RegisterNewTypes()=0
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::ModuleAlternativeViewPointInterface::~ModuleAlternativeViewPointInterface
virtual ~ModuleAlternativeViewPointInterface()
Definition XnModuleCppInterface.h:214
xn::ModuleAntiFlickerInterface
Definition XnModuleCppInterface.h:319
xn::ModuleAntiFlickerInterface::~ModuleAntiFlickerInterface
virtual ~ModuleAntiFlickerInterface()
Definition XnModuleCppInterface.h:321
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::~ModuleAudioGenerator
virtual ~ModuleAudioGenerator()
Definition XnModuleCppInterface.h:567
xn::ModuleAudioGenerator::GetWaveOutputMode
virtual XnStatus GetWaveOutputMode(XnWaveOutputMode &OutputMode)=0
xn::ModuleAudioGenerator::GetData
virtual const void * GetData()
Definition XnModuleCppInterface.h:568
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::ModuleCodec::~ModuleCodec
virtual ~ModuleCodec()
Definition XnModuleCppInterface.h:584
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::~ModuleCroppingInterface
virtual ~ModuleCroppingInterface()
Definition XnModuleCppInterface.h:311
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::~ModuleDepthGenerator
virtual ~ModuleDepthGenerator()
Definition XnModuleCppInterface.h:363
xn::ModuleDepthGenerator::GetData
virtual const void * GetData()
Definition XnModuleCppInterface.h:364
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::ModuleDepthGenerator::GetBytesPerPixel
virtual XnUInt32 GetBytesPerPixel()
Definition XnModuleCppInterface.h:365
xn::ModuleDevice
Definition XnModuleCppInterface.h:192
xn::ModuleDevice::GetIdentificationInterface
virtual ModuleDeviceIdentificationInterface * GetIdentificationInterface()
Definition XnModuleCppInterface.h:198
xn::ModuleDevice::~ModuleDevice
virtual ~ModuleDevice()
Definition XnModuleCppInterface.h:197
xn::ModuleDeviceIdentificationInterface
Definition XnModuleCppInterface.h:183
xn::ModuleDeviceIdentificationInterface::GetSerialNumber
virtual XnStatus GetSerialNumber(XnChar *strBuffer, XnUInt32 &nBufferSize)=0
xn::ModuleDeviceIdentificationInterface::~ModuleDeviceIdentificationInterface
virtual ~ModuleDeviceIdentificationInterface()
Definition XnModuleCppInterface.h:185
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::ModuleErrorStateInterface::~ModuleErrorStateInterface
virtual ~ModuleErrorStateInterface()
Definition XnModuleCppInterface.h:135
xn::ModuleExportedProductionNode::~ModuleExportedProductionNode
virtual ~ModuleExportedProductionNode()
Definition XnModuleCppInterface.h:106
xn::ModuleExportedProductionNode::EnumerateProductionTrees
virtual XnStatus EnumerateProductionTrees(Context &context, NodeInfoList &TreesList, EnumerationErrors *pErrors)=0
xn::ModuleExportedProductionNode::Destroy
virtual void Destroy(ModuleProductionNode *pInstance)=0
xn::ModuleExportedProductionNode::GetDescription
virtual void GetDescription(XnProductionNodeDescription *pDescription)=0
xn::ModuleExportedProductionNode::Create
virtual XnStatus Create(Context &context, const XnChar *strInstanceName, const XnChar *strCreationInfo, NodeInfoList *pNeededTrees, const XnChar *strConfigurationDir, ModuleProductionNode **ppInstance)=0
xn::ModuleExportedProductionNode::ModuleExportedProductionNode
ModuleExportedProductionNode()
Definition XnModuleCppInterface.h:105
xn::ModuleExtendedSerializationInterface
Definition XnModuleCppInterface.h:115
xn::ModuleExtendedSerializationInterface::UnregisterExNotifications
virtual void UnregisterExNotifications()=0
xn::ModuleExtendedSerializationInterface::~ModuleExtendedSerializationInterface
virtual ~ModuleExtendedSerializationInterface()
Definition XnModuleCppInterface.h:117
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::~ModuleGenerator
virtual ~ModuleGenerator()
Definition XnModuleCppInterface.h:240
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::~ModuleGestureGenerator
virtual ~ModuleGestureGenerator()
Definition XnModuleCppInterface.h:409
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::GetData
virtual const void * GetData()
Definition XnModuleCppInterface.h:410
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::ModuleHandTouchingFOVEdgeInterface::~ModuleHandTouchingFOVEdgeInterface
virtual ~ModuleHandTouchingFOVEdgeInterface()
Definition XnModuleCppInterface.h:446
xn::ModuleHandsGenerator
Definition XnModuleCppInterface.h:452
xn::ModuleHandsGenerator::GetData
virtual const void * GetData()
Definition XnModuleCppInterface.h:458
xn::ModuleHandsGenerator::~ModuleHandsGenerator
virtual ~ModuleHandsGenerator()
Definition XnModuleCppInterface.h:457
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::Module::Module
Module()
Definition XnModuleCppInterface.h:50
xn::Module::Load
virtual XnStatus Load()
Definition XnModuleCppInterface.h:53
xn::Module::Unload
virtual void Unload()
Definition XnModuleCppInterface.h:54
xn::Module::GetExportedNodes
XnStatus GetExportedNodes(XnModuleGetExportedInterfacePtr *aEntryPoints, XnUInt32 nCount)
Definition XnModuleCppInterface.h:60
xn::Module::GetExportedNodesCount
XnUInt32 GetExportedNodesCount()
Definition XnModuleCppInterface.h:58
xn::Module::AddExportedNode
XnStatus AddExportedNode(XnModuleGetExportedInterfacePtr pEntryPoint)
Definition XnModuleCppInterface.h:56
xn::Module::~Module
virtual ~Module()
Definition XnModuleCppInterface.h:51
xn::ModuleIRGenerator
Definition XnModuleCppInterface.h:392
xn::ModuleIRGenerator::GetIRMap
virtual XnIRPixel * GetIRMap()=0
xn::ModuleIRGenerator::GetData
virtual const void * GetData()
Definition XnModuleCppInterface.h:398
xn::ModuleIRGenerator::GetBytesPerPixel
virtual XnUInt32 GetBytesPerPixel()
Definition XnModuleCppInterface.h:399
xn::ModuleIRGenerator::~ModuleIRGenerator
virtual ~ModuleIRGenerator()
Definition XnModuleCppInterface.h:397
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::~ModuleImageGenerator
virtual ~ModuleImageGenerator()
Definition XnModuleCppInterface.h:380
xn::ModuleImageGenerator::GetData
virtual const void * GetData()
Definition XnModuleCppInterface.h:381
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::GetBytesPerPixel
virtual XnUInt32 GetBytesPerPixel()
Definition XnModuleCppInterface.h:382
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::~ModuleLockAwareInterface
virtual ~ModuleLockAwareInterface()
Definition XnModuleCppInterface.h:125
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::~ModuleMapGenerator
virtual ~ModuleMapGenerator()
Definition XnModuleCppInterface.h:334
xn::ModuleMapGenerator::GetCroppingInterface
virtual ModuleCroppingInterface * GetCroppingInterface()
Definition XnModuleCppInterface.h:342
xn::ModuleMirrorInterface
Definition XnModuleCppInterface.h:202
xn::ModuleMirrorInterface::~ModuleMirrorInterface
virtual ~ModuleMirrorInterface()
Definition XnModuleCppInterface.h:204
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
Definition XnModuleCppInterface.h:260
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::~ModuleNodeNotifications
virtual ~ModuleNodeNotifications()
Definition XnModuleCppInterface.h:262
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::~ModulePlayer
virtual ~ModulePlayer()
Definition XnModuleCppInterface.h:291
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::~ModulePoseDetectionInteface
virtual ~ModulePoseDetectionInteface()
Definition XnModuleCppInterface.h:516
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::~ModuleProductionNode
virtual ~ModuleProductionNode()
Definition XnModuleCppInterface.h:161
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::~ModuleRecorder
virtual ~ModuleRecorder()
Definition XnModuleCppInterface.h:281
xn::ModuleRecorder::SetOutputStream
virtual XnStatus SetOutputStream(void *pCookie, XnRecorderOutputStreamInterface *pStream)=0
xn::ModuleSceneAnalyzer
Definition XnModuleCppInterface.h:431
xn::ModuleSceneAnalyzer::GetData
virtual const void * GetData()
Definition XnModuleCppInterface.h:437
xn::ModuleSceneAnalyzer::GetBytesPerPixel
virtual XnUInt32 GetBytesPerPixel()
Definition XnModuleCppInterface.h:438
xn::ModuleSceneAnalyzer::~ModuleSceneAnalyzer
virtual ~ModuleSceneAnalyzer()
Definition XnModuleCppInterface.h:436
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::~ModuleScriptNode
virtual ~ModuleScriptNode()
Definition XnModuleCppInterface.h:597
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::~ModuleSkeletonInterface
virtual ~ModuleSkeletonInterface()
Definition XnModuleCppInterface.h:472
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::~ModuleUserGenerator
virtual ~ModuleUserGenerator()
Definition XnModuleCppInterface.h:544
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::GetData
virtual const void * GetData()
Definition XnModuleCppInterface.h:545
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::~ModuleUserPositionInterface
virtual ~ModuleUserPositionInterface()
Definition XnModuleCppInterface.h:349
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
xnGetBytesPerPixelForPixelFormat
XN_C_API XnUInt32 XN_C_DECL xnGetBytesPerPixelForPixelFormat(XnPixelFormat format)
xn
Definition XnCppWrapper.h:35
xn::ExportedNodesList
XnListT< XnModuleGetExportedInterfacePtr > ExportedNodesList
Definition XnModuleCppInterface.h:43
XnBoundingBox3D
Definition XnTypes.h:478
XnCropping
Definition XnTypes.h:487
XnFieldOfView
Definition XnTypes.h:504
XnMapOutputMode
Definition XnTypes.h:433
XnNodeNotifications
Definition XnTypes.h:991
XnPlane3D
Definition XnTypes.h:561
XnPlayerInputStreamInterface
Definition XnTypes.h:922
XnProductionNodeDescription
Definition XnTypes.h:163
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