22 #ifndef __XN_MODULE_INTERFACE_H__ 23 #define __XN_MODULE_INTERFACE_H__ 33 #define XN_MODULE_LOAD xnModuleLoad 34 #define XN_MODULE_UNLOAD xnModuleUnload 35 #define XN_MODULE_GET_EXPORTED_NODES_COUNT xnModuleGetExportedNodesCount 36 #define XN_MODULE_GET_EXPORTED_NODES_ENTRY_POINTS xnModuleGetExportedNodesEntryPoints 37 #define XN_MODULE_GET_OPEN_NI_VERSION xnModuleGetOpenNIVersion 117 void (XN_CALLBACK_TYPE* GetDescription)
127 XnStatus (XN_CALLBACK_TYPE* EnumerateProductionTrees)
144 const XnChar* strInstanceName,
145 const XnChar* strCreationInfo,
147 const XnChar* strConfigurationDir,
155 void (XN_CALLBACK_TYPE* Destroy)
184 void (XN_CALLBACK_TYPE* General)(
void* pInterface);
221 XnStatus (XN_CALLBACK_TYPE* RegisterToLockChange)
231 void (XN_CALLBACK_TYPE* UnregisterFromLockChange)
253 XnStatus (XN_CALLBACK_TYPE* RegisterToErrorStateChange)
263 void (XN_CALLBACK_TYPE* UnregisterFromErrorStateChange)
281 XnStatus (XN_CALLBACK_TYPE* GetRange)(
XnModuleNodeHandle hGenerator,
const XnChar* strCap, XnInt32* pnMin, XnInt32* pnMax, XnInt32* pnStep, XnInt32* pnDefault, XnBool* pbIsAutoSupported);
310 XnStatus (XN_CALLBACK_TYPE* RegisterToValueChange)
321 void (XN_CALLBACK_TYPE* UnregisterFromValueChange)
334 XnBool (XN_CALLBACK_TYPE* IsCapabilitySupported)(
336 const XnChar* strCapabilityName
349 XnStatus (XN_CALLBACK_TYPE* SetGeneralProperty)(
XnModuleNodeHandle hInstance,
const XnChar* strName, XnUInt32 nBufferSize,
const void* pBuffer);
446 XnStatus (XN_CALLBACK_TYPE* RegisterToMirrorChange)
456 void (XN_CALLBACK_TYPE* UnregisterFromMirrorChange)
586 XnStatus (XN_CALLBACK_TYPE* StartGenerating)
594 XnBool (XN_CALLBACK_TYPE* IsGenerating)
602 void (XN_CALLBACK_TYPE* StopGenerating)
613 XnStatus (XN_CALLBACK_TYPE* RegisterToGenerationRunningChange)
623 void (XN_CALLBACK_TYPE* UnregisterFromGenerationRunningChange)
633 XnStatus (XN_CALLBACK_TYPE* RegisterToNewDataAvailable)
643 void (XN_CALLBACK_TYPE* UnregisterFromNewDataAvailable)
652 XnBool (XN_CALLBACK_TYPE* IsNewDataAvailable)
661 XnStatus (XN_CALLBACK_TYPE* UpdateData)
709 XnStatus (XN_CALLBACK_TYPE* SetOutputStream)
725 XnStatus (XN_CALLBACK_TYPE* SetInputStream)
743 XnStatus (XN_CALLBACK_TYPE* SetNodeNotifications)
746 XnStatus (XN_CALLBACK_TYPE* SetRawNodeNotifications)
755 XnStatus (XN_CALLBACK_TYPE* SetRepeat)
758 XnStatus (XN_CALLBACK_TYPE* SeekToTimeStamp)
761 XnStatus (XN_CALLBACK_TYPE* SeekToFrame)
764 XnStatus (XN_CALLBACK_TYPE* TellTimestamp)
767 XnStatus (XN_CALLBACK_TYPE* TellFrame)
770 XnStatus (XN_CALLBACK_TYPE* GetNumFrames)
773 const XnChar* (XN_CALLBACK_TYPE* GetSupportedFormat)
776 XnBool (XN_CALLBACK_TYPE* IsEOF)
787 XnStatus (XN_CALLBACK_TYPE* RegisterToEndOfFileReached)
797 void (XN_CALLBACK_TYPE* UnregisterFromEndOfFileReached)
831 XnStatus (XN_CALLBACK_TYPE* RegisterToCroppingChange)
841 void (XN_CALLBACK_TYPE* UnregisterFromCroppingChange)
871 XnStatus (XN_CALLBACK_TYPE* RegisterToPowerLineFrequencyChange)
881 void (XN_CALLBACK_TYPE* UnregisterFromPowerLineFrequencyChange)
899 XnUInt32 (XN_CALLBACK_TYPE* GetSupportedMapOutputModesCount)
911 XnStatus (XN_CALLBACK_TYPE* GetSupportedMapOutputModes)
921 XnStatus (XN_CALLBACK_TYPE* SetMapOutputMode)
930 XnStatus (XN_CALLBACK_TYPE* GetMapOutputMode)
941 XnStatus (XN_CALLBACK_TYPE* RegisterToMapOutputModeChange)
951 void (XN_CALLBACK_TYPE* UnregisterFromMapOutputModeChange)
962 XnUInt32 (XN_CALLBACK_TYPE* GetBytesPerPixel)
979 XnUInt32 (XN_CALLBACK_TYPE* GetSupportedUserPositionsCount)
1001 XnStatus (XN_CALLBACK_TYPE* GetUserPosition)
1012 XnStatus (XN_CALLBACK_TYPE* RegisterToUserPositionChange)
1022 void (XN_CALLBACK_TYPE* UnregisterFromUserPositionChange)
1169 XnBool (XN_CALLBACK_TYPE* IsGestureProgressSupported)(
XnModuleNodeHandle hGenerator,
const XnChar* strGesture);
1175 XnStatus (XN_CALLBACK_TYPE* GetAllActiveGestures)(
XnModuleNodeHandle hGenerator, XnChar** pstrGestures, XnUInt32 nNameLength, XnUInt16* nGestures);
1176 XnStatus (XN_CALLBACK_TYPE* EnumerateAllGestures)(
XnModuleNodeHandle hGenerator, XnChar** pstrGestures, XnUInt32 nNameLength, XnUInt16* nGestures);
1336 XnStatus (XN_CALLBACK_TYPE* CompressData)(
XnModuleNodeHandle hCodec,
const void* pSrc, XnUInt32 nSrcSize,
void* pDst, XnUInt32 nDstSize, XnUInt* pnBytesWritten);
1337 XnStatus (XN_CALLBACK_TYPE* DecompressData)(
XnModuleNodeHandle hCodec,
const void* pSrc, XnUInt32 nSrcSize,
void* pDst, XnUInt32 nDstSize, XnUInt* pnBytesWritten);
1352 #endif // __XN_MODULE_INTERFACE_H__ Definition: XnTypes.h:482
struct XnModuleAudioGeneratorInterface XnModuleAudioGeneratorInterface
void(* XnModuleHandCreate)(XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, void *pCookie)
Definition: XnModuleInterface.h:90
void(* XnModuleGetExportedInterfacePtr)(XnModuleExportedProductionNodeInterface *pInterface)
Definition: XnModuleInterface.h:64
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:712
XnUInt32 XnUserID
Definition: XnTypes.h:525
XnModuleMirrorInterface * pMirrorInterface
Definition: XnModuleInterface.h:685
struct XnModuleImageGeneratorInterface XnModuleImageGeneratorInterface
Definition: XnModuleInterface.h:268
struct XnModuleGeneratorInterface XnModuleGeneratorInterface
void * XnModuleNodeHandle
Definition: XnTypes.h:219
struct XnModuleCodecInterface XnModuleCodecInterface
struct XnEnumerationErrors XnEnumerationErrors
Definition: XnTypes.h:214
const XnLabel *(* GetLabelMap)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1190
struct XnModuleDeviceIdentificationInterface XnModuleDeviceIdentificationInterface
XnModuleAlternativeViewPointInterface * pAlternativeViewPointInterface
Definition: XnModuleInterface.h:686
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:1343
Definition: XnModuleInterface.h:326
struct XnModuleLockAwareInterface XnModuleLockAwareInterface
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:1289
struct XnModuleProductionNodeInterface XnModuleProductionNodeInterface
Definition: XnTypes.h:162
Definition: XnModuleInterface.h:805
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:1317
struct XnModuleCroppingInterface XnModuleCroppingInterface
void(* XnModuleHandTouchingFOVEdge)(XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, XnDirection eDir, void *pCookie)
Definition: XnModuleInterface.h:87
XnPlayerSeekOrigin
Definition: XnTypes.h:510
XnModuleUnloadPtr pUnloadFunc
Definition: XnModuleInterface.h:74
XnStatus(XN_C_DECL * XnModuleLoadPtr)()
Definition: XnModuleInterface.h:65
Definition: XnModuleInterface.h:461
Definition: XnTypes.h:151
Definition: XnModuleInterface.h:421
struct XnModuleHandTouchingFOVEdgeCapabilityInterface XnModuleHandTouchingFOVEdgeCapabilityInterface
void(* XnModuleHandDestroy)(XnUserID user, XnFloat fTime, void *pCookie)
Definition: XnModuleInterface.h:92
XnPoseDetectionStatus
Definition: XnTypes.h:642
struct XnModuleDepthGeneratorInterface XnModuleDepthGeneratorInterface
Definition: XnModuleInterface.h:71
Definition: XnModuleInterface.h:110
Definition: XnModuleInterface.h:700
Definition: XnModuleInterface.h:1330
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:1205
XnModuleExtendedSerializationInterface * pExtendedSerializationInterface
Definition: XnModuleInterface.h:363
XnPowerLineFrequency
Definition: XnTypes.h:517
XnNodeNotifications * pNodeNotifications
Definition: XnModuleInterface.h:713
XnModuleGeneralIntInterface * pGeneralIntInterface
Definition: XnModuleInterface.h:366
Definition: XnTypes.h:568
void(* XnModulePoseDetectionInProgressCallback)(const XnChar *strPose, XnUserID user, XnPoseDetectionStatus poseError, void *pCookie)
Definition: XnModuleInterface.h:108
Definition: XnTypes.h:465
XnModuleCroppingInterface * pCroppingInterface
Definition: XnModuleInterface.h:954
struct XnModuleIRGeneratorInterface XnModuleIRGeneratorInterface
void(* XnModuleUserHandler)(XnUserID user, void *pCookie)
Definition: XnModuleInterface.h:84
XnUInt32 XnStatus
Definition: XnStatus.h:34
struct XnModuleAlternativeViewPointInterface XnModuleAlternativeViewPointInterface
Definition: XnTypes.h:969
XnModuleSkeletonCapabilityInterface * pSkeletonInterface
Definition: XnModuleInterface.h:1301
XnModuleMapGeneratorInterface * pMapInterface
Definition: XnModuleInterface.h:1188
XnModuleHandTouchingFOVEdgeCapabilityInterface * pHandTouchingFOVEdgeInterface
Definition: XnModuleInterface.h:1214
XnUInt16 XnDepthPixel
Definition: XnTypes.h:255
XnModuleMapGeneratorInterface * pMapInterface
Definition: XnModuleInterface.h:1150
XnModuleLoadPtr pLoadFunc
Definition: XnModuleInterface.h:73
Definition: XnModuleInterface.h:1315
struct XnModuleSkeletonCapabilityInterface XnModuleSkeletonCapabilityInterface
XnUInt8 *(* GetImageMap)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1096
void(* XnModuleCalibrationInProgress)(XnUserID user, XnCalibrationStatus calibrationError, void *pCookie)
Definition: XnModuleInterface.h:103
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:800
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:415
Definition: XnTypes.h:444
struct XnModuleGeneralIntInterface XnModuleGeneralIntInterface
struct XnInternalNodeData * XnNodeHandle
Definition: XnTypes.h:82
XnModuleFrameSyncInterface * pFrameSyncInterface
Definition: XnModuleInterface.h:688
XnModuleErrorStateInterface * pErrorStateInterface
Definition: XnModuleInterface.h:365
void(* XnModuleStateChangedHandler)(void *pCookie)
Definition: XnModuleInterface.h:81
Definition: XnModuleInterface.h:1088
struct XnModuleGestureGeneratorInterface XnModuleGestureGeneratorInterface
struct XnModulePlayerInterface XnModulePlayerInterface
void * pObsolete1
Definition: XnModuleInterface.h:687
void(* XnModuleGestureRecognized)(const XnChar *strGesture, const XnPoint3D *pIDPosition, const XnPoint3D *pEndPosition, void *pCookie)
Definition: XnModuleInterface.h:95
struct XnNodeInfoList XnNodeInfoList
Definition: XnTypes.h:187
XnModulePoseDetectionCapabilityInterface * pPoseDetectionInterface
Definition: XnModuleInterface.h:1305
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:891
Definition: XnModuleInterface.h:196
XnUChar *(* GetAudioBuffer)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1319
Definition: XnTypes.h:411
Definition: XnModuleInterface.h:1203
XnUInt16 XnLabel
Definition: XnTypes.h:287
void(* XnModulePoseDetectionCallback)(const XnChar *strPose, XnUserID user, void *pCookie)
Definition: XnModuleInterface.h:107
XnGrayscale16Pixel XnIRPixel
Definition: XnTypes.h:284
void * pObsolete1
Definition: XnModuleInterface.h:801
Definition: XnModuleInterface.h:189
Definition: XnModuleInterface.h:716
Definition: XnModuleInterface.h:236
XnUInt32(XN_C_DECL * XnModuleGetExportedNodesCountPtr)()
Definition: XnModuleInterface.h:67
const XnChar *(* GetSupportedFormat)(XnModuleNodeHandle hScript)
Definition: XnModuleInterface.h:1345
Definition: XnModuleInterface.h:886
void * XnCallbackHandle
Definition: XnTypes.h:247
XnCalibrationStatus
Definition: XnTypes.h:661
Definition: XnTypes.h:456
struct XnModuleUserGeneratorInterface XnModuleUserGeneratorInterface
void(* XnModuleCalibrationEnd)(XnUserID user, XnBool bSuccess, void *pCookie)
Definition: XnModuleInterface.h:102
XnUInt32 XnCodecID
Definition: XnTypes.h:818
struct XnModulePoseDetectionCapabilityInterface XnModulePoseDetectionCapabilityInterface
void(* XnModuleGestureIntermediateStageCompleted)(const XnChar *strGesture, const XnPoint3D *pPosition, void *pCookie)
Definition: XnModuleInterface.h:97
Definition: XnModuleInterface.h:1145
XnModuleMapGeneratorInterface * pMapInterface
Definition: XnModuleInterface.h:1093
struct XnModuleHandsGeneratorInterface XnModuleHandsGeneratorInterface
Definition: XnModuleInterface.h:1287
void(XN_C_DECL * XnModuleGetOpenNIVersionPtr)(XnVersion *pVersion)
Definition: XnModuleInterface.h:69
Definition: XnModuleInterface.h:972
void(* XnModuleGestureReadyForNextIntermediateStage)(const XnChar *strGesture, const XnPoint3D *pPosition, void *pCookie)
Definition: XnModuleInterface.h:98
void(* XnModuleGestureProgress)(const XnChar *strGesture, const XnPoint3D *pPosition, XnFloat fProgress, void *pCookie)
Definition: XnModuleInterface.h:96
XnModuleProductionNodeInterface * pProductionNodeInterface
Definition: XnModuleInterface.h:579
Definition: XnModuleInterface.h:1028
Definition: XnModuleInterface.h:1186
XnModuleLockAwareInterface * pLockAwareInterface
Definition: XnModuleInterface.h:364
struct XnModuleAntiFlickerInterface XnModuleAntiFlickerInterface
XnIRPixel *(* GetIRMap)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1153
XnSkeletonJoint
Definition: XnTypes.h:590
Definition: XnModuleInterface.h:1160
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:1162
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:1332
struct XnModuleExtendedSerializationInterface XnModuleExtendedSerializationInterface
XnModuleUserPositionCapabilityInterface * pUserPositionInterface
Definition: XnModuleInterface.h:1083
XnStatus(XN_C_DECL * XnModuleGetExportedNodesEntryPointsPtr)(XnModuleGetExportedInterfacePtr *aEntryPoints, XnUInt32 nCount)
Definition: XnModuleInterface.h:68
Definition: XnTypes.h:552
Definition: XnTypes.h:828
XnModuleGetOpenNIVersionPtr pGetVersionFunc
Definition: XnModuleInterface.h:77
Definition: XnTypes.h:434
XnModuleDeviceIdentificationInterface * pDeviceIdentificationInterface
Definition: XnModuleInterface.h:417
Definition: XnModuleInterface.h:574
XnSkeletonProfile
Definition: XnTypes.h:623
void(* XnModuleCalibrationComplete)(XnUserID user, XnCalibrationStatus calibrationError, void *pCookie)
Definition: XnModuleInterface.h:104
Definition: XnModuleInterface.h:370
XnPixelFormat
Definition: XnTypes.h:490
struct XnModuleMapGeneratorInterface XnModuleMapGeneratorInterface
Definition: XnModuleInterface.h:1341
struct XnModuleScriptNodeInterface XnModuleScriptNodeInterface
Definition: XnTypes.h:539
XnModuleMapGeneratorInterface * pMapInterface
Definition: XnModuleInterface.h:1033
XnModuleAntiFlickerInterface * pAntiFlickerInterface
Definition: XnModuleInterface.h:965
struct XnModuleFrameSyncInterface XnModuleFrameSyncInterface
XnDirection
Definition: XnTypes.h:677
XnModuleGetExportedNodesCountPtr pGetCountFunc
Definition: XnModuleInterface.h:75
struct XnModuleErrorStateInterface XnModuleErrorStateInterface
struct XnModuleExportedProductionNodeInterface XnModuleExportedProductionNodeInterface
void(XN_C_DECL * XnModuleUnloadPtr)()
Definition: XnModuleInterface.h:66
struct XnContext XnContext
Definition: XnTypes.h:77
Definition: XnModuleInterface.h:846
struct XnModuleDeviceInterface XnModuleDeviceInterface
struct XnOpenNIModuleInterface XnOpenNIModuleInterface
void(* XnModuleCalibrationStart)(XnUserID user, void *pCookie)
Definition: XnModuleInterface.h:101
XnModuleGetExportedNodesEntryPointsPtr pGetEntryPointsFunc
Definition: XnModuleInterface.h:76
Definition: XnModuleInterface.h:1264
void(* XnModuleHandUpdate)(XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, void *pCookie)
Definition: XnModuleInterface.h:91
const void *(* GetData)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:696
Definition: XnModuleInterface.h:1197
Definition: XnModuleInterface.h:413
struct XnModuleUserPositionCapabilityInterface XnModuleUserPositionCapabilityInterface
Definition: XnModuleInterface.h:517
struct XnModuleSceneAnalyzerInterface XnModuleSceneAnalyzerInterface
struct XnModuleMirrorInterface XnModuleMirrorInterface
struct XnModuleRecorderInterface XnModuleRecorderInterface
Definition: XnModuleInterface.h:1221