OpenNI 1.3.2
XnModuleInterface.h
Go to the documentation of this file.
1 /****************************************************************************
2 * *
3 * OpenNI 1.1 Alpha *
4 * Copyright (C) 2011 PrimeSense Ltd. *
5 * *
6 * This file is part of OpenNI. *
7 * *
8 * OpenNI is free software: you can redistribute it and/or modify *
9 * it under the terms of the GNU Lesser General Public License as published *
10 * by the Free Software Foundation, either version 3 of the License, or *
11 * (at your option) any later version. *
12 * *
13 * OpenNI is distributed in the hope that it will be useful, *
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
16 * GNU Lesser General Public License for more details. *
17 * *
18 * You should have received a copy of the GNU Lesser General Public License *
19 * along with OpenNI. If not, see <http://www.gnu.org/licenses/>. *
20 * *
21 ****************************************************************************/
22 #ifndef __XN_MODULE_INTERFACE_H__
23 #define __XN_MODULE_INTERFACE_H__
24 
25 //---------------------------------------------------------------------------
26 // Includes
27 //---------------------------------------------------------------------------
28 #include <XnTypes.h>
29 
30 //---------------------------------------------------------------------------
31 // Defines
32 //---------------------------------------------------------------------------
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
38 
39 //---------------------------------------------------------------------------
40 // Forward Declarations
41 //---------------------------------------------------------------------------
59 
60 //---------------------------------------------------------------------------
61 // Types
62 //---------------------------------------------------------------------------
63 
64 typedef void (XN_CALLBACK_TYPE* XnModuleGetExportedInterfacePtr)(XnModuleExportedProductionNodeInterface* pInterface);
65 typedef XnStatus (XN_C_DECL* XnModuleLoadPtr)();
66 typedef void (XN_C_DECL* XnModuleUnloadPtr)();
67 typedef XnUInt32 (XN_C_DECL* XnModuleGetExportedNodesCountPtr)();
68 typedef XnStatus (XN_C_DECL* XnModuleGetExportedNodesEntryPointsPtr)(XnModuleGetExportedInterfacePtr* aEntryPoints, XnUInt32 nCount);
69 typedef void (XN_C_DECL* XnModuleGetOpenNIVersionPtr)(XnVersion* pVersion);
70 
72 {
79 
81 typedef void (XN_CALLBACK_TYPE* XnModuleStateChangedHandler)(void* pCookie);
82 
83 // User
84 typedef void (XN_CALLBACK_TYPE* XnModuleUserHandler)(XnUserID user, void* pCookie);
85 
86 // Hand touching FOV edge
87 typedef void (XN_CALLBACK_TYPE* XnModuleHandTouchingFOVEdge)(XnUserID user, const XnPoint3D* pPosition, XnFloat fTime, XnDirection eDir, void* pCookie);
88 
89 // UI
90 typedef void (XN_CALLBACK_TYPE* XnModuleHandCreate)(XnUserID user, const XnPoint3D* pPosition, XnFloat fTime, void* pCookie);
91 typedef void (XN_CALLBACK_TYPE* XnModuleHandUpdate)(XnUserID user, const XnPoint3D* pPosition, XnFloat fTime, void* pCookie);
92 typedef void (XN_CALLBACK_TYPE* XnModuleHandDestroy)(XnUserID user, XnFloat fTime, void* pCookie);
93 
94 // Gesture Module
95 typedef void (XN_CALLBACK_TYPE* XnModuleGestureRecognized)(const XnChar* strGesture, const XnPoint3D* pIDPosition, const XnPoint3D* pEndPosition, void* pCookie);
96 typedef void (XN_CALLBACK_TYPE* XnModuleGestureProgress)(const XnChar* strGesture, const XnPoint3D* pPosition, XnFloat fProgress, void* pCookie);
97 typedef void (XN_CALLBACK_TYPE* XnModuleGestureIntermediateStageCompleted)(const XnChar* strGesture, const XnPoint3D* pPosition, void* pCookie);
98 typedef void (XN_CALLBACK_TYPE* XnModuleGestureReadyForNextIntermediateStage)(const XnChar* strGesture, const XnPoint3D* pPosition, void* pCookie);
99 
100 // Skeleton
101 typedef void (XN_CALLBACK_TYPE* XnModuleCalibrationStart)(XnUserID user, void* pCookie);
102 typedef void (XN_CALLBACK_TYPE* XnModuleCalibrationEnd)(XnUserID user, XnBool bSuccess, void* pCookie);
103 typedef void (XN_CALLBACK_TYPE* XnModuleCalibrationInProgress)(XnUserID user, XnCalibrationStatus calibrationError, void* pCookie);
104 typedef void (XN_CALLBACK_TYPE* XnModuleCalibrationComplete)(XnUserID user, XnCalibrationStatus calibrationError, void* pCookie);
105 
106 // Pose Detection
107 typedef void (XN_CALLBACK_TYPE* XnModulePoseDetectionCallback)(const XnChar* strPose, XnUserID user, void* pCookie);
108 typedef void (XN_CALLBACK_TYPE* XnModulePoseDetectionInProgressCallback)(const XnChar* strPose, XnUserID user, XnPoseDetectionStatus poseError, void* pCookie);
109 
111 {
117  void (XN_CALLBACK_TYPE* GetDescription)
119 
127  XnStatus (XN_CALLBACK_TYPE* EnumerateProductionTrees)
128  (XnContext* pContext,
129  XnNodeInfoList* pNodesList,
130  XnEnumerationErrors* pErrors);
131 
142  XnStatus (XN_CALLBACK_TYPE* Create)
143  (XnContext* pContext,
144  const XnChar* strInstanceName,
145  const XnChar* strCreationInfo,
146  XnNodeInfoList* pNeededNodes,
147  const XnChar* strConfigurationDir,
148  XnModuleNodeHandle* phInstance);
149 
155  void (XN_CALLBACK_TYPE* Destroy)
156  (XnModuleNodeHandle hInstance);
157 
165  union
166  {
167  void (XN_CALLBACK_TYPE* ProductionNode)(struct XnModuleProductionNodeInterface* pInterface);
168  void (XN_CALLBACK_TYPE* Device)(struct XnModuleDeviceInterface* pInterface);
169  void (XN_CALLBACK_TYPE* Generator)(struct XnModuleGeneratorInterface* pInterface);
170  void (XN_CALLBACK_TYPE* MapGenerator)(struct XnModuleMapGeneratorInterface* pInterface);
171  void (XN_CALLBACK_TYPE* Depth)(struct XnModuleDepthGeneratorInterface* pInterface);
172  void (XN_CALLBACK_TYPE* Image)(struct XnModuleImageGeneratorInterface* pInterface);
173  void (XN_CALLBACK_TYPE* IR)(struct XnModuleIRGeneratorInterface* pInterface);
174  void (XN_CALLBACK_TYPE* User)(struct XnModuleUserGeneratorInterface* pInterface);
175  void (XN_CALLBACK_TYPE* Hands)(struct XnModuleHandsGeneratorInterface* pInterace);
176  void (XN_CALLBACK_TYPE* Gesture)(struct XnModuleGestureGeneratorInterface* pInterface);
177  void (XN_CALLBACK_TYPE* Scene)(struct XnModuleSceneAnalyzerInterface* pInterface);
178  void (XN_CALLBACK_TYPE* Audio)(struct XnModuleAudioGeneratorInterface* pInterface);
179  void (XN_CALLBACK_TYPE* Recorder)(struct XnModuleRecorderInterface* pInterface);
180  void (XN_CALLBACK_TYPE* Player)(struct XnModulePlayerInterface* pInterface);
181  void (XN_CALLBACK_TYPE* Codec)(struct XnModuleCodecInterface* pInterface);
182  void (XN_CALLBACK_TYPE* Script)(struct XnModuleScriptNodeInterface* pInterface);
183 
184  void (XN_CALLBACK_TYPE* General)(void* pInterface);
185  } GetInterface;
186 
188 
190 {
191  XnStatus (XN_CALLBACK_TYPE* InitNotifications)(XnModuleNodeHandle hInstance, XnNodeNotifications* pNotifications, void* pCookie);
192  void (XN_CALLBACK_TYPE* StopNotifications)(XnModuleNodeHandle hInstance);
193 
195 
197 {
204  XnStatus (XN_CALLBACK_TYPE* SetLockState)(XnModuleNodeHandle hInstance, XnBool bLocked);
205 
211  XnBool (XN_CALLBACK_TYPE* GetLockState)(XnModuleNodeHandle hInstance);
212 
221  XnStatus (XN_CALLBACK_TYPE* RegisterToLockChange)
223  void* pCookie, XnCallbackHandle* phCallback);
224 
231  void (XN_CALLBACK_TYPE* UnregisterFromLockChange)
232  (XnModuleNodeHandle hInstance, XnCallbackHandle hCallback);
233 
235 
237 {
243  XnStatus (XN_CALLBACK_TYPE* GetErrorState)(XnModuleNodeHandle hInstance);
244 
253  XnStatus (XN_CALLBACK_TYPE* RegisterToErrorStateChange)
255  void* pCookie, XnCallbackHandle* phCallback);
256 
263  void (XN_CALLBACK_TYPE* UnregisterFromErrorStateChange)
264  (XnModuleNodeHandle hInstance, XnCallbackHandle hCallback);
265 
267 
269 {
281  XnStatus (XN_CALLBACK_TYPE* GetRange)(XnModuleNodeHandle hGenerator, const XnChar* strCap, XnInt32* pnMin, XnInt32* pnMax, XnInt32* pnStep, XnInt32* pnDefault, XnBool* pbIsAutoSupported);
282 
290  XnStatus (XN_CALLBACK_TYPE* Get)(XnModuleNodeHandle hGenerator, const XnChar* strCap, XnInt32* pnValue);
291 
299  XnStatus (XN_CALLBACK_TYPE* Set)(XnModuleNodeHandle hGenerator, const XnChar* strCap, XnInt32 nValue);
300 
310  XnStatus (XN_CALLBACK_TYPE* RegisterToValueChange)
311  (XnModuleNodeHandle hGenerator, const XnChar* strCap, XnModuleStateChangedHandler handler,
312  void* pCookie, XnCallbackHandle* phCallback);
313 
321  void (XN_CALLBACK_TYPE* UnregisterFromValueChange)
322  (XnModuleNodeHandle hGenerator, const XnChar* strCap, XnCallbackHandle hCallback);
323 
325 
327 {
334  XnBool (XN_CALLBACK_TYPE* IsCapabilitySupported)(
335  XnModuleNodeHandle hInstance,
336  const XnChar* strCapabilityName
337  );
338 
346  XnStatus (XN_CALLBACK_TYPE* SetIntProperty)(XnModuleNodeHandle hInstance, const XnChar* strName, XnUInt64 nValue);
347  XnStatus (XN_CALLBACK_TYPE* SetRealProperty)(XnModuleNodeHandle hInstance, const XnChar* strName, XnDouble dValue);
348  XnStatus (XN_CALLBACK_TYPE* SetStringProperty)(XnModuleNodeHandle hInstance, const XnChar* strName, const XnChar* strValue);
349  XnStatus (XN_CALLBACK_TYPE* SetGeneralProperty)(XnModuleNodeHandle hInstance, const XnChar* strName, XnUInt32 nBufferSize, const void* pBuffer);
350 
358  XnStatus (XN_CALLBACK_TYPE* GetIntProperty)(XnModuleNodeHandle hInstance, const XnChar* strName, XnUInt64* pnValue);
359  XnStatus (XN_CALLBACK_TYPE* GetRealProperty)(XnModuleNodeHandle hInstance, const XnChar* strName, XnDouble* pdValue);
360  XnStatus (XN_CALLBACK_TYPE* GetStringProperty)(XnModuleNodeHandle hInstance, const XnChar* strName, XnChar* csValue, XnUInt32 nBufSize);
361  XnStatus (XN_CALLBACK_TYPE* GetGeneralProperty)(XnModuleNodeHandle hInstance, const XnChar* strName, XnUInt32 nBufferSize, void* pBuffer);
362 
367 
369 
371 {
383  XnStatus (XN_CALLBACK_TYPE* GetDeviceName)(XnModuleNodeHandle hInstance, XnChar* strBuffer, XnUInt32* pnBufferSize);
384 
396  XnStatus (XN_CALLBACK_TYPE* GetVendorSpecificData)(XnModuleNodeHandle hInstance, XnChar* strBuffer, XnUInt32* pnBufferSize);
397 
409  XnStatus (XN_CALLBACK_TYPE* GetSerialNumber)(XnModuleNodeHandle hInstance, XnChar* strBuffer, XnUInt32* pnBufferSize);
410 
412 
414 {
416 
418 
420 
422 {
429  XnStatus (XN_CALLBACK_TYPE* SetMirror)(XnModuleNodeHandle hInstance, XnBool bMirror);
430 
436  XnBool (XN_CALLBACK_TYPE* IsMirrored)(XnModuleNodeHandle hInstance);
437 
446  XnStatus (XN_CALLBACK_TYPE* RegisterToMirrorChange)
448  void* pCookie, XnCallbackHandle* phCallback);
449 
456  void (XN_CALLBACK_TYPE* UnregisterFromMirrorChange)
457  (XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
458 
460 
462 {
472  XnBool (XN_CALLBACK_TYPE* IsViewPointSupported)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther);
473 
480  XnStatus (XN_CALLBACK_TYPE* SetViewPoint)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther);
481 
488  XnBool (XN_CALLBACK_TYPE* IsViewPointAs)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther);
489 
495  XnStatus (XN_CALLBACK_TYPE* ResetViewPoint)(XnModuleNodeHandle hGenerator);
496 
505  XnStatus (XN_CALLBACK_TYPE* RegisterToViewPointChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback);
506 
513  void (XN_CALLBACK_TYPE* UnregisterFromViewPointChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
514 
516 
518 {
527  XnBool (XN_CALLBACK_TYPE* CanFrameSyncWith)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther);
528 
535  XnStatus (XN_CALLBACK_TYPE* FrameSyncWith)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther);
536 
543  XnStatus (XN_CALLBACK_TYPE* StopFrameSyncWith)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther);
544 
551  XnBool (XN_CALLBACK_TYPE* IsFrameSyncedWith)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther);
552 
561  XnStatus (XN_CALLBACK_TYPE* RegisterToFrameSyncChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback);
562 
569  void (XN_CALLBACK_TYPE* UnregisterFromFrameSyncChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
570 
572 
575 {
580 
586  XnStatus (XN_CALLBACK_TYPE* StartGenerating)
587  (XnModuleNodeHandle hGenerator);
588 
594  XnBool (XN_CALLBACK_TYPE* IsGenerating)
595  (XnModuleNodeHandle hGenerator);
596 
602  void (XN_CALLBACK_TYPE* StopGenerating)
603  (XnModuleNodeHandle hGenerator);
604 
613  XnStatus (XN_CALLBACK_TYPE* RegisterToGenerationRunningChange)
615  void* pCookie, XnCallbackHandle* phCallback);
616 
623  void (XN_CALLBACK_TYPE* UnregisterFromGenerationRunningChange)
624  (XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
625 
633  XnStatus (XN_CALLBACK_TYPE* RegisterToNewDataAvailable)
635  void* pCookie, XnCallbackHandle* phCallback);
636 
643  void (XN_CALLBACK_TYPE* UnregisterFromNewDataAvailable)
644  (XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
645 
652  XnBool (XN_CALLBACK_TYPE* IsNewDataAvailable)
653  (XnModuleNodeHandle hGenerator, XnUInt64* pnTimestamp);
654 
661  XnStatus (XN_CALLBACK_TYPE* UpdateData)
662  (XnModuleNodeHandle hGenerator);
663 
669  XnUInt32 (XN_CALLBACK_TYPE* GetDataSize)(XnModuleNodeHandle hGenerator);
670 
676  XnUInt64 (XN_CALLBACK_TYPE* GetTimestamp)(XnModuleNodeHandle hGenerator);
677 
683  XnUInt32 (XN_CALLBACK_TYPE* GetFrameID)(XnModuleNodeHandle hGenerator);
684 
687  void* pObsolete1; // used to be pSeekingInterface (removed in 1.0.0.28)
689 
690  //Note: The GetData() function was added in version 1.0.0.28
696  const void* (XN_CALLBACK_TYPE* GetData)(XnModuleNodeHandle hGenerator);
697 
699 
701 {
702  /*
703  * Sets the output stream for the recorder module.
704  *
705  * @param hInstance [in] A handle to the instance.
706  * @param pStreamToken [in] A token that the recorder module must save for passing to later stream calls.
707  * @param pStream [in] The stream interface the recorder module must save for later stream calls.
708  */
709  XnStatus (XN_CALLBACK_TYPE* SetOutputStream)
710  (XnModuleNodeHandle hInstance, void *pStreamToken, XnRecorderOutputStreamInterface *pStream);
711 
715 
717 {
718  /*
719  * Sets the input stream for the player module
720  *
721  * @param hInstance [in] A handle to the instance.
722  * @param pStreamCookie [in] A cookie that the player module must save for passing to later stream calls.
723  * @param pStream [in] The stream interface the player module must save for later stream calls.
724  */
725  XnStatus (XN_CALLBACK_TYPE* SetInputStream)
726  (XnModuleNodeHandle hInstance, void *pStreamCookie, XnPlayerInputStreamInterface *pStream);
727 
733  XnStatus (XN_CALLBACK_TYPE* ReadNext)(XnModuleNodeHandle hInstance);
734 
735  /*
736  * Sets the node notifications object to be used by the player. The player will use this object to
737  * notify about events it encounters in the stream that was set with @ref SetInputStream().
738  *
739  * @param hInstance [in] A handle to the instance.
740  * @param pNodeNotificationsCookie [in] A cookie that the player module must save for passing to node notification calls.
741  * @param pNodeNotifications [in] The node notifications interface that the player module will use to raise node notifications it finds in the stream.
742  */
743  XnStatus (XN_CALLBACK_TYPE* SetNodeNotifications)
744  (XnModuleNodeHandle hInstance, void *pNodeNotificationsCookie, XnNodeNotifications *pNodeNotifications);
745 
746  XnStatus (XN_CALLBACK_TYPE* SetRawNodeNotifications)
747  (XnModuleNodeHandle hInstance, void *pRawNodeNotificationsCookie, XnNodeNotifications *pRawNodeNotifications);
748 
749 
750  /*
751  * Determines whether the player repeats the played stream or not.
752  *
753  * @param bRepeat [in] If TRUE, repeat is set to be ON. If FALSE, repeat is set to be OFF.
754  */
755  XnStatus (XN_CALLBACK_TYPE* SetRepeat)
756  (XnModuleNodeHandle hInstance, XnBool bRepeat);
757 
758  XnStatus (XN_CALLBACK_TYPE* SeekToTimeStamp)
759  (XnModuleNodeHandle hInstance, XnInt64 nTimeOffset, XnPlayerSeekOrigin origin);
760 
761  XnStatus (XN_CALLBACK_TYPE* SeekToFrame)
762  (XnModuleNodeHandle hInstance, const XnChar* strNodeName, XnInt32 nFrameOffset, XnPlayerSeekOrigin origin);
763 
764  XnStatus (XN_CALLBACK_TYPE* TellTimestamp)
765  (XnModuleNodeHandle hInstance, XnUInt64* pnTimestamp);
766 
767  XnStatus (XN_CALLBACK_TYPE* TellFrame)
768  (XnModuleNodeHandle hInstance, const XnChar* strNodeName, XnUInt32* pnFrame);
769 
770  XnStatus (XN_CALLBACK_TYPE* GetNumFrames)
771  (XnModuleNodeHandle hInstance, const XnChar* strNodeName, XnUInt32* pnFrames);
772 
773  const XnChar* (XN_CALLBACK_TYPE* GetSupportedFormat)
774  (XnModuleNodeHandle hInstance);
775 
776  XnBool (XN_CALLBACK_TYPE* IsEOF)
777  (XnModuleNodeHandle hInstance);
778 
787  XnStatus (XN_CALLBACK_TYPE* RegisterToEndOfFileReached)
789  void* pCookie, XnCallbackHandle* phCallback);
790 
797  void (XN_CALLBACK_TYPE* UnregisterFromEndOfFileReached)
798  (XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
799 
801  void* pObsolete1; // used to be pSeekingInterface (removed in 1.0.0.28)
802 
804 
806 {
813  XnStatus (XN_CALLBACK_TYPE* SetCropping)(XnModuleNodeHandle hGenerator, const XnCropping* pCropping);
814 
821  XnStatus (XN_CALLBACK_TYPE* GetCropping)(XnModuleNodeHandle hGenerator, XnCropping* pCropping);
822 
831  XnStatus (XN_CALLBACK_TYPE* RegisterToCroppingChange)
833  void* pCookie, XnCallbackHandle* phCallback);
834 
841  void (XN_CALLBACK_TYPE* UnregisterFromCroppingChange)
842  (XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
843 
845 
847 {
854  XnStatus (XN_CALLBACK_TYPE* SetPowerLineFrequency)(XnModuleNodeHandle hGenerator, XnPowerLineFrequency nFrequency);
855 
862 
871  XnStatus (XN_CALLBACK_TYPE* RegisterToPowerLineFrequencyChange)
873  void* pCookie, XnCallbackHandle* phCallback);
874 
881  void (XN_CALLBACK_TYPE* UnregisterFromPowerLineFrequencyChange)
882  (XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
883 
885 
887 {
892 
899  XnUInt32 (XN_CALLBACK_TYPE* GetSupportedMapOutputModesCount)
900  (XnModuleNodeHandle hGenerator);
901 
911  XnStatus (XN_CALLBACK_TYPE* GetSupportedMapOutputModes)
912  (XnModuleNodeHandle hGenerator,
913  XnMapOutputMode* aModes, XnUInt32* pnCount);
914 
921  XnStatus (XN_CALLBACK_TYPE* SetMapOutputMode)
922  (XnModuleNodeHandle hGenerator, const XnMapOutputMode* pOutputMode);
923 
930  XnStatus (XN_CALLBACK_TYPE* GetMapOutputMode)
931  (XnModuleNodeHandle hGenerator, XnMapOutputMode* pOutputMode);
932 
941  XnStatus (XN_CALLBACK_TYPE* RegisterToMapOutputModeChange)
943  void* pCookie, XnCallbackHandle* phCallback);
944 
951  void (XN_CALLBACK_TYPE* UnregisterFromMapOutputModeChange)
952  (XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
953 
955 
956  // NOTE: GetBytesPerPixel() was added in OpenNI 1.0.0.30
962  XnUInt32 (XN_CALLBACK_TYPE* GetBytesPerPixel)
963  (XnModuleNodeHandle hGenerator);
964 
966 
968 
973 {
979  XnUInt32 (XN_CALLBACK_TYPE* GetSupportedUserPositionsCount)
980  (XnModuleNodeHandle hGenerator);
981 
989  XnStatus (XN_CALLBACK_TYPE* SetUserPosition)(
990  XnModuleNodeHandle hGenerator,
991  XnUInt32 nIndex,
992  const XnBoundingBox3D* pPosition);
993 
1001  XnStatus (XN_CALLBACK_TYPE* GetUserPosition)
1002  (XnModuleNodeHandle hGenerator, XnUInt32 nIndex, XnBoundingBox3D* pPosition);
1003 
1012  XnStatus (XN_CALLBACK_TYPE* RegisterToUserPositionChange)
1014  void* pCookie, XnCallbackHandle* phCallback);
1015 
1022  void (XN_CALLBACK_TYPE* UnregisterFromUserPositionChange)
1023  (XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1024 
1026 
1029 {
1034 
1040  XnDepthPixel* (XN_CALLBACK_TYPE* GetDepthMap)
1041  (XnModuleNodeHandle hGenerator);
1042 
1048  XnDepthPixel (XN_CALLBACK_TYPE* GetDeviceMaxDepth)
1049  (XnModuleNodeHandle hGenerator);
1050 
1059  void (XN_CALLBACK_TYPE* GetFieldOfView)(XnModuleNodeHandle hGenerator, XnFieldOfView* pFOV);
1060 
1070  void* pCookie, XnCallbackHandle* phCallback);
1071 
1078  void (XN_CALLBACK_TYPE* UnregisterFromFieldOfViewChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1079 
1084 
1086 
1089 {
1094 
1096  XnUInt8* (XN_CALLBACK_TYPE* GetImageMap)(
1097  XnModuleNodeHandle hGenerator
1098  );
1099 
1106  XnBool (XN_CALLBACK_TYPE* IsPixelFormatSupported)(XnModuleNodeHandle hGenerator, XnPixelFormat Format);
1107 
1114  XnStatus (XN_CALLBACK_TYPE* SetPixelFormat)(XnModuleNodeHandle hGenerator, XnPixelFormat Format);
1115 
1121  XnPixelFormat (XN_CALLBACK_TYPE* GetPixelFormat)(XnModuleNodeHandle hGenerator);
1122 
1132  void* pCookie, XnCallbackHandle* phCallback);
1133 
1140  void (XN_CALLBACK_TYPE* UnregisterFromPixelFormatChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1141 
1143 
1146 {
1151 
1153  XnIRPixel* (XN_CALLBACK_TYPE* GetIRMap)(
1154  XnModuleNodeHandle hGenerator
1155  );
1156 
1158 
1161 {
1163 
1164  XnStatus (XN_CALLBACK_TYPE* AddGesture)(XnModuleNodeHandle hGenerator, const XnChar* strGesture, XnBoundingBox3D* pArea);
1165  XnStatus (XN_CALLBACK_TYPE* RemoveGesture)(XnModuleNodeHandle hGenerator, const XnChar* strGesture);
1166  XnStatus (XN_CALLBACK_TYPE* GetActiveGestures)(XnModuleNodeHandle hGenerator, XnChar** pstrGestures, XnUInt16* nGestures);
1167  XnStatus (XN_CALLBACK_TYPE* EnumerateGestures)(XnModuleNodeHandle hGenerator, XnChar** pstrGestures, XnUInt16* nGestures);
1168  XnBool (XN_CALLBACK_TYPE* IsGestureAvailable)(XnModuleNodeHandle hInstance, const XnChar* strGesture);
1169  XnBool (XN_CALLBACK_TYPE* IsGestureProgressSupported)(XnModuleNodeHandle hGenerator, const XnChar* strGesture);
1170  XnStatus (XN_CALLBACK_TYPE* RegisterGestureCallbacks)(XnModuleNodeHandle hGenerator, XnModuleGestureRecognized RecognizedCB, XnModuleGestureProgress ProgressCB, void* pCookie, XnCallbackHandle* phCallback);
1171  void (XN_CALLBACK_TYPE* UnregisterGestureCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1172  XnStatus (XN_CALLBACK_TYPE* RegisterToGestureChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback);
1173  void (XN_CALLBACK_TYPE* UnregisterFromGestureChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1174 
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);
1177 
1178  XnStatus (XN_CALLBACK_TYPE* RegisterToGestureIntermediateStageCompleted)(XnModuleNodeHandle hGenerator, XnModuleGestureIntermediateStageCompleted GestureIntermediateStageCompletedCB, void* pCookie, XnCallbackHandle* phCallback);
1180  XnStatus (XN_CALLBACK_TYPE* RegisterToGestureReadyForNextIntermediateStage)(XnModuleNodeHandle hGenerator, XnModuleGestureReadyForNextIntermediateStage ReadyForNextIntermediateStageCB, void* pCookie, XnCallbackHandle* phCallback);
1182 
1184 
1187 {
1189 
1190  const XnLabel* (XN_CALLBACK_TYPE* GetLabelMap)(XnModuleNodeHandle hGenerator);
1191  XnStatus (XN_CALLBACK_TYPE* GetFloor)(XnModuleNodeHandle hGenerator, XnPlane3D* pPlane);
1193 
1198 {
1199  XnStatus (XN_CALLBACK_TYPE* RegisterToHandTouchingFOVEdge)(XnModuleNodeHandle hGenerator, XnModuleHandTouchingFOVEdge, void* pCookie, XnCallbackHandle* phCallback);
1200  void (XN_CALLBACK_TYPE* UnregisterFromHandTouchingFOVEdge)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1202 
1204 {
1206 
1207  XnStatus (XN_CALLBACK_TYPE* RegisterHandCallbacks)(XnModuleNodeHandle hGenerator, XnModuleHandCreate CreateCB, XnModuleHandUpdate UpdateCB, XnModuleHandDestroy DestroyCB, void* pCookie, XnCallbackHandle* phCallback);
1208  void (XN_CALLBACK_TYPE* UnregisterHandCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1209  XnStatus (XN_CALLBACK_TYPE* StopTracking)(XnModuleNodeHandle hGenerator, XnUserID user);
1210  XnStatus (XN_CALLBACK_TYPE* StopTrackingAll)(XnModuleNodeHandle hGenerator);
1211  XnStatus (XN_CALLBACK_TYPE* StartTracking)(XnModuleNodeHandle hGenerator, const XnPoint3D* pPosition);
1212  XnStatus (XN_CALLBACK_TYPE* SetSmoothing)(XnModuleNodeHandle hGenerator, XnFloat fSmoothingFactor);
1213 
1215 
1217 
1222 {
1223  XnBool (XN_CALLBACK_TYPE* IsJointAvailable)(XnModuleNodeHandle hGenerator, XnSkeletonJoint eJoint);
1224  XnBool (XN_CALLBACK_TYPE* IsProfileAvailable)(XnModuleNodeHandle hGenerator, XnSkeletonProfile eProfile);
1225  XnStatus (XN_CALLBACK_TYPE* SetSkeletonProfile)(XnModuleNodeHandle hGenerator, XnSkeletonProfile eProfile);
1226  XnStatus (XN_CALLBACK_TYPE* SetJointActive)(XnModuleNodeHandle hGenerator, XnSkeletonJoint eJoint, XnBool bState);
1227  XnBool (XN_CALLBACK_TYPE* IsJointActive)(XnModuleNodeHandle hGenerator, XnSkeletonJoint eJoint);
1228  XnStatus (XN_CALLBACK_TYPE* RegisterToJointConfigurationChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback);
1229  void (XN_CALLBACK_TYPE* UnregisterFromJointConfigurationChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1230  XnStatus (XN_CALLBACK_TYPE* EnumerateActiveJoints)(XnModuleNodeHandle hGenerator, XnSkeletonJoint* pJoints, XnUInt16* pnJoints);
1234  XnBool (XN_CALLBACK_TYPE* IsTracking)(XnModuleNodeHandle hGenerator, XnUserID user);
1235  XnBool (XN_CALLBACK_TYPE* IsCalibrated)(XnModuleNodeHandle hGenerator, XnUserID user);
1236  XnBool (XN_CALLBACK_TYPE* IsCalibrating)(XnModuleNodeHandle hGenerator, XnUserID user);
1237  XnStatus (XN_CALLBACK_TYPE* RequestCalibration)(XnModuleNodeHandle hGenerator, XnUserID user, XnBool bForce);
1238  XnStatus (XN_CALLBACK_TYPE* AbortCalibration)(XnModuleNodeHandle hGenerator, XnUserID user);
1239  XnStatus (XN_CALLBACK_TYPE* SaveCalibrationData)(XnModuleNodeHandle hGenerator, XnUserID user, XnUInt32 nSlot);
1240  XnStatus (XN_CALLBACK_TYPE* LoadCalibrationData)(XnModuleNodeHandle hGenerator, XnUserID user, XnUInt32 nSlot);
1241  XnStatus (XN_CALLBACK_TYPE* ClearCalibrationData)(XnModuleNodeHandle hGenerator, XnUInt32 nSlot);
1242  XnBool (XN_CALLBACK_TYPE* IsCalibrationData)(XnModuleNodeHandle hGenerator, XnUInt32 nSlot);
1243  XnStatus (XN_CALLBACK_TYPE* StartTracking)(XnModuleNodeHandle hGenerator, XnUserID user);
1244  XnStatus (XN_CALLBACK_TYPE* StopTracking)(XnModuleNodeHandle hGenerator, XnUserID user);
1245  XnStatus (XN_CALLBACK_TYPE* Reset)(XnModuleNodeHandle hGenerator, XnUserID user);
1246  XnBool (XN_CALLBACK_TYPE* NeedPoseForCalibration)(XnModuleNodeHandle hGenerator);
1247  XnStatus (XN_CALLBACK_TYPE* GetCalibrationPose)(XnModuleNodeHandle hGenerator, XnChar* strPose);
1248  XnStatus (XN_CALLBACK_TYPE* SetSmoothing)(XnModuleNodeHandle hGenerator, XnFloat fSmoothingFactor);
1249  XnStatus (XN_CALLBACK_TYPE* RegisterCalibrationCallbacks)(XnModuleNodeHandle hGenerator, XnModuleCalibrationStart CalibrationStartCB, XnModuleCalibrationEnd CalibrationEndCB, void* pCookie, XnCallbackHandle* phCallback);
1250  void (XN_CALLBACK_TYPE* UnregisterCalibrationCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1251 
1252  XnStatus (XN_CALLBACK_TYPE* SaveCalibrationDataToFile)(XnModuleNodeHandle hGenerator, XnUserID user, const XnChar* strFileName);
1253  XnStatus (XN_CALLBACK_TYPE* LoadCalibrationDataFromFile)(XnModuleNodeHandle hGenerator, XnUserID user, const XnChar* strFileName);
1254 
1255  XnStatus (XN_CALLBACK_TYPE* RegisterToCalibrationInProgress)(XnModuleNodeHandle hGenerator, XnModuleCalibrationInProgress CalibrationInProgressCB, void* pCookie, XnCallbackHandle* phCallback);
1256  void (XN_CALLBACK_TYPE* UnregisterFromCalibrationInProgress)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1257  XnStatus (XN_CALLBACK_TYPE* RegisterToCalibrationComplete)(XnModuleNodeHandle hGenerator, XnModuleCalibrationComplete CalibrationCompleteCB, void* pCookie, XnCallbackHandle* phCallback);
1258  void (XN_CALLBACK_TYPE* UnregisterFromCalibrationComplete)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1259 
1260  XnStatus (XN_CALLBACK_TYPE* RegisterToCalibrationStart)(XnModuleNodeHandle hGenerator, XnModuleCalibrationStart handler, void* pCookie, XnCallbackHandle* phCallback);
1261  void (XN_CALLBACK_TYPE* UnregisterFromCalibrationStart)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1263 
1265 {
1266  XnUInt32 (XN_CALLBACK_TYPE* GetNumberOfPoses)(XnModuleNodeHandle hGenerator);
1267  XnStatus (XN_CALLBACK_TYPE* GetAvailablePoses)(XnModuleNodeHandle hGenerator, XnChar** pstrPoses, XnUInt32* pnPoses);
1268  XnStatus (XN_CALLBACK_TYPE* StartPoseDetection)(XnModuleNodeHandle hGenerator, const XnChar* strPose, XnUserID user);
1269  XnStatus (XN_CALLBACK_TYPE* StopPoseDetection)(XnModuleNodeHandle hGenerator, XnUserID user);
1270  XnStatus (XN_CALLBACK_TYPE* RegisterToPoseCallbacks)(XnModuleNodeHandle hGenerator, XnModulePoseDetectionCallback StartPoseCB, XnModulePoseDetectionCallback EndCB, void* pCookie, XnCallbackHandle* phCallback);
1271  void (XN_CALLBACK_TYPE* UnregisterFromPoseCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1272 
1273  XnStatus (XN_CALLBACK_TYPE* GetAllAvailablePoses)(XnModuleNodeHandle hGenerator, XnChar** pstrPoses, XnUInt32 nNameLength, XnUInt32* pnPoses);
1274 
1275  XnStatus (XN_CALLBACK_TYPE* RegisterToPoseDetectionInProgress)(XnModuleNodeHandle hGenerator, XnModulePoseDetectionInProgressCallback PoseProgressCB, void* pCookie, XnCallbackHandle* phCallback);
1276  void (XN_CALLBACK_TYPE* UnregisterFromPoseDetectionInProgress)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1277 
1278  XnStatus (XN_CALLBACK_TYPE* RegisterToPoseDetected)(XnModuleNodeHandle hGenerator, XnModulePoseDetectionCallback handler, void* pCookie, XnCallbackHandle* phCallback);
1279  void (XN_CALLBACK_TYPE* UnregisterFromPoseDetected)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1280  XnStatus (XN_CALLBACK_TYPE* RegisterToOutOfPose)(XnModuleNodeHandle hGenerator, XnModulePoseDetectionCallback handler, void* pCookie, XnCallbackHandle* phCallback);
1281  void (XN_CALLBACK_TYPE* UnregisterFromOutOfPose)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1283 
1286 {
1288 
1289  XnUInt16 (XN_CALLBACK_TYPE* GetNumberOfUsers)(XnModuleNodeHandle hGenerator);
1290  XnStatus (XN_CALLBACK_TYPE* GetUsers)(XnModuleNodeHandle hGenerator, XnUserID* pUsers, XnUInt16* pnUsers);
1291  XnStatus (XN_CALLBACK_TYPE* GetCoM)(XnModuleNodeHandle hGenerator, XnUserID user, XnPoint3D* pCoM);
1292  XnStatus (XN_CALLBACK_TYPE* GetUserPixels)(XnModuleNodeHandle hGenerator, XnUserID user, XnSceneMetaData* pScene);
1293  XnStatus (XN_CALLBACK_TYPE* RegisterUserCallbacks)(XnModuleNodeHandle hGenerator, XnModuleUserHandler NewUserCB, XnModuleUserHandler LostUserCB, void* pCookie, XnCallbackHandle* phCallback);
1294  void (XN_CALLBACK_TYPE* UnregisterUserCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1295 
1304 
1305  XnStatus (XN_CALLBACK_TYPE* RegisterToUserExit)(XnModuleNodeHandle hGenerator, XnModuleUserHandler UserExitCB, void* pCookie, XnCallbackHandle* phCallback);
1306  void (XN_CALLBACK_TYPE* UnregisterFromUserExit)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1307  XnStatus (XN_CALLBACK_TYPE* RegisterToUserReEnter)(XnModuleNodeHandle hGenerator, XnModuleUserHandler UserReEnterCB, void* pCookie, XnCallbackHandle* phCallback);
1308  void (XN_CALLBACK_TYPE* UnregisterFromUserReEnter)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1309 
1311 
1314 {
1316 
1317  XnUChar* (XN_CALLBACK_TYPE* GetAudioBuffer)(XnModuleNodeHandle hGenerator);
1318  XnUInt32 (XN_CALLBACK_TYPE* GetSupportedWaveOutputModesCount)(XnModuleNodeHandle hGenerator);
1319  XnStatus (XN_CALLBACK_TYPE* GetSupportedWaveOutputModes)(XnModuleNodeHandle hGenerator, XnWaveOutputMode* aSupportedModes, XnUInt32* pnCount);
1320  XnStatus (XN_CALLBACK_TYPE* SetWaveOutputMode)(XnModuleNodeHandle hGenerator, const XnWaveOutputMode* OutputMode);
1321  XnStatus (XN_CALLBACK_TYPE* GetWaveOutputMode)(XnModuleNodeHandle hGenerator, XnWaveOutputMode* OutputMode);
1323  void* pCookie, XnCallbackHandle* phCallback);
1324  void (XN_CALLBACK_TYPE* UnregisterFromWaveOutputModeChanges)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1325 
1327 
1329 {
1331 
1332  XnCodecID (XN_CALLBACK_TYPE* GetCodecID)(XnModuleNodeHandle hCodec);
1333  XnStatus (XN_CALLBACK_TYPE* Init)(XnModuleNodeHandle hCodec, XnNodeHandle hNode);
1334  XnStatus (XN_CALLBACK_TYPE* CompressData)(XnModuleNodeHandle hCodec, const void* pSrc, XnUInt32 nSrcSize, void* pDst, XnUInt32 nDstSize, XnUInt* pnBytesWritten);
1335  XnStatus (XN_CALLBACK_TYPE* DecompressData)(XnModuleNodeHandle hCodec, const void* pSrc, XnUInt32 nSrcSize, void* pDst, XnUInt32 nDstSize, XnUInt* pnBytesWritten);
1336 
1338 
1340 {
1342 
1343  const XnChar* (XN_CALLBACK_TYPE* GetSupportedFormat)(XnModuleNodeHandle hScript);
1344  XnStatus (XN_CALLBACK_TYPE* LoadScriptFromFile)(XnModuleNodeHandle hScript, const XnChar* strFileName);
1345  XnStatus (XN_CALLBACK_TYPE* LoadScriptFromString)(XnModuleNodeHandle hScript, const XnChar* strScript);
1346  XnStatus (XN_CALLBACK_TYPE* Run)(XnModuleNodeHandle hScript, XnNodeInfoList* pCreatedNodes, XnEnumerationErrors* pErrors);
1347 
1349 
1350 #endif // __XN_MODULE_INTERFACE_H__
Definition: XnTypes.h:482
XnStatus(* GetGeneralProperty)(XnModuleNodeHandle hInstance, const XnChar *strName, XnUInt32 nBufferSize, void *pBuffer)
Definition: XnModuleInterface.h:361
struct XnModuleAudioGeneratorInterface XnModuleAudioGeneratorInterface
XnUInt32(* GetSupportedWaveOutputModesCount)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1318
void(* XnModuleStateChangedHandler)(void *pCookie)
Definition: XnModuleInterface.h:81
union XnModuleExportedProductionNodeInterface::@1 GetInterface
XnStatus(* SetCropping)(XnModuleNodeHandle hGenerator, const XnCropping *pCropping)
Definition: XnModuleInterface.h:813
const XnLabel *(* GetLabelMap)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1190
XnBool(* GetLockState)(XnModuleNodeHandle hInstance)
Definition: XnModuleInterface.h:211
XnStatus(* GetFloor)(XnModuleNodeHandle hGenerator, XnPlane3D *pPlane)
Definition: XnModuleInterface.h:1191
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:712
XnUInt32 XnUserID
Definition: XnTypes.h:525
XnBool(* IsViewPointSupported)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition: XnModuleInterface.h:472
XnStatus(* RegisterToJointConfigurationChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1228
XnModuleMirrorInterface * pMirrorInterface
Definition: XnModuleInterface.h:685
XnStatus(* GetNumFrames)(XnModuleNodeHandle hInstance, const XnChar *strNodeName, XnUInt32 *pnFrames)
Definition: XnModuleInterface.h:771
struct XnModuleImageGeneratorInterface XnModuleImageGeneratorInterface
XnStatus(* SetOutputStream)(XnModuleNodeHandle hInstance, void *pStreamToken, XnRecorderOutputStreamInterface *pStream)
Definition: XnModuleInterface.h:710
XnBool(* IsGestureProgressSupported)(XnModuleNodeHandle hGenerator, const XnChar *strGesture)
Definition: XnModuleInterface.h:1169
Definition: XnModuleInterface.h:268
XnBool(* IsCapabilitySupported)(XnModuleNodeHandle hInstance, const XnChar *strCapabilityName)
Definition: XnModuleInterface.h:334
struct XnModuleGeneratorInterface XnModuleGeneratorInterface
void(* XnModuleGestureReadyForNextIntermediateStage)(const XnChar *strGesture, const XnPoint3D *pPosition, void *pCookie)
Definition: XnModuleInterface.h:98
void(* UnregisterGestureCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1171
void * XnModuleNodeHandle
Definition: XnTypes.h:219
XnUInt32(* GetBytesPerPixel)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:963
struct XnModuleCodecInterface XnModuleCodecInterface
void(* StopNotifications)(XnModuleNodeHandle hInstance)
Definition: XnModuleInterface.h:192
struct XnEnumerationErrors XnEnumerationErrors
Definition: XnTypes.h:214
XnStatus(* GetRealProperty)(XnModuleNodeHandle hInstance, const XnChar *strName, XnDouble *pdValue)
Definition: XnModuleInterface.h:359
struct XnModuleDeviceIdentificationInterface XnModuleDeviceIdentificationInterface
XnStatus(* InitNotifications)(XnModuleNodeHandle hInstance, XnNodeNotifications *pNotifications, void *pCookie)
Definition: XnModuleInterface.h:191
XnModuleAlternativeViewPointInterface * pAlternativeViewPointInterface
Definition: XnModuleInterface.h:686
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:1341
void(* XnModulePoseDetectionInProgressCallback)(const XnChar *strPose, XnUserID user, XnPoseDetectionStatus poseError, void *pCookie)
Definition: XnModuleInterface.h:108
Definition: XnModuleInterface.h:326
struct XnModuleLockAwareInterface XnModuleLockAwareInterface
XnStatus(XN_C_DECL * XnModuleGetExportedNodesEntryPointsPtr)(XnModuleGetExportedInterfacePtr *aEntryPoints, XnUInt32 nCount)
Definition: XnModuleInterface.h:68
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:1287
struct XnModuleProductionNodeInterface XnModuleProductionNodeInterface
XnStatus(* RegisterToHandTouchingFOVEdge)(XnModuleNodeHandle hGenerator, XnModuleHandTouchingFOVEdge, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1199
XnStatus(* GetCropping)(XnModuleNodeHandle hGenerator, XnCropping *pCropping)
Definition: XnModuleInterface.h:821
XnStatus(* GetSkeletonJoint)(XnModuleNodeHandle hGenerator, XnUserID user, XnSkeletonJoint eJoint, XnSkeletonJointTransformation *pJoint)
Definition: XnModuleInterface.h:1231
XnStatus(* StopTracking)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition: XnModuleInterface.h:1244
void(* Recorder)(struct XnModuleRecorderInterface *pInterface)
Definition: XnModuleInterface.h:179
XnStatus(* RegisterCalibrationCallbacks)(XnModuleNodeHandle hGenerator, XnModuleCalibrationStart CalibrationStartCB, XnModuleCalibrationEnd CalibrationEndCB, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1249
Definition: XnTypes.h:162
XnPixelFormat(* GetPixelFormat)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1121
Definition: XnModuleInterface.h:805
XnStatus(* RegisterToNewDataAvailable)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:634
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:1315
struct XnModuleCroppingInterface XnModuleCroppingInterface
void(* UnregisterHandCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1208
void(* User)(struct XnModuleUserGeneratorInterface *pInterface)
Definition: XnModuleInterface.h:174
XnStatus(* SetSmoothing)(XnModuleNodeHandle hGenerator, XnFloat fSmoothingFactor)
Definition: XnModuleInterface.h:1248
XnUInt32(* GetSupportedUserPositionsCount)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:980
void(* UnregisterFromFieldOfViewChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1078
XnStatus(* RegisterToPixelFormatChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1131
XnPlayerSeekOrigin
Definition: XnTypes.h:510
XnModuleUnloadPtr pUnloadFunc
Definition: XnModuleInterface.h:74
void(* UnregisterFromJointConfigurationChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1229
XnStatus(* GetErrorState)(XnModuleNodeHandle hInstance)
Definition: XnModuleInterface.h:243
XnUInt8 *(* GetImageMap)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1096
XnStatus(* GetSkeletonJointOrientation)(XnModuleNodeHandle hGenerator, XnUserID user, XnSkeletonJoint eJoint, XnSkeletonJointOrientation *pJoint)
Definition: XnModuleInterface.h:1233
XnStatus(* SetWaveOutputMode)(XnModuleNodeHandle hGenerator, const XnWaveOutputMode *OutputMode)
Definition: XnModuleInterface.h:1320
Definition: XnModuleInterface.h:461
XnStatus(* LoadScriptFromFile)(XnModuleNodeHandle hScript, const XnChar *strFileName)
Definition: XnModuleInterface.h:1344
XnBool(* CanFrameSyncWith)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition: XnModuleInterface.h:527
XnStatus(* Create)(XnContext *pContext, const XnChar *strInstanceName, const XnChar *strCreationInfo, XnNodeInfoList *pNeededNodes, const XnChar *strConfigurationDir, XnModuleNodeHandle *phInstance)
Definition: XnModuleInterface.h:143
Definition: XnTypes.h:151
XnStatus(* RequestCalibration)(XnModuleNodeHandle hGenerator, XnUserID user, XnBool bForce)
Definition: XnModuleInterface.h:1237
void(* XnModuleCalibrationComplete)(XnUserID user, XnCalibrationStatus calibrationError, void *pCookie)
Definition: XnModuleInterface.h:104
Definition: XnModuleInterface.h:421
XnStatus(* ClearCalibrationData)(XnModuleNodeHandle hGenerator, XnUInt32 nSlot)
Definition: XnModuleInterface.h:1241
XnStatus(* RegisterToFrameSyncChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:561
XnStatus(* RegisterToCalibrationInProgress)(XnModuleNodeHandle hGenerator, XnModuleCalibrationInProgress CalibrationInProgressCB, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1255
XnBool(* IsCalibrating)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition: XnModuleInterface.h:1236
struct XnModuleHandTouchingFOVEdgeCapabilityInterface XnModuleHandTouchingFOVEdgeCapabilityInterface
XnStatus(* Reset)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition: XnModuleInterface.h:1245
XnStatus(* SetRawNodeNotifications)(XnModuleNodeHandle hInstance, void *pRawNodeNotificationsCookie, XnNodeNotifications *pRawNodeNotifications)
Definition: XnModuleInterface.h:747
void(* UnregisterFromEndOfFileReached)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:798
void(* UnregisterFromPoseDetectionInProgress)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1276
XnBool(* IsTracking)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition: XnModuleInterface.h:1234
XnPoseDetectionStatus
Definition: XnTypes.h:642
XnStatus(* GetUserPosition)(XnModuleNodeHandle hGenerator, XnUInt32 nIndex, XnBoundingBox3D *pPosition)
Definition: XnModuleInterface.h:1002
struct XnModuleDepthGeneratorInterface XnModuleDepthGeneratorInterface
XnStatus(* LoadCalibrationData)(XnModuleNodeHandle hGenerator, XnUserID user, XnUInt32 nSlot)
Definition: XnModuleInterface.h:1240
Definition: XnTypes.h:868
XnStatus(* RegisterToOutOfPose)(XnModuleNodeHandle hGenerator, XnModulePoseDetectionCallback handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1280
XnStatus(* RegisterToErrorStateChange)(XnModuleNodeHandle hInstance, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:254
XnStatus(* SetStringProperty)(XnModuleNodeHandle hInstance, const XnChar *strName, const XnChar *strValue)
Definition: XnModuleInterface.h:348
void(* UnregisterUserCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1294
XnStatus(* SetUserPosition)(XnModuleNodeHandle hGenerator, XnUInt32 nIndex, const XnBoundingBox3D *pPosition)
Definition: XnModuleInterface.h:989
Definition: XnModuleInterface.h:71
XnStatus(* GetAvailablePoses)(XnModuleNodeHandle hGenerator, XnChar **pstrPoses, XnUInt32 *pnPoses)
Definition: XnModuleInterface.h:1267
void(* XnModuleGestureRecognized)(const XnChar *strGesture, const XnPoint3D *pIDPosition, const XnPoint3D *pEndPosition, void *pCookie)
Definition: XnModuleInterface.h:95
XnStatus(* StartPoseDetection)(XnModuleNodeHandle hGenerator, const XnChar *strPose, XnUserID user)
Definition: XnModuleInterface.h:1268
Definition: XnModuleInterface.h:110
void(* XnModuleCalibrationEnd)(XnUserID user, XnBool bSuccess, void *pCookie)
Definition: XnModuleInterface.h:102
Definition: XnModuleInterface.h:700
void(* IR)(struct XnModuleIRGeneratorInterface *pInterface)
Definition: XnModuleInterface.h:173
void(* UnregisterFromCalibrationInProgress)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1256
Definition: XnModuleInterface.h:1328
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:1205
XnStatus(* RegisterToGestureChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1172
XnStatus(* RegisterToFieldOfViewChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1069
XnModuleExtendedSerializationInterface * pExtendedSerializationInterface
Definition: XnModuleInterface.h:363
void(* UnregisterFromOutOfPose)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1281
void(* XnModuleGestureIntermediateStageCompleted)(const XnChar *strGesture, const XnPoint3D *pPosition, void *pCookie)
Definition: XnModuleInterface.h:97
XnPowerLineFrequency
Definition: XnTypes.h:517
XnStatus(* EnumerateAllGestures)(XnModuleNodeHandle hGenerator, XnChar **pstrGestures, XnUInt32 nNameLength, XnUInt16 *nGestures)
Definition: XnModuleInterface.h:1176
XnNodeNotifications * pNodeNotifications
Definition: XnModuleInterface.h:713
void(* GetFieldOfView)(XnModuleNodeHandle hGenerator, XnFieldOfView *pFOV)
Definition: XnModuleInterface.h:1059
XnStatus(* StopTracking)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition: XnModuleInterface.h:1209
XnBool(* IsGenerating)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:595
XnModuleGeneralIntInterface * pGeneralIntInterface
Definition: XnModuleInterface.h:366
Definition: XnTypes.h:568
XnStatus(* RegisterToCalibrationStart)(XnModuleNodeHandle hGenerator, XnModuleCalibrationStart handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1260
Definition: XnTypes.h:465
XnStatus(* FrameSyncWith)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition: XnModuleInterface.h:535
XnStatus(* SaveCalibrationDataToFile)(XnModuleNodeHandle hGenerator, XnUserID user, const XnChar *strFileName)
Definition: XnModuleInterface.h:1252
XnModuleCroppingInterface * pCroppingInterface
Definition: XnModuleInterface.h:954
XnStatus(* EnumerateGestures)(XnModuleNodeHandle hGenerator, XnChar **pstrGestures, XnUInt16 *nGestures)
Definition: XnModuleInterface.h:1167
void(* Image)(struct XnModuleImageGeneratorInterface *pInterface)
Definition: XnModuleInterface.h:172
struct XnModuleIRGeneratorInterface XnModuleIRGeneratorInterface
XnStatus(* RegisterToMapOutputModeChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:942
const void *(* GetData)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:696
XnUInt32 XnStatus
Definition: XnStatus.h:34
XnUInt32(* GetNumberOfPoses)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1266
void(* UnregisterFromPoseCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1271
XnStatus(* RegisterToPowerLineFrequencyChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:872
void(* XnModuleCalibrationStart)(XnUserID user, void *pCookie)
Definition: XnModuleInterface.h:101
XnStatus(* SetSkeletonProfile)(XnModuleNodeHandle hGenerator, XnSkeletonProfile eProfile)
Definition: XnModuleInterface.h:1225
void(* XnModulePoseDetectionCallback)(const XnChar *strPose, XnUserID user, void *pCookie)
Definition: XnModuleInterface.h:107
XnStatus(* CompressData)(XnModuleNodeHandle hCodec, const void *pSrc, XnUInt32 nSrcSize, void *pDst, XnUInt32 nDstSize, XnUInt *pnBytesWritten)
Definition: XnModuleInterface.h:1334
struct XnModuleAlternativeViewPointInterface XnModuleAlternativeViewPointInterface
void(* UnregisterFromCalibrationStart)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1261
XnUInt32(* GetFrameID)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:683
Definition: XnTypes.h:917
XnModuleSkeletonCapabilityInterface * pSkeletonInterface
Definition: XnModuleInterface.h:1299
void(* UnregisterCalibrationCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1250
void(* UnregisterFromUserPositionChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1023
XnModuleMapGeneratorInterface * pMapInterface
Definition: XnModuleInterface.h:1188
XnStatus(* SetRealProperty)(XnModuleNodeHandle hInstance, const XnChar *strName, XnDouble dValue)
Definition: XnModuleInterface.h:347
XnUInt16(* GetNumberOfUsers)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1289
XnStatus(* SetMirror)(XnModuleNodeHandle hInstance, XnBool bMirror)
Definition: XnModuleInterface.h:429
void(* UnregisterFromWaveOutputModeChanges)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1324
Definition: XnTypes.h:579
XnStatus(* RegisterToGestureIntermediateStageCompleted)(XnModuleNodeHandle hGenerator, XnModuleGestureIntermediateStageCompleted GestureIntermediateStageCompletedCB, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1178
XnModuleHandTouchingFOVEdgeCapabilityInterface * pHandTouchingFOVEdgeInterface
Definition: XnModuleInterface.h:1214
XnBool(* IsGestureAvailable)(XnModuleNodeHandle hInstance, const XnChar *strGesture)
Definition: XnModuleInterface.h:1168
XnStatus(* SetIntProperty)(XnModuleNodeHandle hInstance, const XnChar *strName, XnUInt64 nValue)
Definition: XnModuleInterface.h:346
XnUInt16 XnDepthPixel
Definition: XnTypes.h:255
void(* Codec)(struct XnModuleCodecInterface *pInterface)
Definition: XnModuleInterface.h:181
XnModuleMapGeneratorInterface * pMapInterface
Definition: XnModuleInterface.h:1150
XnStatus(* GetMapOutputMode)(XnModuleNodeHandle hGenerator, XnMapOutputMode *pOutputMode)
Definition: XnModuleInterface.h:931
XnIRPixel *(* GetIRMap)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1153
XnModuleLoadPtr pLoadFunc
Definition: XnModuleInterface.h:73
Definition: XnModuleInterface.h:1313
XnStatus(* GetVendorSpecificData)(XnModuleNodeHandle hInstance, XnChar *strBuffer, XnUInt32 *pnBufferSize)
Definition: XnModuleInterface.h:396
void(XN_C_DECL * XnModuleUnloadPtr)()
Definition: XnModuleInterface.h:66
XnStatus(* RegisterToPoseDetected)(XnModuleNodeHandle hGenerator, XnModulePoseDetectionCallback handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1278
const XnChar *(* GetSupportedFormat)(XnModuleNodeHandle hScript)
Definition: XnModuleInterface.h:1343
struct XnModuleSkeletonCapabilityInterface XnModuleSkeletonCapabilityInterface
void(* UnregisterFromPixelFormatChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1140
void(* XnModuleHandUpdate)(XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, void *pCookie)
Definition: XnModuleInterface.h:91
XnStatus(* RegisterToUserExit)(XnModuleNodeHandle hGenerator, XnModuleUserHandler UserExitCB, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1305
XnStatus(XN_C_DECL * XnModuleLoadPtr)()
Definition: XnModuleInterface.h:65
void(* ProductionNode)(struct XnModuleProductionNodeInterface *pInterface)
Definition: XnModuleInterface.h:167
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:800
XnStatus(* Run)(XnModuleNodeHandle hScript, XnNodeInfoList *pCreatedNodes, XnEnumerationErrors *pErrors)
Definition: XnModuleInterface.h:1346
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:415
XnStatus(* SetViewPoint)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition: XnModuleInterface.h:480
Definition: XnTypes.h:444
struct XnModuleGeneralIntInterface XnModuleGeneralIntInterface
struct XnInternalNodeData * XnNodeHandle
Definition: XnTypes.h:82
XnBool(* IsMirrored)(XnModuleNodeHandle hInstance)
Definition: XnModuleInterface.h:436
XnModuleFrameSyncInterface * pFrameSyncInterface
Definition: XnModuleInterface.h:688
XnModuleErrorStateInterface * pErrorStateInterface
Definition: XnModuleInterface.h:365
XnStatus(* RegisterToUserPositionChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1013
XnStatus(* GetCalibrationPose)(XnModuleNodeHandle hGenerator, XnChar *strPose)
Definition: XnModuleInterface.h:1247
Definition: XnModuleInterface.h:1088
struct XnModuleGestureGeneratorInterface XnModuleGestureGeneratorInterface
struct XnModulePlayerInterface XnModulePlayerInterface
void(* StopGenerating)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:603
XnStatus(* GetUsers)(XnModuleNodeHandle hGenerator, XnUserID *pUsers, XnUInt16 *pnUsers)
Definition: XnModuleInterface.h:1290
void * pObsolete1
Definition: XnModuleInterface.h:687
XnBool(* IsCalibrated)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition: XnModuleInterface.h:1235
XnStatus(* RegisterToLockChange)(XnModuleNodeHandle hInstance, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:222
XnStatus(* RegisterToUserReEnter)(XnModuleNodeHandle hGenerator, XnModuleUserHandler UserReEnterCB, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1307
XnBool(* IsPixelFormatSupported)(XnModuleNodeHandle hGenerator, XnPixelFormat Format)
Definition: XnModuleInterface.h:1106
struct XnNodeInfoList XnNodeInfoList
Definition: XnTypes.h:187
XnStatus(* SetSmoothing)(XnModuleNodeHandle hGenerator, XnFloat fSmoothingFactor)
Definition: XnModuleInterface.h:1212
XnModulePoseDetectionCapabilityInterface * pPoseDetectionInterface
Definition: XnModuleInterface.h:1303
XnStatus(* Init)(XnModuleNodeHandle hCodec, XnNodeHandle hNode)
Definition: XnModuleInterface.h:1333
XnStatus(* DecompressData)(XnModuleNodeHandle hCodec, const void *pSrc, XnUInt32 nSrcSize, void *pDst, XnUInt32 nDstSize, XnUInt *pnBytesWritten)
Definition: XnModuleInterface.h:1335
void(* UnregisterFromLockChange)(XnModuleNodeHandle hInstance, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:232
Definition: XnTypes.h:1102
XnStatus(* SetLockState)(XnModuleNodeHandle hInstance, XnBool bLocked)
Definition: XnModuleInterface.h:204
XnStatus(* SetNodeNotifications)(XnModuleNodeHandle hInstance, void *pNodeNotificationsCookie, XnNodeNotifications *pNodeNotifications)
Definition: XnModuleInterface.h:744
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:891
Definition: XnModuleInterface.h:196
Definition: XnTypes.h:411
Definition: XnModuleInterface.h:1203
XnStatus(* SetMapOutputMode)(XnModuleNodeHandle hGenerator, const XnMapOutputMode *pOutputMode)
Definition: XnModuleInterface.h:922
XnUInt16 XnLabel
Definition: XnTypes.h:287
void(* UnregisterFromViewPointChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:513
void(* UnregisterFromErrorStateChange)(XnModuleNodeHandle hInstance, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:264
XnUInt32(XN_C_DECL * XnModuleGetExportedNodesCountPtr)()
Definition: XnModuleInterface.h:67
void(* UnregisterFromUserExit)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1306
XnGrayscale16Pixel XnIRPixel
Definition: XnTypes.h:284
void * pObsolete1
Definition: XnModuleInterface.h:801
Definition: XnModuleInterface.h:189
XnStatus(* EnumerateActiveJoints)(XnModuleNodeHandle hGenerator, XnSkeletonJoint *pJoints, XnUInt16 *pnJoints)
Definition: XnModuleInterface.h:1230
XnStatus(* ReadNext)(XnModuleNodeHandle hInstance)
Definition: XnModuleInterface.h:733
Definition: XnModuleInterface.h:716
XnStatus(* GetAllActiveGestures)(XnModuleNodeHandle hGenerator, XnChar **pstrGestures, XnUInt32 nNameLength, XnUInt16 *nGestures)
Definition: XnModuleInterface.h:1175
Definition: XnModuleInterface.h:236
XnStatus(* RegisterToGestureReadyForNextIntermediateStage)(XnModuleNodeHandle hGenerator, XnModuleGestureReadyForNextIntermediateStage ReadyForNextIntermediateStageCB, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1180
XnDepthPixel *(* GetDepthMap)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1041
XnStatus(* GetSupportedWaveOutputModes)(XnModuleNodeHandle hGenerator, XnWaveOutputMode *aSupportedModes, XnUInt32 *pnCount)
Definition: XnModuleInterface.h:1319
XnUChar *(* GetAudioBuffer)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1317
XnStatus(* SeekToTimeStamp)(XnModuleNodeHandle hInstance, XnInt64 nTimeOffset, XnPlayerSeekOrigin origin)
Definition: XnModuleInterface.h:759
void(* XnModuleHandCreate)(XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, void *pCookie)
Definition: XnModuleInterface.h:90
XnBool(* NeedPoseForCalibration)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1246
XnStatus(* GetIntProperty)(XnModuleNodeHandle hInstance, const XnChar *strName, XnUInt64 *pnValue)
Definition: XnModuleInterface.h:358
void(* Player)(struct XnModulePlayerInterface *pInterface)
Definition: XnModuleInterface.h:180
Definition: XnModuleInterface.h:886
XnBool(* IsJointAvailable)(XnModuleNodeHandle hGenerator, XnSkeletonJoint eJoint)
Definition: XnModuleInterface.h:1223
void * XnCallbackHandle
Definition: XnTypes.h:247
XnCalibrationStatus
Definition: XnTypes.h:652
Definition: XnTypes.h:456
struct XnModuleUserGeneratorInterface XnModuleUserGeneratorInterface
XnBool(* IsViewPointAs)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition: XnModuleInterface.h:488
XnStatus(* SetRepeat)(XnModuleNodeHandle hInstance, XnBool bRepeat)
Definition: XnModuleInterface.h:756
XnStatus(* LoadCalibrationDataFromFile)(XnModuleNodeHandle hGenerator, XnUserID user, const XnChar *strFileName)
Definition: XnModuleInterface.h:1253
XnUInt32 XnCodecID
Definition: XnTypes.h:806
XnStatus(* SeekToFrame)(XnModuleNodeHandle hInstance, const XnChar *strNodeName, XnInt32 nFrameOffset, XnPlayerSeekOrigin origin)
Definition: XnModuleInterface.h:762
struct XnModulePoseDetectionCapabilityInterface XnModulePoseDetectionCapabilityInterface
XnBool(* IsNewDataAvailable)(XnModuleNodeHandle hGenerator, XnUInt64 *pnTimestamp)
Definition: XnModuleInterface.h:653
void(* XnModuleUserHandler)(XnUserID user, void *pCookie)
Definition: XnModuleInterface.h:84
XnStatus(* GetStringProperty)(XnModuleNodeHandle hInstance, const XnChar *strName, XnChar *csValue, XnUInt32 nBufSize)
Definition: XnModuleInterface.h:360
XnBool(* IsEOF)(XnModuleNodeHandle hInstance)
Definition: XnModuleInterface.h:777
void(* XnModuleGestureProgress)(const XnChar *strGesture, const XnPoint3D *pPosition, XnFloat fProgress, void *pCookie)
Definition: XnModuleInterface.h:96
void(* UnregisterFromUserReEnter)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1308
XnUInt32(* GetSupportedMapOutputModesCount)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:900
XnStatus(* RegisterToCroppingChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:832
Definition: XnModuleInterface.h:1145
XnUInt64(* GetTimestamp)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:676
XnModuleMapGeneratorInterface * pMapInterface
Definition: XnModuleInterface.h:1093
XnStatus(* StopPoseDetection)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition: XnModuleInterface.h:1269
XnStatus(* GetDeviceName)(XnModuleNodeHandle hInstance, XnChar *strBuffer, XnUInt32 *pnBufferSize)
Definition: XnModuleInterface.h:383
struct XnModuleHandsGeneratorInterface XnModuleHandsGeneratorInterface
Definition: XnModuleInterface.h:1285
XnStatus(* GetWaveOutputMode)(XnModuleNodeHandle hGenerator, XnWaveOutputMode *OutputMode)
Definition: XnModuleInterface.h:1321
XnPowerLineFrequency(* GetPowerLineFrequency)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:861
void(* UnregisterFromValueChange)(XnModuleNodeHandle hGenerator, const XnChar *strCap, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:322
XnStatus(* StartTracking)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition: XnModuleInterface.h:1243
XnStatus(* RegisterGestureCallbacks)(XnModuleNodeHandle hGenerator, XnModuleGestureRecognized RecognizedCB, XnModuleGestureProgress ProgressCB, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1170
Definition: XnModuleInterface.h:972
XnModuleProductionNodeInterface * pProductionNodeInterface
Definition: XnModuleInterface.h:579
void(* MapGenerator)(struct XnModuleMapGeneratorInterface *pInterface)
Definition: XnModuleInterface.h:170
Definition: XnModuleInterface.h:1028
XnStatus(* Set)(XnModuleNodeHandle hGenerator, const XnChar *strCap, XnInt32 nValue)
Definition: XnModuleInterface.h:299
void(* GetDescription)(XnProductionNodeDescription *pDescription)
Definition: XnModuleInterface.h:118
Definition: XnModuleInterface.h:1186
XnModuleLockAwareInterface * pLockAwareInterface
Definition: XnModuleInterface.h:364
struct XnModuleAntiFlickerInterface XnModuleAntiFlickerInterface
XnStatus(* GetAllAvailablePoses)(XnModuleNodeHandle hGenerator, XnChar **pstrPoses, XnUInt32 nNameLength, XnUInt32 *pnPoses)
Definition: XnModuleInterface.h:1273
XnStatus(* SaveCalibrationData)(XnModuleNodeHandle hGenerator, XnUserID user, XnUInt32 nSlot)
Definition: XnModuleInterface.h:1239
void(* Device)(struct XnModuleDeviceInterface *pInterface)
Definition: XnModuleInterface.h:168
XnStatus(* SetJointActive)(XnModuleNodeHandle hGenerator, XnSkeletonJoint eJoint, XnBool bState)
Definition: XnModuleInterface.h:1226
void(* XnModuleGetExportedInterfacePtr)(XnModuleExportedProductionNodeInterface *pInterface)
Definition: XnModuleInterface.h:64
XnStatus(* StartTracking)(XnModuleNodeHandle hGenerator, const XnPoint3D *pPosition)
Definition: XnModuleInterface.h:1211
XnStatus(* UpdateData)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:662
void(* Gesture)(struct XnModuleGestureGeneratorInterface *pInterface)
Definition: XnModuleInterface.h:176
XnSkeletonJoint
Definition: XnTypes.h:590
Definition: XnModuleInterface.h:1160
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:1162
XnStatus(* RegisterToViewPointChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:505
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:1330
struct XnModuleExtendedSerializationInterface XnModuleExtendedSerializationInterface
void(XN_C_DECL * XnModuleGetOpenNIVersionPtr)(XnVersion *pVersion)
Definition: XnModuleInterface.h:69
const XnChar *(* GetSupportedFormat)(XnModuleNodeHandle hInstance)
Definition: XnModuleInterface.h:774
XnModuleUserPositionCapabilityInterface * pUserPositionInterface
Definition: XnModuleInterface.h:1083
XnStatus(* RegisterToCalibrationComplete)(XnModuleNodeHandle hGenerator, XnModuleCalibrationComplete CalibrationCompleteCB, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1257
Definition: XnTypes.h:552
XnStatus(* StopTrackingAll)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1210
void(* UnregisterFromNewDataAvailable)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:644
XnStatus(* RegisterToEndOfFileReached)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:788
XnStatus(* SetPowerLineFrequency)(XnModuleNodeHandle hGenerator, XnPowerLineFrequency nFrequency)
Definition: XnModuleInterface.h:854
void(* Depth)(struct XnModuleDepthGeneratorInterface *pInterface)
Definition: XnModuleInterface.h:171
Definition: XnTypes.h:816
XnModuleGetOpenNIVersionPtr pGetVersionFunc
Definition: XnModuleInterface.h:77
XnStatus(* RegisterToGenerationRunningChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:614
Definition: XnTypes.h:434
XnStatus(* GetSerialNumber)(XnModuleNodeHandle hInstance, XnChar *strBuffer, XnUInt32 *pnBufferSize)
Definition: XnModuleInterface.h:409
XnUInt32(* GetDataSize)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:669
void(* UnregisterFromPowerLineFrequencyChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:882
XnModuleDeviceIdentificationInterface * pDeviceIdentificationInterface
Definition: XnModuleInterface.h:417
void(* XnModuleCalibrationInProgress)(XnUserID user, XnCalibrationStatus calibrationError, void *pCookie)
Definition: XnModuleInterface.h:103
Definition: XnModuleInterface.h:574
XnStatus(* GetUserPixels)(XnModuleNodeHandle hGenerator, XnUserID user, XnSceneMetaData *pScene)
Definition: XnModuleInterface.h:1292
XnSkeletonProfile
Definition: XnTypes.h:623
XnStatus(* RemoveGesture)(XnModuleNodeHandle hGenerator, const XnChar *strGesture)
Definition: XnModuleInterface.h:1165
Definition: XnModuleInterface.h:370
XnStatus(* RegisterToPoseCallbacks)(XnModuleNodeHandle hGenerator, XnModulePoseDetectionCallback StartPoseCB, XnModulePoseDetectionCallback EndCB, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1270
XnBool(* IsProfileAvailable)(XnModuleNodeHandle hGenerator, XnSkeletonProfile eProfile)
Definition: XnModuleInterface.h:1224
XnStatus(* EnumerateProductionTrees)(XnContext *pContext, XnNodeInfoList *pNodesList, XnEnumerationErrors *pErrors)
Definition: XnModuleInterface.h:128
XnStatus(* TellFrame)(XnModuleNodeHandle hInstance, const XnChar *strNodeName, XnUInt32 *pnFrame)
Definition: XnModuleInterface.h:768
XnPixelFormat
Definition: XnTypes.h:490
struct XnModuleMapGeneratorInterface XnModuleMapGeneratorInterface
XnStatus(* RegisterToValueChange)(XnModuleNodeHandle hGenerator, const XnChar *strCap, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:311
Definition: XnModuleInterface.h:1339
void(* Hands)(struct XnModuleHandsGeneratorInterface *pInterace)
Definition: XnModuleInterface.h:175
XnStatus(* RegisterUserCallbacks)(XnModuleNodeHandle hGenerator, XnModuleUserHandler NewUserCB, XnModuleUserHandler LostUserCB, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1293
struct XnModuleScriptNodeInterface XnModuleScriptNodeInterface
void(* Scene)(struct XnModuleSceneAnalyzerInterface *pInterface)
Definition: XnModuleInterface.h:177
void(* UnregisterFromFrameSyncChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:569
void(* XnModuleHandDestroy)(XnUserID user, XnFloat fTime, void *pCookie)
Definition: XnModuleInterface.h:92
Definition: XnTypes.h:539
void(* Generator)(struct XnModuleGeneratorInterface *pInterface)
Definition: XnModuleInterface.h:169
XnStatus(* RegisterToMirrorChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:447
XnBool(* IsCalibrationData)(XnModuleNodeHandle hGenerator, XnUInt32 nSlot)
Definition: XnModuleInterface.h:1242
XnModuleMapGeneratorInterface * pMapInterface
Definition: XnModuleInterface.h:1033
XnStatus(* SetInputStream)(XnModuleNodeHandle hInstance, void *pStreamCookie, XnPlayerInputStreamInterface *pStream)
Definition: XnModuleInterface.h:726
XnModuleAntiFlickerInterface * pAntiFlickerInterface
Definition: XnModuleInterface.h:965
void(* UnregisterFromGestureChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1173
XnStatus(* RegisterHandCallbacks)(XnModuleNodeHandle hGenerator, XnModuleHandCreate CreateCB, XnModuleHandUpdate UpdateCB, XnModuleHandDestroy DestroyCB, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1207
void(* Audio)(struct XnModuleAudioGeneratorInterface *pInterface)
Definition: XnModuleInterface.h:178
struct XnModuleFrameSyncInterface XnModuleFrameSyncInterface
XnDirection
Definition: XnTypes.h:665
XnModuleGetExportedNodesCountPtr pGetCountFunc
Definition: XnModuleInterface.h:75
struct XnModuleErrorStateInterface XnModuleErrorStateInterface
struct XnModuleExportedProductionNodeInterface XnModuleExportedProductionNodeInterface
void(* UnregisterFromMapOutputModeChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:952
XnStatus(* Get)(XnModuleNodeHandle hGenerator, const XnChar *strCap, XnInt32 *pnValue)
Definition: XnModuleInterface.h:290
void(* UnregisterFromPoseDetected)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1279
void(* UnregisterFromGenerationRunningChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:624
void(* UnregisterFromCalibrationComplete)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1258
struct XnContext XnContext
Definition: XnTypes.h:77
Definition: XnModuleInterface.h:846
XnStatus(* StartGenerating)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:587
void(* Destroy)(XnModuleNodeHandle hInstance)
Definition: XnModuleInterface.h:156
XnCodecID(* GetCodecID)(XnModuleNodeHandle hCodec)
Definition: XnModuleInterface.h:1332
XnStatus(* StopFrameSyncWith)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition: XnModuleInterface.h:543
struct XnModuleDeviceInterface XnModuleDeviceInterface
struct XnOpenNIModuleInterface XnOpenNIModuleInterface
XnModuleGetExportedNodesEntryPointsPtr pGetEntryPointsFunc
Definition: XnModuleInterface.h:76
XnStatus(* SetGeneralProperty)(XnModuleNodeHandle hInstance, const XnChar *strName, XnUInt32 nBufferSize, const void *pBuffer)
Definition: XnModuleInterface.h:349
XnStatus(* AddGesture)(XnModuleNodeHandle hGenerator, const XnChar *strGesture, XnBoundingBox3D *pArea)
Definition: XnModuleInterface.h:1164
XnDepthPixel(* GetDeviceMaxDepth)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1049
XnStatus(* RegisterToWaveOutputModeChanges)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1322
XnStatus(* TellTimestamp)(XnModuleNodeHandle hInstance, XnUInt64 *pnTimestamp)
Definition: XnModuleInterface.h:765
XnBool(* IsFrameSyncedWith)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition: XnModuleInterface.h:551
void(* UnregisterFromGestureReadyForNextIntermediateStage)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1181
void(* XnModuleHandTouchingFOVEdge)(XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, XnDirection eDir, void *pCookie)
Definition: XnModuleInterface.h:87
Definition: XnModuleInterface.h:1264
XnStatus(* RegisterToPoseDetectionInProgress)(XnModuleNodeHandle hGenerator, XnModulePoseDetectionInProgressCallback PoseProgressCB, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1275
XnStatus(* GetRange)(XnModuleNodeHandle hGenerator, const XnChar *strCap, XnInt32 *pnMin, XnInt32 *pnMax, XnInt32 *pnStep, XnInt32 *pnDefault, XnBool *pbIsAutoSupported)
Definition: XnModuleInterface.h:281
void(* General)(void *pInterface)
Definition: XnModuleInterface.h:184
XnStatus(* AbortCalibration)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition: XnModuleInterface.h:1238
XnStatus(* SetPixelFormat)(XnModuleNodeHandle hGenerator, XnPixelFormat Format)
Definition: XnModuleInterface.h:1114
Definition: XnModuleInterface.h:1197
void(* UnregisterFromCroppingChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:842
XnStatus(* GetCoM)(XnModuleNodeHandle hGenerator, XnUserID user, XnPoint3D *pCoM)
Definition: XnModuleInterface.h:1291
XnStatus(* GetSkeletonJointPosition)(XnModuleNodeHandle hGenerator, XnUserID user, XnSkeletonJoint eJoint, XnSkeletonJointPosition *pJoint)
Definition: XnModuleInterface.h:1232
Definition: XnModuleInterface.h:413
XnStatus(* LoadScriptFromString)(XnModuleNodeHandle hScript, const XnChar *strScript)
Definition: XnModuleInterface.h:1345
struct XnModuleUserPositionCapabilityInterface XnModuleUserPositionCapabilityInterface
XnStatus(* GetActiveGestures)(XnModuleNodeHandle hGenerator, XnChar **pstrGestures, XnUInt16 *nGestures)
Definition: XnModuleInterface.h:1166
void(* UnregisterFromHandTouchingFOVEdge)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1200
XnBool(* IsJointActive)(XnModuleNodeHandle hGenerator, XnSkeletonJoint eJoint)
Definition: XnModuleInterface.h:1227
void(* UnregisterFromGestureIntermediateStageCompleted)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1179
Definition: XnModuleInterface.h:517
struct XnModuleSceneAnalyzerInterface XnModuleSceneAnalyzerInterface
XnStatus(* ResetViewPoint)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:495
void(* UnregisterFromMirrorChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:457
void(* Script)(struct XnModuleScriptNodeInterface *pInterface)
Definition: XnModuleInterface.h:182
struct XnModuleMirrorInterface XnModuleMirrorInterface
struct XnModuleRecorderInterface XnModuleRecorderInterface
Definition: XnModuleInterface.h:1221
XnStatus(* GetSupportedMapOutputModes)(XnModuleNodeHandle hGenerator, XnMapOutputMode *aModes, XnUInt32 *pnCount)
Definition: XnModuleInterface.h:912