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 116 void (XN_CALLBACK_TYPE* GetDescription)
126 XnStatus (XN_CALLBACK_TYPE* EnumerateProductionTrees)
143 const XnChar* strInstanceName,
144 const XnChar* strCreationInfo,
146 const XnChar* strConfigurationDir,
154 void (XN_CALLBACK_TYPE* Destroy)
183 void (XN_CALLBACK_TYPE* General)(
void* pInterface);
220 XnStatus (XN_CALLBACK_TYPE* RegisterToLockChange)
230 void (XN_CALLBACK_TYPE* UnregisterFromLockChange)
252 XnStatus (XN_CALLBACK_TYPE* RegisterToErrorStateChange)
262 void (XN_CALLBACK_TYPE* UnregisterFromErrorStateChange)
280 XnStatus (XN_CALLBACK_TYPE* GetRange)(
XnModuleNodeHandle hGenerator,
const XnChar* strCap, XnInt32* pnMin, XnInt32* pnMax, XnInt32* pnStep, XnInt32* pnDefault, XnBool* pbIsAutoSupported);
309 XnStatus (XN_CALLBACK_TYPE* RegisterToValueChange)
320 void (XN_CALLBACK_TYPE* UnregisterFromValueChange)
333 XnBool (XN_CALLBACK_TYPE* IsCapabilitySupported)(
335 const XnChar* strCapabilityName
348 XnStatus (XN_CALLBACK_TYPE* SetGeneralProperty)(
XnModuleNodeHandle hInstance,
const XnChar* strName, XnUInt32 nBufferSize,
const void* pBuffer);
445 XnStatus (XN_CALLBACK_TYPE* RegisterToMirrorChange)
455 void (XN_CALLBACK_TYPE* UnregisterFromMirrorChange)
585 XnStatus (XN_CALLBACK_TYPE* StartGenerating)
593 XnBool (XN_CALLBACK_TYPE* IsGenerating)
601 void (XN_CALLBACK_TYPE* StopGenerating)
612 XnStatus (XN_CALLBACK_TYPE* RegisterToGenerationRunningChange)
622 void (XN_CALLBACK_TYPE* UnregisterFromGenerationRunningChange)
632 XnStatus (XN_CALLBACK_TYPE* RegisterToNewDataAvailable)
642 void (XN_CALLBACK_TYPE* UnregisterFromNewDataAvailable)
651 XnBool (XN_CALLBACK_TYPE* IsNewDataAvailable)
660 XnStatus (XN_CALLBACK_TYPE* UpdateData)
708 XnStatus (XN_CALLBACK_TYPE* SetOutputStream)
724 XnStatus (XN_CALLBACK_TYPE* SetInputStream)
742 XnStatus (XN_CALLBACK_TYPE* SetNodeNotifications)
745 XnStatus (XN_CALLBACK_TYPE* SetRawNodeNotifications)
754 XnStatus (XN_CALLBACK_TYPE* SetRepeat)
757 XnStatus (XN_CALLBACK_TYPE* SeekToTimeStamp)
760 XnStatus (XN_CALLBACK_TYPE* SeekToFrame)
763 XnStatus (XN_CALLBACK_TYPE* TellTimestamp)
766 XnStatus (XN_CALLBACK_TYPE* TellFrame)
769 XnStatus (XN_CALLBACK_TYPE* GetNumFrames)
772 const XnChar* (XN_CALLBACK_TYPE* GetSupportedFormat)
775 XnBool (XN_CALLBACK_TYPE* IsEOF)
786 XnStatus (XN_CALLBACK_TYPE* RegisterToEndOfFileReached)
796 void (XN_CALLBACK_TYPE* UnregisterFromEndOfFileReached)
830 XnStatus (XN_CALLBACK_TYPE* RegisterToCroppingChange)
840 void (XN_CALLBACK_TYPE* UnregisterFromCroppingChange)
870 XnStatus (XN_CALLBACK_TYPE* RegisterToPowerLineFrequencyChange)
880 void (XN_CALLBACK_TYPE* UnregisterFromPowerLineFrequencyChange)
898 XnUInt32 (XN_CALLBACK_TYPE* GetSupportedMapOutputModesCount)
910 XnStatus (XN_CALLBACK_TYPE* GetSupportedMapOutputModes)
920 XnStatus (XN_CALLBACK_TYPE* SetMapOutputMode)
929 XnStatus (XN_CALLBACK_TYPE* GetMapOutputMode)
940 XnStatus (XN_CALLBACK_TYPE* RegisterToMapOutputModeChange)
950 void (XN_CALLBACK_TYPE* UnregisterFromMapOutputModeChange)
961 XnUInt32 (XN_CALLBACK_TYPE* GetBytesPerPixel)
978 XnUInt32 (XN_CALLBACK_TYPE* GetSupportedUserPositionsCount)
1000 XnStatus (XN_CALLBACK_TYPE* GetUserPosition)
1011 XnStatus (XN_CALLBACK_TYPE* RegisterToUserPositionChange)
1021 void (XN_CALLBACK_TYPE* UnregisterFromUserPositionChange)
1168 XnBool (XN_CALLBACK_TYPE* IsGestureProgressSupported)(
XnModuleNodeHandle hGenerator,
const XnChar* strGesture);
1174 XnStatus (XN_CALLBACK_TYPE* GetAllActiveGestures)(
XnModuleNodeHandle hGenerator, XnChar** pstrGestures, XnUInt32 nNameLength, XnUInt16* nGestures);
1175 XnStatus (XN_CALLBACK_TYPE* EnumerateAllGestures)(
XnModuleNodeHandle hGenerator, XnChar** pstrGestures, XnUInt32 nNameLength, XnUInt16* nGestures);
1335 XnStatus (XN_CALLBACK_TYPE* CompressData)(
XnModuleNodeHandle hCodec,
const void* pSrc, XnUInt32 nSrcSize,
void* pDst, XnUInt32 nDstSize, XnUInt* pnBytesWritten);
1336 XnStatus (XN_CALLBACK_TYPE* DecompressData)(
XnModuleNodeHandle hCodec,
const void* pSrc, XnUInt32 nSrcSize,
void* pDst, XnUInt32 nDstSize, XnUInt* pnBytesWritten);
1351 #endif // __XN_MODULE_INTERFACE_H__ Definition: XnTypes.h:503
struct XnModuleAudioGeneratorInterface XnModuleAudioGeneratorInterface
void(* XnModuleHandCreate)(XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, void *pCookie)
Definition: XnModuleInterface.h:89
void(* XnModuleGetExportedInterfacePtr)(XnModuleExportedProductionNodeInterface *pInterface)
Definition: XnModuleInterface.h:63
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:711
XnUInt32 XnUserID
Definition: XnTypes.h:546
XnModuleMirrorInterface * pMirrorInterface
Definition: XnModuleInterface.h:684
struct XnModuleImageGeneratorInterface XnModuleImageGeneratorInterface
Definition: XnModuleInterface.h:267
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:1189
struct XnModuleDeviceIdentificationInterface XnModuleDeviceIdentificationInterface
XnModuleAlternativeViewPointInterface * pAlternativeViewPointInterface
Definition: XnModuleInterface.h:685
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:1342
Definition: XnModuleInterface.h:325
struct XnModuleLockAwareInterface XnModuleLockAwareInterface
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:1288
struct XnModuleProductionNodeInterface XnModuleProductionNodeInterface
Definition: XnTypes.h:162
Definition: XnModuleInterface.h:804
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:1316
struct XnModuleCroppingInterface XnModuleCroppingInterface
void(* XnModuleHandTouchingFOVEdge)(XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, XnDirection eDir, void *pCookie)
Definition: XnModuleInterface.h:86
XnPlayerSeekOrigin
Definition: XnTypes.h:531
XnModuleUnloadPtr pUnloadFunc
Definition: XnModuleInterface.h:73
XnStatus(XN_C_DECL * XnModuleLoadPtr)()
Definition: XnModuleInterface.h:64
Definition: XnModuleInterface.h:460
Definition: XnTypes.h:151
Definition: XnModuleInterface.h:420
struct XnModuleHandTouchingFOVEdgeCapabilityInterface XnModuleHandTouchingFOVEdgeCapabilityInterface
void(* XnModuleHandDestroy)(XnUserID user, XnFloat fTime, void *pCookie)
Definition: XnModuleInterface.h:91
XnPoseDetectionStatus
Definition: XnTypes.h:663
struct XnModuleDepthGeneratorInterface XnModuleDepthGeneratorInterface
Definition: XnModuleInterface.h:70
Definition: XnModuleInterface.h:109
Definition: XnModuleInterface.h:699
Definition: XnModuleInterface.h:1329
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:1204
XnModuleExtendedSerializationInterface * pExtendedSerializationInterface
Definition: XnModuleInterface.h:362
XnPowerLineFrequency
Definition: XnTypes.h:538
XnNodeNotifications * pNodeNotifications
Definition: XnModuleInterface.h:712
XnModuleGeneralIntInterface * pGeneralIntInterface
Definition: XnModuleInterface.h:365
Definition: XnTypes.h:589
void(* XnModulePoseDetectionInProgressCallback)(const XnChar *strPose, XnUserID user, XnPoseDetectionStatus poseError, void *pCookie)
Definition: XnModuleInterface.h:107
Definition: XnTypes.h:486
XnModuleCroppingInterface * pCroppingInterface
Definition: XnModuleInterface.h:953
struct XnModuleIRGeneratorInterface XnModuleIRGeneratorInterface
void(* XnModuleUserHandler)(XnUserID user, void *pCookie)
Definition: XnModuleInterface.h:83
XnUInt32 XnStatus
Definition: XnStatus.h:34
struct XnModuleAlternativeViewPointInterface XnModuleAlternativeViewPointInterface
Definition: XnTypes.h:990
XnModuleSkeletonCapabilityInterface * pSkeletonInterface
Definition: XnModuleInterface.h:1300
XnModuleMapGeneratorInterface * pMapInterface
Definition: XnModuleInterface.h:1187
XnModuleHandTouchingFOVEdgeCapabilityInterface * pHandTouchingFOVEdgeInterface
Definition: XnModuleInterface.h:1213
XnUInt16 XnDepthPixel
Definition: XnTypes.h:276
XnModuleMapGeneratorInterface * pMapInterface
Definition: XnModuleInterface.h:1149
XnModuleLoadPtr pLoadFunc
Definition: XnModuleInterface.h:72
Definition: XnModuleInterface.h:1314
struct XnModuleSkeletonCapabilityInterface XnModuleSkeletonCapabilityInterface
XnUInt8 *(* GetImageMap)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1095
void(* XnModuleCalibrationInProgress)(XnUserID user, XnCalibrationStatus calibrationError, void *pCookie)
Definition: XnModuleInterface.h:102
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:799
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:414
Definition: XnTypes.h:465
struct XnModuleGeneralIntInterface XnModuleGeneralIntInterface
struct XnInternalNodeData * XnNodeHandle
Definition: XnTypes.h:82
XnModuleFrameSyncInterface * pFrameSyncInterface
Definition: XnModuleInterface.h:687
XnModuleErrorStateInterface * pErrorStateInterface
Definition: XnModuleInterface.h:364
void(* XnModuleStateChangedHandler)(void *pCookie)
Definition: XnModuleInterface.h:80
Definition: XnModuleInterface.h:1087
struct XnModuleGestureGeneratorInterface XnModuleGestureGeneratorInterface
struct XnModulePlayerInterface XnModulePlayerInterface
void * pObsolete1
Definition: XnModuleInterface.h:686
void(* XnModuleGestureRecognized)(const XnChar *strGesture, const XnPoint3D *pIDPosition, const XnPoint3D *pEndPosition, void *pCookie)
Definition: XnModuleInterface.h:94
struct XnNodeInfoList XnNodeInfoList
Definition: XnTypes.h:187
XnModulePoseDetectionCapabilityInterface * pPoseDetectionInterface
Definition: XnModuleInterface.h:1304
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:890
Definition: XnModuleInterface.h:195
XnUChar *(* GetAudioBuffer)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1318
Definition: XnTypes.h:432
Definition: XnModuleInterface.h:1202
XnUInt16 XnLabel
Definition: XnTypes.h:308
void(* XnModulePoseDetectionCallback)(const XnChar *strPose, XnUserID user, void *pCookie)
Definition: XnModuleInterface.h:106
XnGrayscale16Pixel XnIRPixel
Definition: XnTypes.h:305
void * pObsolete1
Definition: XnModuleInterface.h:800
Definition: XnModuleInterface.h:188
Definition: XnModuleInterface.h:715
Definition: XnModuleInterface.h:235
XnUInt32(XN_C_DECL * XnModuleGetExportedNodesCountPtr)()
Definition: XnModuleInterface.h:66
const XnChar *(* GetSupportedFormat)(XnModuleNodeHandle hScript)
Definition: XnModuleInterface.h:1344
Definition: XnModuleInterface.h:885
void * XnCallbackHandle
Definition: XnTypes.h:268
XnCalibrationStatus
Definition: XnTypes.h:682
Definition: XnTypes.h:477
struct XnModuleUserGeneratorInterface XnModuleUserGeneratorInterface
void(* XnModuleCalibrationEnd)(XnUserID user, XnBool bSuccess, void *pCookie)
Definition: XnModuleInterface.h:101
XnUInt32 XnCodecID
Definition: XnTypes.h:839
struct XnModulePoseDetectionCapabilityInterface XnModulePoseDetectionCapabilityInterface
void(* XnModuleGestureIntermediateStageCompleted)(const XnChar *strGesture, const XnPoint3D *pPosition, void *pCookie)
Definition: XnModuleInterface.h:96
Definition: XnModuleInterface.h:1144
XnModuleMapGeneratorInterface * pMapInterface
Definition: XnModuleInterface.h:1092
struct XnModuleHandsGeneratorInterface XnModuleHandsGeneratorInterface
Definition: XnModuleInterface.h:1286
void(XN_C_DECL * XnModuleGetOpenNIVersionPtr)(XnVersion *pVersion)
Definition: XnModuleInterface.h:68
Definition: XnModuleInterface.h:971
void(* XnModuleGestureReadyForNextIntermediateStage)(const XnChar *strGesture, const XnPoint3D *pPosition, void *pCookie)
Definition: XnModuleInterface.h:97
void(* XnModuleGestureProgress)(const XnChar *strGesture, const XnPoint3D *pPosition, XnFloat fProgress, void *pCookie)
Definition: XnModuleInterface.h:95
XnModuleProductionNodeInterface * pProductionNodeInterface
Definition: XnModuleInterface.h:578
Definition: XnModuleInterface.h:1027
Definition: XnModuleInterface.h:1185
XnModuleLockAwareInterface * pLockAwareInterface
Definition: XnModuleInterface.h:363
struct XnModuleAntiFlickerInterface XnModuleAntiFlickerInterface
XnIRPixel *(* GetIRMap)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1152
XnSkeletonJoint
Definition: XnTypes.h:611
Definition: XnModuleInterface.h:1159
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:1161
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:1331
struct XnModuleExtendedSerializationInterface XnModuleExtendedSerializationInterface
XnModuleUserPositionCapabilityInterface * pUserPositionInterface
Definition: XnModuleInterface.h:1082
XnStatus(XN_C_DECL * XnModuleGetExportedNodesEntryPointsPtr)(XnModuleGetExportedInterfacePtr *aEntryPoints, XnUInt32 nCount)
Definition: XnModuleInterface.h:67
Definition: XnTypes.h:573
Definition: XnTypes.h:849
XnModuleGetOpenNIVersionPtr pGetVersionFunc
Definition: XnModuleInterface.h:76
Definition: XnTypes.h:455
XnModuleDeviceIdentificationInterface * pDeviceIdentificationInterface
Definition: XnModuleInterface.h:416
Definition: XnModuleInterface.h:573
XnSkeletonProfile
Definition: XnTypes.h:644
void(* XnModuleCalibrationComplete)(XnUserID user, XnCalibrationStatus calibrationError, void *pCookie)
Definition: XnModuleInterface.h:103
Definition: XnModuleInterface.h:369
XnPixelFormat
Definition: XnTypes.h:511
struct XnModuleMapGeneratorInterface XnModuleMapGeneratorInterface
Definition: XnModuleInterface.h:1340
struct XnModuleScriptNodeInterface XnModuleScriptNodeInterface
Definition: XnTypes.h:560
XnModuleMapGeneratorInterface * pMapInterface
Definition: XnModuleInterface.h:1032
XnModuleAntiFlickerInterface * pAntiFlickerInterface
Definition: XnModuleInterface.h:964
struct XnModuleFrameSyncInterface XnModuleFrameSyncInterface
XnDirection
Definition: XnTypes.h:698
XnModuleGetExportedNodesCountPtr pGetCountFunc
Definition: XnModuleInterface.h:74
struct XnModuleErrorStateInterface XnModuleErrorStateInterface
struct XnModuleExportedProductionNodeInterface XnModuleExportedProductionNodeInterface
void(XN_C_DECL * XnModuleUnloadPtr)()
Definition: XnModuleInterface.h:65
struct XnContext XnContext
Definition: XnTypes.h:77
Definition: XnModuleInterface.h:845
struct XnModuleDeviceInterface XnModuleDeviceInterface
struct XnOpenNIModuleInterface XnOpenNIModuleInterface
void(* XnModuleCalibrationStart)(XnUserID user, void *pCookie)
Definition: XnModuleInterface.h:100
XnModuleGetExportedNodesEntryPointsPtr pGetEntryPointsFunc
Definition: XnModuleInterface.h:75
Definition: XnModuleInterface.h:1263
void(* XnModuleHandUpdate)(XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, void *pCookie)
Definition: XnModuleInterface.h:90
const void *(* GetData)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:695
Definition: XnModuleInterface.h:1196
Definition: XnModuleInterface.h:412
struct XnModuleUserPositionCapabilityInterface XnModuleUserPositionCapabilityInterface
Definition: XnModuleInterface.h:516
struct XnModuleSceneAnalyzerInterface XnModuleSceneAnalyzerInterface
struct XnModuleMirrorInterface XnModuleMirrorInterface
struct XnModuleRecorderInterface XnModuleRecorderInterface
Definition: XnModuleInterface.h:1220