21 #ifndef __XN_MODULE_INTERFACE_H__ 22 #define __XN_MODULE_INTERFACE_H__ 32 #define XN_MODULE_LOAD xnModuleLoad 33 #define XN_MODULE_UNLOAD xnModuleUnload 34 #define XN_MODULE_GET_EXPORTED_NODES_COUNT xnModuleGetExportedNodesCount 35 #define XN_MODULE_GET_EXPORTED_NODES_ENTRY_POINTS xnModuleGetExportedNodesEntryPoints 36 #define XN_MODULE_GET_OPEN_NI_VERSION xnModuleGetOpenNIVersion 115 void (XN_CALLBACK_TYPE* GetDescription)
125 XnStatus (XN_CALLBACK_TYPE* EnumerateProductionTrees)
142 const XnChar* strInstanceName,
143 const XnChar* strCreationInfo,
145 const XnChar* strConfigurationDir,
153 void (XN_CALLBACK_TYPE* Destroy)
182 void (XN_CALLBACK_TYPE* General)(
void* pInterface);
219 XnStatus (XN_CALLBACK_TYPE* RegisterToLockChange)
229 void (XN_CALLBACK_TYPE* UnregisterFromLockChange)
251 XnStatus (XN_CALLBACK_TYPE* RegisterToErrorStateChange)
261 void (XN_CALLBACK_TYPE* UnregisterFromErrorStateChange)
279 XnStatus (XN_CALLBACK_TYPE* GetRange)(
XnModuleNodeHandle hGenerator,
const XnChar* strCap, XnInt32* pnMin, XnInt32* pnMax, XnInt32* pnStep, XnInt32* pnDefault, XnBool* pbIsAutoSupported);
308 XnStatus (XN_CALLBACK_TYPE* RegisterToValueChange)
319 void (XN_CALLBACK_TYPE* UnregisterFromValueChange)
332 XnBool (XN_CALLBACK_TYPE* IsCapabilitySupported)(
334 const XnChar* strCapabilityName
347 XnStatus (XN_CALLBACK_TYPE* SetGeneralProperty)(
XnModuleNodeHandle hInstance,
const XnChar* strName, XnUInt32 nBufferSize,
const void* pBuffer);
444 XnStatus (XN_CALLBACK_TYPE* RegisterToMirrorChange)
454 void (XN_CALLBACK_TYPE* UnregisterFromMirrorChange)
596 XnStatus (XN_CALLBACK_TYPE* StartGenerating)
604 XnBool (XN_CALLBACK_TYPE* IsGenerating)
612 void (XN_CALLBACK_TYPE* StopGenerating)
623 XnStatus (XN_CALLBACK_TYPE* RegisterToGenerationRunningChange)
633 void (XN_CALLBACK_TYPE* UnregisterFromGenerationRunningChange)
643 XnStatus (XN_CALLBACK_TYPE* RegisterToNewDataAvailable)
653 void (XN_CALLBACK_TYPE* UnregisterFromNewDataAvailable)
662 XnBool (XN_CALLBACK_TYPE* IsNewDataAvailable)
671 XnStatus (XN_CALLBACK_TYPE* UpdateData)
719 XnStatus (XN_CALLBACK_TYPE* SetOutputStream)
735 XnStatus (XN_CALLBACK_TYPE* SetInputStream)
753 XnStatus (XN_CALLBACK_TYPE* SetNodeNotifications)
756 XnStatus (XN_CALLBACK_TYPE* SetRawNodeNotifications)
765 XnStatus (XN_CALLBACK_TYPE* SetRepeat)
768 XnStatus (XN_CALLBACK_TYPE* SeekToTimeStamp)
771 XnStatus (XN_CALLBACK_TYPE* SeekToFrame)
774 XnStatus (XN_CALLBACK_TYPE* TellTimestamp)
777 XnStatus (XN_CALLBACK_TYPE* TellFrame)
780 XnStatus (XN_CALLBACK_TYPE* GetNumFrames)
783 const XnChar* (XN_CALLBACK_TYPE* GetSupportedFormat)
786 XnBool (XN_CALLBACK_TYPE* IsEOF)
797 XnStatus (XN_CALLBACK_TYPE* RegisterToEndOfFileReached)
807 void (XN_CALLBACK_TYPE* UnregisterFromEndOfFileReached)
841 XnStatus (XN_CALLBACK_TYPE* RegisterToCroppingChange)
851 void (XN_CALLBACK_TYPE* UnregisterFromCroppingChange)
881 XnStatus (XN_CALLBACK_TYPE* RegisterToPowerLineFrequencyChange)
891 void (XN_CALLBACK_TYPE* UnregisterFromPowerLineFrequencyChange)
909 XnUInt32 (XN_CALLBACK_TYPE* GetSupportedMapOutputModesCount)
921 XnStatus (XN_CALLBACK_TYPE* GetSupportedMapOutputModes)
931 XnStatus (XN_CALLBACK_TYPE* SetMapOutputMode)
940 XnStatus (XN_CALLBACK_TYPE* GetMapOutputMode)
951 XnStatus (XN_CALLBACK_TYPE* RegisterToMapOutputModeChange)
961 void (XN_CALLBACK_TYPE* UnregisterFromMapOutputModeChange)
972 XnUInt32 (XN_CALLBACK_TYPE* GetBytesPerPixel)
989 XnUInt32 (XN_CALLBACK_TYPE* GetSupportedUserPositionsCount)
1011 XnStatus (XN_CALLBACK_TYPE* GetUserPosition)
1022 XnStatus (XN_CALLBACK_TYPE* RegisterToUserPositionChange)
1032 void (XN_CALLBACK_TYPE* UnregisterFromUserPositionChange)
1179 XnBool (XN_CALLBACK_TYPE* IsGestureProgressSupported)(
XnModuleNodeHandle hGenerator,
const XnChar* strGesture);
1185 XnStatus (XN_CALLBACK_TYPE* GetAllActiveGestures)(
XnModuleNodeHandle hGenerator, XnChar** pstrGestures, XnUInt32 nNameLength, XnUInt16* nGestures);
1186 XnStatus (XN_CALLBACK_TYPE* EnumerateAllGestures)(
XnModuleNodeHandle hGenerator, XnChar** pstrGestures, XnUInt32 nNameLength, XnUInt16* nGestures);
1346 XnStatus (XN_CALLBACK_TYPE* CompressData)(
XnModuleNodeHandle hCodec,
const void* pSrc, XnUInt32 nSrcSize,
void* pDst, XnUInt32 nDstSize, XnUInt* pnBytesWritten);
1347 XnStatus (XN_CALLBACK_TYPE* DecompressData)(
XnModuleNodeHandle hCodec,
const void* pSrc, XnUInt32 nSrcSize,
void* pDst, XnUInt32 nDstSize, XnUInt* pnBytesWritten);
1362 #endif // __XN_MODULE_INTERFACE_H__ Definition: XnTypes.h:506
struct XnModuleAudioGeneratorInterface XnModuleAudioGeneratorInterface
void(* XnModuleHandCreate)(XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, void *pCookie)
Definition: XnModuleInterface.h:88
void(* XnModuleGetExportedInterfacePtr)(XnModuleExportedProductionNodeInterface *pInterface)
Definition: XnModuleInterface.h:62
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:722
XnUInt32 XnUserID
Definition: XnTypes.h:549
XnModuleMirrorInterface * pMirrorInterface
Definition: XnModuleInterface.h:695
struct XnModuleImageGeneratorInterface XnModuleImageGeneratorInterface
Definition: XnModuleInterface.h:266
struct XnModuleGeneratorInterface XnModuleGeneratorInterface
void * XnModuleNodeHandle
Definition: XnTypes.h:221
struct XnModuleCodecInterface XnModuleCodecInterface
struct XnEnumerationErrors XnEnumerationErrors
Definition: XnTypes.h:216
const XnLabel *(* GetLabelMap)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1200
struct XnModuleDeviceIdentificationInterface XnModuleDeviceIdentificationInterface
XnModuleAlternativeViewPointInterface * pAlternativeViewPointInterface
Definition: XnModuleInterface.h:696
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:1353
Definition: XnModuleInterface.h:324
struct XnModuleLockAwareInterface XnModuleLockAwareInterface
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:1299
struct XnModuleProductionNodeInterface XnModuleProductionNodeInterface
Definition: XnTypes.h:164
Definition: XnModuleInterface.h:815
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:1327
struct XnModuleCroppingInterface XnModuleCroppingInterface
void(* XnModuleHandTouchingFOVEdge)(XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, XnDirection eDir, void *pCookie)
Definition: XnModuleInterface.h:85
XnPlayerSeekOrigin
Definition: XnTypes.h:534
XnModuleUnloadPtr pUnloadFunc
Definition: XnModuleInterface.h:72
XnStatus(XN_C_DECL * XnModuleLoadPtr)()
Definition: XnModuleInterface.h:63
Definition: XnModuleInterface.h:459
Definition: XnTypes.h:153
Definition: XnModuleInterface.h:419
struct XnModuleHandTouchingFOVEdgeCapabilityInterface XnModuleHandTouchingFOVEdgeCapabilityInterface
void(* XnModuleHandDestroy)(XnUserID user, XnFloat fTime, void *pCookie)
Definition: XnModuleInterface.h:90
XnPoseDetectionStatus
Definition: XnTypes.h:666
struct XnModuleDepthGeneratorInterface XnModuleDepthGeneratorInterface
Definition: XnModuleInterface.h:69
Definition: XnModuleInterface.h:108
Definition: XnModuleInterface.h:710
Definition: XnModuleInterface.h:1340
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:1215
XnModuleExtendedSerializationInterface * pExtendedSerializationInterface
Definition: XnModuleInterface.h:361
XnPowerLineFrequency
Definition: XnTypes.h:541
XnNodeNotifications * pNodeNotifications
Definition: XnModuleInterface.h:723
XnModuleGeneralIntInterface * pGeneralIntInterface
Definition: XnModuleInterface.h:364
Definition: XnTypes.h:592
void(* XnModulePoseDetectionInProgressCallback)(const XnChar *strPose, XnUserID user, XnPoseDetectionStatus poseError, void *pCookie)
Definition: XnModuleInterface.h:106
Definition: XnTypes.h:489
XnModuleCroppingInterface * pCroppingInterface
Definition: XnModuleInterface.h:964
struct XnModuleIRGeneratorInterface XnModuleIRGeneratorInterface
void(* XnModuleUserHandler)(XnUserID user, void *pCookie)
Definition: XnModuleInterface.h:82
XnUInt32 XnStatus
Definition: XnStatus.h:33
struct XnModuleAlternativeViewPointInterface XnModuleAlternativeViewPointInterface
Definition: XnTypes.h:993
XnModuleSkeletonCapabilityInterface * pSkeletonInterface
Definition: XnModuleInterface.h:1311
XnModuleMapGeneratorInterface * pMapInterface
Definition: XnModuleInterface.h:1198
XnModuleHandTouchingFOVEdgeCapabilityInterface * pHandTouchingFOVEdgeInterface
Definition: XnModuleInterface.h:1224
XnUInt16 XnDepthPixel
Definition: XnTypes.h:278
XnModuleMapGeneratorInterface * pMapInterface
Definition: XnModuleInterface.h:1160
XnModuleLoadPtr pLoadFunc
Definition: XnModuleInterface.h:71
Definition: XnModuleInterface.h:1325
struct XnModuleSkeletonCapabilityInterface XnModuleSkeletonCapabilityInterface
XnUInt8 *(* GetImageMap)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1106
void(* XnModuleCalibrationInProgress)(XnUserID user, XnCalibrationStatus calibrationError, void *pCookie)
Definition: XnModuleInterface.h:101
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:810
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:413
Definition: XnTypes.h:468
struct XnModuleGeneralIntInterface XnModuleGeneralIntInterface
struct XnInternalNodeData * XnNodeHandle
Definition: XnTypes.h:84
XnModuleFrameSyncInterface * pFrameSyncInterface
Definition: XnModuleInterface.h:698
XnModuleErrorStateInterface * pErrorStateInterface
Definition: XnModuleInterface.h:363
void(* XnModuleStateChangedHandler)(void *pCookie)
Definition: XnModuleInterface.h:79
Definition: XnModuleInterface.h:1098
struct XnModuleGestureGeneratorInterface XnModuleGestureGeneratorInterface
struct XnModulePlayerInterface XnModulePlayerInterface
void * pObsolete1
Definition: XnModuleInterface.h:697
void(* XnModuleGestureRecognized)(const XnChar *strGesture, const XnPoint3D *pIDPosition, const XnPoint3D *pEndPosition, void *pCookie)
Definition: XnModuleInterface.h:93
struct XnNodeInfoList XnNodeInfoList
Definition: XnTypes.h:189
XnModulePoseDetectionCapabilityInterface * pPoseDetectionInterface
Definition: XnModuleInterface.h:1315
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:901
Definition: XnModuleInterface.h:194
XnUChar *(* GetAudioBuffer)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1329
Definition: XnTypes.h:435
Definition: XnModuleInterface.h:1213
XnUInt16 XnLabel
Definition: XnTypes.h:310
void(* XnModulePoseDetectionCallback)(const XnChar *strPose, XnUserID user, void *pCookie)
Definition: XnModuleInterface.h:105
XnGrayscale16Pixel XnIRPixel
Definition: XnTypes.h:307
void * pObsolete1
Definition: XnModuleInterface.h:811
Definition: XnModuleInterface.h:187
Definition: XnModuleInterface.h:726
Definition: XnModuleInterface.h:234
XnUInt32(XN_C_DECL * XnModuleGetExportedNodesCountPtr)()
Definition: XnModuleInterface.h:65
const XnChar *(* GetSupportedFormat)(XnModuleNodeHandle hScript)
Definition: XnModuleInterface.h:1355
Definition: XnModuleInterface.h:896
void * XnCallbackHandle
Definition: XnTypes.h:270
XnCalibrationStatus
Definition: XnTypes.h:685
Definition: XnTypes.h:480
struct XnModuleUserGeneratorInterface XnModuleUserGeneratorInterface
void(* XnModuleCalibrationEnd)(XnUserID user, XnBool bSuccess, void *pCookie)
Definition: XnModuleInterface.h:100
XnUInt32 XnCodecID
Definition: XnTypes.h:842
struct XnModulePoseDetectionCapabilityInterface XnModulePoseDetectionCapabilityInterface
void(* XnModuleGestureIntermediateStageCompleted)(const XnChar *strGesture, const XnPoint3D *pPosition, void *pCookie)
Definition: XnModuleInterface.h:95
Definition: XnModuleInterface.h:1155
XnModuleMapGeneratorInterface * pMapInterface
Definition: XnModuleInterface.h:1103
struct XnModuleHandsGeneratorInterface XnModuleHandsGeneratorInterface
Definition: XnModuleInterface.h:1297
void(XN_C_DECL * XnModuleGetOpenNIVersionPtr)(XnVersion *pVersion)
Definition: XnModuleInterface.h:67
Definition: XnModuleInterface.h:982
void(* XnModuleGestureReadyForNextIntermediateStage)(const XnChar *strGesture, const XnPoint3D *pPosition, void *pCookie)
Definition: XnModuleInterface.h:96
void(* XnModuleGestureProgress)(const XnChar *strGesture, const XnPoint3D *pPosition, XnFloat fProgress, void *pCookie)
Definition: XnModuleInterface.h:94
XnModuleProductionNodeInterface * pProductionNodeInterface
Definition: XnModuleInterface.h:589
Definition: XnModuleInterface.h:1038
Definition: XnModuleInterface.h:1196
XnModuleLockAwareInterface * pLockAwareInterface
Definition: XnModuleInterface.h:362
struct XnModuleAntiFlickerInterface XnModuleAntiFlickerInterface
XnIRPixel *(* GetIRMap)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1163
XnSkeletonJoint
Definition: XnTypes.h:614
Definition: XnModuleInterface.h:1170
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:1172
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:1342
struct XnModuleExtendedSerializationInterface XnModuleExtendedSerializationInterface
XnModuleUserPositionCapabilityInterface * pUserPositionInterface
Definition: XnModuleInterface.h:1093
XnStatus(XN_C_DECL * XnModuleGetExportedNodesEntryPointsPtr)(XnModuleGetExportedInterfacePtr *aEntryPoints, XnUInt32 nCount)
Definition: XnModuleInterface.h:66
Definition: XnTypes.h:576
Definition: XnTypes.h:852
XnModuleGetOpenNIVersionPtr pGetVersionFunc
Definition: XnModuleInterface.h:75
Definition: XnTypes.h:458
XnModuleDeviceIdentificationInterface * pDeviceIdentificationInterface
Definition: XnModuleInterface.h:415
Definition: XnModuleInterface.h:584
XnSkeletonProfile
Definition: XnTypes.h:647
void(* XnModuleCalibrationComplete)(XnUserID user, XnCalibrationStatus calibrationError, void *pCookie)
Definition: XnModuleInterface.h:102
Definition: XnModuleInterface.h:368
XnPixelFormat
Definition: XnTypes.h:514
struct XnModuleMapGeneratorInterface XnModuleMapGeneratorInterface
Definition: XnModuleInterface.h:1351
struct XnModuleScriptNodeInterface XnModuleScriptNodeInterface
Definition: XnTypes.h:563
XnModuleMapGeneratorInterface * pMapInterface
Definition: XnModuleInterface.h:1043
XnModuleAntiFlickerInterface * pAntiFlickerInterface
Definition: XnModuleInterface.h:975
struct XnModuleFrameSyncInterface XnModuleFrameSyncInterface
XnDirection
Definition: XnTypes.h:701
XnModuleGetExportedNodesCountPtr pGetCountFunc
Definition: XnModuleInterface.h:73
struct XnModuleErrorStateInterface XnModuleErrorStateInterface
struct XnModuleExportedProductionNodeInterface XnModuleExportedProductionNodeInterface
void(XN_C_DECL * XnModuleUnloadPtr)()
Definition: XnModuleInterface.h:64
struct XnContext XnContext
Definition: XnTypes.h:79
Definition: XnModuleInterface.h:856
struct XnModuleDeviceInterface XnModuleDeviceInterface
struct XnOpenNIModuleInterface XnOpenNIModuleInterface
void(* XnModuleCalibrationStart)(XnUserID user, void *pCookie)
Definition: XnModuleInterface.h:99
XnModuleGetExportedNodesEntryPointsPtr pGetEntryPointsFunc
Definition: XnModuleInterface.h:74
Definition: XnModuleInterface.h:1274
void(* XnModuleHandUpdate)(XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, void *pCookie)
Definition: XnModuleInterface.h:89
const void *(* GetData)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:706
Definition: XnModuleInterface.h:1207
Definition: XnModuleInterface.h:411
struct XnModuleUserPositionCapabilityInterface XnModuleUserPositionCapabilityInterface
Definition: XnModuleInterface.h:527
struct XnModuleSceneAnalyzerInterface XnModuleSceneAnalyzerInterface
struct XnModuleMirrorInterface XnModuleMirrorInterface
struct XnModuleRecorderInterface XnModuleRecorderInterface
Definition: XnModuleInterface.h:1231