OpenNI 1.5.7
XnModuleInterface.h
Go to the documentation of this file.
1 /*****************************************************************************
2 * *
3 * OpenNI 1.x Alpha *
4 * Copyright (C) 2012 PrimeSense Ltd. *
5 * *
6 * This file is part of OpenNI. *
7 * *
8 * Licensed under the Apache License, Version 2.0 (the "License"); *
9 * you may not use this file except in compliance with the License. *
10 * You may obtain a copy of the License at *
11 * *
12 * http://www.apache.org/licenses/LICENSE-2.0 *
13 * *
14 * Unless required by applicable law or agreed to in writing, software *
15 * distributed under the License is distributed on an "AS IS" BASIS, *
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
17 * See the License for the specific language governing permissions and *
18 * limitations under the License. *
19 * *
20 *****************************************************************************/
21 #ifndef __XN_MODULE_INTERFACE_H__
22 #define __XN_MODULE_INTERFACE_H__
23 
24 //---------------------------------------------------------------------------
25 // Includes
26 //---------------------------------------------------------------------------
27 #include <XnTypes.h>
28 
29 //---------------------------------------------------------------------------
30 // Defines
31 //---------------------------------------------------------------------------
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
37 
38 //---------------------------------------------------------------------------
39 // Forward Declarations
40 //---------------------------------------------------------------------------
57 
58 //---------------------------------------------------------------------------
59 // Types
60 //---------------------------------------------------------------------------
61 
62 typedef void (XN_CALLBACK_TYPE* XnModuleGetExportedInterfacePtr)(XnModuleExportedProductionNodeInterface* pInterface);
63 typedef XnStatus (XN_C_DECL* XnModuleLoadPtr)();
64 typedef void (XN_C_DECL* XnModuleUnloadPtr)();
65 typedef XnUInt32 (XN_C_DECL* XnModuleGetExportedNodesCountPtr)();
66 typedef XnStatus (XN_C_DECL* XnModuleGetExportedNodesEntryPointsPtr)(XnModuleGetExportedInterfacePtr* aEntryPoints, XnUInt32 nCount);
67 typedef void (XN_C_DECL* XnModuleGetOpenNIVersionPtr)(XnVersion* pVersion);
68 
70 {
77 
79 typedef void (XN_CALLBACK_TYPE* XnModuleStateChangedHandler)(void* pCookie);
80 
81 // User
82 typedef void (XN_CALLBACK_TYPE* XnModuleUserHandler)(XnUserID user, void* pCookie);
83 
84 // Hand touching FOV edge
85 typedef void (XN_CALLBACK_TYPE* XnModuleHandTouchingFOVEdge)(XnUserID user, const XnPoint3D* pPosition, XnFloat fTime, XnDirection eDir, void* pCookie);
86 
87 // UI
88 typedef void (XN_CALLBACK_TYPE* XnModuleHandCreate)(XnUserID user, const XnPoint3D* pPosition, XnFloat fTime, void* pCookie);
89 typedef void (XN_CALLBACK_TYPE* XnModuleHandUpdate)(XnUserID user, const XnPoint3D* pPosition, XnFloat fTime, void* pCookie);
90 typedef void (XN_CALLBACK_TYPE* XnModuleHandDestroy)(XnUserID user, XnFloat fTime, void* pCookie);
91 
92 // Gesture Module
93 typedef void (XN_CALLBACK_TYPE* XnModuleGestureRecognized)(const XnChar* strGesture, const XnPoint3D* pIDPosition, const XnPoint3D* pEndPosition, void* pCookie);
94 typedef void (XN_CALLBACK_TYPE* XnModuleGestureProgress)(const XnChar* strGesture, const XnPoint3D* pPosition, XnFloat fProgress, void* pCookie);
95 typedef void (XN_CALLBACK_TYPE* XnModuleGestureIntermediateStageCompleted)(const XnChar* strGesture, const XnPoint3D* pPosition, void* pCookie);
96 typedef void (XN_CALLBACK_TYPE* XnModuleGestureReadyForNextIntermediateStage)(const XnChar* strGesture, const XnPoint3D* pPosition, void* pCookie);
97 
98 // Skeleton
99 typedef void (XN_CALLBACK_TYPE* XnModuleCalibrationStart)(XnUserID user, void* pCookie);
100 typedef void (XN_CALLBACK_TYPE* XnModuleCalibrationEnd)(XnUserID user, XnBool bSuccess, void* pCookie);
101 typedef void (XN_CALLBACK_TYPE* XnModuleCalibrationInProgress)(XnUserID user, XnCalibrationStatus calibrationError, void* pCookie);
102 typedef void (XN_CALLBACK_TYPE* XnModuleCalibrationComplete)(XnUserID user, XnCalibrationStatus calibrationError, void* pCookie);
103 
104 // Pose Detection
105 typedef void (XN_CALLBACK_TYPE* XnModulePoseDetectionCallback)(const XnChar* strPose, XnUserID user, void* pCookie);
106 typedef void (XN_CALLBACK_TYPE* XnModulePoseDetectionInProgressCallback)(const XnChar* strPose, XnUserID user, XnPoseDetectionStatus poseError, void* pCookie);
107 
109 {
115  void (XN_CALLBACK_TYPE* GetDescription)
117 
125  XnStatus (XN_CALLBACK_TYPE* EnumerateProductionTrees)
126  (XnContext* pContext,
127  XnNodeInfoList* pNodesList,
128  XnEnumerationErrors* pErrors);
129 
140  XnStatus (XN_CALLBACK_TYPE* Create)
141  (XnContext* pContext,
142  const XnChar* strInstanceName,
143  const XnChar* strCreationInfo,
144  XnNodeInfoList* pNeededNodes,
145  const XnChar* strConfigurationDir,
146  XnModuleNodeHandle* phInstance);
147 
153  void (XN_CALLBACK_TYPE* Destroy)
154  (XnModuleNodeHandle hInstance);
155 
163  union
164  {
165  void (XN_CALLBACK_TYPE* ProductionNode)(struct XnModuleProductionNodeInterface* pInterface);
166  void (XN_CALLBACK_TYPE* Device)(struct XnModuleDeviceInterface* pInterface);
167  void (XN_CALLBACK_TYPE* Generator)(struct XnModuleGeneratorInterface* pInterface);
168  void (XN_CALLBACK_TYPE* MapGenerator)(struct XnModuleMapGeneratorInterface* pInterface);
169  void (XN_CALLBACK_TYPE* Depth)(struct XnModuleDepthGeneratorInterface* pInterface);
170  void (XN_CALLBACK_TYPE* Image)(struct XnModuleImageGeneratorInterface* pInterface);
171  void (XN_CALLBACK_TYPE* IR)(struct XnModuleIRGeneratorInterface* pInterface);
172  void (XN_CALLBACK_TYPE* User)(struct XnModuleUserGeneratorInterface* pInterface);
173  void (XN_CALLBACK_TYPE* Hands)(struct XnModuleHandsGeneratorInterface* pInterace);
174  void (XN_CALLBACK_TYPE* Gesture)(struct XnModuleGestureGeneratorInterface* pInterface);
175  void (XN_CALLBACK_TYPE* Scene)(struct XnModuleSceneAnalyzerInterface* pInterface);
176  void (XN_CALLBACK_TYPE* Audio)(struct XnModuleAudioGeneratorInterface* pInterface);
177  void (XN_CALLBACK_TYPE* Recorder)(struct XnModuleRecorderInterface* pInterface);
178  void (XN_CALLBACK_TYPE* Player)(struct XnModulePlayerInterface* pInterface);
179  void (XN_CALLBACK_TYPE* Codec)(struct XnModuleCodecInterface* pInterface);
180  void (XN_CALLBACK_TYPE* Script)(struct XnModuleScriptNodeInterface* pInterface);
181 
182  void (XN_CALLBACK_TYPE* General)(void* pInterface);
183  } GetInterface;
184 
186 
188 {
189  XnStatus (XN_CALLBACK_TYPE* InitNotifications)(XnModuleNodeHandle hInstance, XnNodeNotifications* pNotifications, void* pCookie);
190  void (XN_CALLBACK_TYPE* StopNotifications)(XnModuleNodeHandle hInstance);
191 
193 
195 {
202  XnStatus (XN_CALLBACK_TYPE* SetLockState)(XnModuleNodeHandle hInstance, XnBool bLocked);
203 
209  XnBool (XN_CALLBACK_TYPE* GetLockState)(XnModuleNodeHandle hInstance);
210 
219  XnStatus (XN_CALLBACK_TYPE* RegisterToLockChange)
221  void* pCookie, XnCallbackHandle* phCallback);
222 
229  void (XN_CALLBACK_TYPE* UnregisterFromLockChange)
230  (XnModuleNodeHandle hInstance, XnCallbackHandle hCallback);
231 
233 
235 {
241  XnStatus (XN_CALLBACK_TYPE* GetErrorState)(XnModuleNodeHandle hInstance);
242 
251  XnStatus (XN_CALLBACK_TYPE* RegisterToErrorStateChange)
253  void* pCookie, XnCallbackHandle* phCallback);
254 
261  void (XN_CALLBACK_TYPE* UnregisterFromErrorStateChange)
262  (XnModuleNodeHandle hInstance, XnCallbackHandle hCallback);
263 
265 
267 {
279  XnStatus (XN_CALLBACK_TYPE* GetRange)(XnModuleNodeHandle hGenerator, const XnChar* strCap, XnInt32* pnMin, XnInt32* pnMax, XnInt32* pnStep, XnInt32* pnDefault, XnBool* pbIsAutoSupported);
280 
288  XnStatus (XN_CALLBACK_TYPE* Get)(XnModuleNodeHandle hGenerator, const XnChar* strCap, XnInt32* pnValue);
289 
297  XnStatus (XN_CALLBACK_TYPE* Set)(XnModuleNodeHandle hGenerator, const XnChar* strCap, XnInt32 nValue);
298 
308  XnStatus (XN_CALLBACK_TYPE* RegisterToValueChange)
309  (XnModuleNodeHandle hGenerator, const XnChar* strCap, XnModuleStateChangedHandler handler,
310  void* pCookie, XnCallbackHandle* phCallback);
311 
319  void (XN_CALLBACK_TYPE* UnregisterFromValueChange)
320  (XnModuleNodeHandle hGenerator, const XnChar* strCap, XnCallbackHandle hCallback);
321 
323 
325 {
332  XnBool (XN_CALLBACK_TYPE* IsCapabilitySupported)(
333  XnModuleNodeHandle hInstance,
334  const XnChar* strCapabilityName
335  );
336 
344  XnStatus (XN_CALLBACK_TYPE* SetIntProperty)(XnModuleNodeHandle hInstance, const XnChar* strName, XnUInt64 nValue);
345  XnStatus (XN_CALLBACK_TYPE* SetRealProperty)(XnModuleNodeHandle hInstance, const XnChar* strName, XnDouble dValue);
346  XnStatus (XN_CALLBACK_TYPE* SetStringProperty)(XnModuleNodeHandle hInstance, const XnChar* strName, const XnChar* strValue);
347  XnStatus (XN_CALLBACK_TYPE* SetGeneralProperty)(XnModuleNodeHandle hInstance, const XnChar* strName, XnUInt32 nBufferSize, const void* pBuffer);
348 
356  XnStatus (XN_CALLBACK_TYPE* GetIntProperty)(XnModuleNodeHandle hInstance, const XnChar* strName, XnUInt64* pnValue);
357  XnStatus (XN_CALLBACK_TYPE* GetRealProperty)(XnModuleNodeHandle hInstance, const XnChar* strName, XnDouble* pdValue);
358  XnStatus (XN_CALLBACK_TYPE* GetStringProperty)(XnModuleNodeHandle hInstance, const XnChar* strName, XnChar* csValue, XnUInt32 nBufSize);
359  XnStatus (XN_CALLBACK_TYPE* GetGeneralProperty)(XnModuleNodeHandle hInstance, const XnChar* strName, XnUInt32 nBufferSize, void* pBuffer);
360 
365 
367 
369 {
381  XnStatus (XN_CALLBACK_TYPE* GetDeviceName)(XnModuleNodeHandle hInstance, XnChar* strBuffer, XnUInt32* pnBufferSize);
382 
394  XnStatus (XN_CALLBACK_TYPE* GetVendorSpecificData)(XnModuleNodeHandle hInstance, XnChar* strBuffer, XnUInt32* pnBufferSize);
395 
407  XnStatus (XN_CALLBACK_TYPE* GetSerialNumber)(XnModuleNodeHandle hInstance, XnChar* strBuffer, XnUInt32* pnBufferSize);
408 
410 
412 {
414 
416 
418 
420 {
427  XnStatus (XN_CALLBACK_TYPE* SetMirror)(XnModuleNodeHandle hInstance, XnBool bMirror);
428 
434  XnBool (XN_CALLBACK_TYPE* IsMirrored)(XnModuleNodeHandle hInstance);
435 
444  XnStatus (XN_CALLBACK_TYPE* RegisterToMirrorChange)
446  void* pCookie, XnCallbackHandle* phCallback);
447 
454  void (XN_CALLBACK_TYPE* UnregisterFromMirrorChange)
455  (XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
456 
458 
460 {
470  XnBool (XN_CALLBACK_TYPE* IsViewPointSupported)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther);
471 
478  XnStatus (XN_CALLBACK_TYPE* SetViewPoint)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther);
479 
486  XnBool (XN_CALLBACK_TYPE* IsViewPointAs)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther);
487 
493  XnStatus (XN_CALLBACK_TYPE* ResetViewPoint)(XnModuleNodeHandle hGenerator);
494 
503  XnStatus (XN_CALLBACK_TYPE* RegisterToViewPointChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback);
504 
511  void (XN_CALLBACK_TYPE* UnregisterFromViewPointChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
512 
523  XnStatus (XN_CALLBACK_TYPE* GetPixelCoordinatesInViewPoint)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther, XnUInt32 x, XnUInt32 y, XnUInt32* pAltX, XnUInt32* pAltY);
524 
526 
528 {
537  XnBool (XN_CALLBACK_TYPE* CanFrameSyncWith)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther);
538 
545  XnStatus (XN_CALLBACK_TYPE* FrameSyncWith)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther);
546 
553  XnStatus (XN_CALLBACK_TYPE* StopFrameSyncWith)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther);
554 
561  XnBool (XN_CALLBACK_TYPE* IsFrameSyncedWith)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther);
562 
571  XnStatus (XN_CALLBACK_TYPE* RegisterToFrameSyncChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback);
572 
579  void (XN_CALLBACK_TYPE* UnregisterFromFrameSyncChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
580 
582 
585 {
590 
596  XnStatus (XN_CALLBACK_TYPE* StartGenerating)
597  (XnModuleNodeHandle hGenerator);
598 
604  XnBool (XN_CALLBACK_TYPE* IsGenerating)
605  (XnModuleNodeHandle hGenerator);
606 
612  void (XN_CALLBACK_TYPE* StopGenerating)
613  (XnModuleNodeHandle hGenerator);
614 
623  XnStatus (XN_CALLBACK_TYPE* RegisterToGenerationRunningChange)
625  void* pCookie, XnCallbackHandle* phCallback);
626 
633  void (XN_CALLBACK_TYPE* UnregisterFromGenerationRunningChange)
634  (XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
635 
643  XnStatus (XN_CALLBACK_TYPE* RegisterToNewDataAvailable)
645  void* pCookie, XnCallbackHandle* phCallback);
646 
653  void (XN_CALLBACK_TYPE* UnregisterFromNewDataAvailable)
654  (XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
655 
662  XnBool (XN_CALLBACK_TYPE* IsNewDataAvailable)
663  (XnModuleNodeHandle hGenerator, XnUInt64* pnTimestamp);
664 
671  XnStatus (XN_CALLBACK_TYPE* UpdateData)
672  (XnModuleNodeHandle hGenerator);
673 
679  XnUInt32 (XN_CALLBACK_TYPE* GetDataSize)(XnModuleNodeHandle hGenerator);
680 
686  XnUInt64 (XN_CALLBACK_TYPE* GetTimestamp)(XnModuleNodeHandle hGenerator);
687 
693  XnUInt32 (XN_CALLBACK_TYPE* GetFrameID)(XnModuleNodeHandle hGenerator);
694 
697  void* pObsolete1; // used to be pSeekingInterface (removed in 1.0.0.28)
699 
700  //Note: The GetData() function was added in version 1.0.0.28
706  const void* (XN_CALLBACK_TYPE* GetData)(XnModuleNodeHandle hGenerator);
707 
709 
711 {
712  /*
713  * Sets the output stream for the recorder module.
714  *
715  * @param hInstance [in] A handle to the instance.
716  * @param pStreamToken [in] A token that the recorder module must save for passing to later stream calls.
717  * @param pStream [in] The stream interface the recorder module must save for later stream calls.
718  */
719  XnStatus (XN_CALLBACK_TYPE* SetOutputStream)
720  (XnModuleNodeHandle hInstance, void *pStreamToken, XnRecorderOutputStreamInterface *pStream);
721 
725 
727 {
728  /*
729  * Sets the input stream for the player module
730  *
731  * @param hInstance [in] A handle to the instance.
732  * @param pStreamCookie [in] A cookie that the player module must save for passing to later stream calls.
733  * @param pStream [in] The stream interface the player module must save for later stream calls.
734  */
735  XnStatus (XN_CALLBACK_TYPE* SetInputStream)
736  (XnModuleNodeHandle hInstance, void *pStreamCookie, XnPlayerInputStreamInterface *pStream);
737 
743  XnStatus (XN_CALLBACK_TYPE* ReadNext)(XnModuleNodeHandle hInstance);
744 
745  /*
746  * Sets the node notifications object to be used by the player. The player will use this object to
747  * notify about events it encounters in the stream that was set with @ref SetInputStream().
748  *
749  * @param hInstance [in] A handle to the instance.
750  * @param pNodeNotificationsCookie [in] A cookie that the player module must save for passing to node notification calls.
751  * @param pNodeNotifications [in] The node notifications interface that the player module will use to raise node notifications it finds in the stream.
752  */
753  XnStatus (XN_CALLBACK_TYPE* SetNodeNotifications)
754  (XnModuleNodeHandle hInstance, void *pNodeNotificationsCookie, XnNodeNotifications *pNodeNotifications);
755 
756  XnStatus (XN_CALLBACK_TYPE* SetRawNodeNotifications)
757  (XnModuleNodeHandle hInstance, void *pRawNodeNotificationsCookie, XnNodeNotifications *pRawNodeNotifications);
758 
759 
760  /*
761  * Determines whether the player repeats the played stream or not.
762  *
763  * @param bRepeat [in] If TRUE, repeat is set to be ON. If FALSE, repeat is set to be OFF.
764  */
765  XnStatus (XN_CALLBACK_TYPE* SetRepeat)
766  (XnModuleNodeHandle hInstance, XnBool bRepeat);
767 
768  XnStatus (XN_CALLBACK_TYPE* SeekToTimeStamp)
769  (XnModuleNodeHandle hInstance, XnInt64 nTimeOffset, XnPlayerSeekOrigin origin);
770 
771  XnStatus (XN_CALLBACK_TYPE* SeekToFrame)
772  (XnModuleNodeHandle hInstance, const XnChar* strNodeName, XnInt32 nFrameOffset, XnPlayerSeekOrigin origin);
773 
774  XnStatus (XN_CALLBACK_TYPE* TellTimestamp)
775  (XnModuleNodeHandle hInstance, XnUInt64* pnTimestamp);
776 
777  XnStatus (XN_CALLBACK_TYPE* TellFrame)
778  (XnModuleNodeHandle hInstance, const XnChar* strNodeName, XnUInt32* pnFrame);
779 
780  XnStatus (XN_CALLBACK_TYPE* GetNumFrames)
781  (XnModuleNodeHandle hInstance, const XnChar* strNodeName, XnUInt32* pnFrames);
782 
783  const XnChar* (XN_CALLBACK_TYPE* GetSupportedFormat)
784  (XnModuleNodeHandle hInstance);
785 
786  XnBool (XN_CALLBACK_TYPE* IsEOF)
787  (XnModuleNodeHandle hInstance);
788 
797  XnStatus (XN_CALLBACK_TYPE* RegisterToEndOfFileReached)
799  void* pCookie, XnCallbackHandle* phCallback);
800 
807  void (XN_CALLBACK_TYPE* UnregisterFromEndOfFileReached)
808  (XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
809 
811  void* pObsolete1; // used to be pSeekingInterface (removed in 1.0.0.28)
812 
814 
816 {
823  XnStatus (XN_CALLBACK_TYPE* SetCropping)(XnModuleNodeHandle hGenerator, const XnCropping* pCropping);
824 
831  XnStatus (XN_CALLBACK_TYPE* GetCropping)(XnModuleNodeHandle hGenerator, XnCropping* pCropping);
832 
841  XnStatus (XN_CALLBACK_TYPE* RegisterToCroppingChange)
843  void* pCookie, XnCallbackHandle* phCallback);
844 
851  void (XN_CALLBACK_TYPE* UnregisterFromCroppingChange)
852  (XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
853 
855 
857 {
864  XnStatus (XN_CALLBACK_TYPE* SetPowerLineFrequency)(XnModuleNodeHandle hGenerator, XnPowerLineFrequency nFrequency);
865 
872 
881  XnStatus (XN_CALLBACK_TYPE* RegisterToPowerLineFrequencyChange)
883  void* pCookie, XnCallbackHandle* phCallback);
884 
891  void (XN_CALLBACK_TYPE* UnregisterFromPowerLineFrequencyChange)
892  (XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
893 
895 
897 {
902 
909  XnUInt32 (XN_CALLBACK_TYPE* GetSupportedMapOutputModesCount)
910  (XnModuleNodeHandle hGenerator);
911 
921  XnStatus (XN_CALLBACK_TYPE* GetSupportedMapOutputModes)
922  (XnModuleNodeHandle hGenerator,
923  XnMapOutputMode* aModes, XnUInt32* pnCount);
924 
931  XnStatus (XN_CALLBACK_TYPE* SetMapOutputMode)
932  (XnModuleNodeHandle hGenerator, const XnMapOutputMode* pOutputMode);
933 
940  XnStatus (XN_CALLBACK_TYPE* GetMapOutputMode)
941  (XnModuleNodeHandle hGenerator, XnMapOutputMode* pOutputMode);
942 
951  XnStatus (XN_CALLBACK_TYPE* RegisterToMapOutputModeChange)
953  void* pCookie, XnCallbackHandle* phCallback);
954 
961  void (XN_CALLBACK_TYPE* UnregisterFromMapOutputModeChange)
962  (XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
963 
965 
966  // NOTE: GetBytesPerPixel() was added in OpenNI 1.0.0.30
972  XnUInt32 (XN_CALLBACK_TYPE* GetBytesPerPixel)
973  (XnModuleNodeHandle hGenerator);
974 
976 
978 
983 {
989  XnUInt32 (XN_CALLBACK_TYPE* GetSupportedUserPositionsCount)
990  (XnModuleNodeHandle hGenerator);
991 
999  XnStatus (XN_CALLBACK_TYPE* SetUserPosition)(
1000  XnModuleNodeHandle hGenerator,
1001  XnUInt32 nIndex,
1002  const XnBoundingBox3D* pPosition);
1003 
1011  XnStatus (XN_CALLBACK_TYPE* GetUserPosition)
1012  (XnModuleNodeHandle hGenerator, XnUInt32 nIndex, XnBoundingBox3D* pPosition);
1013 
1022  XnStatus (XN_CALLBACK_TYPE* RegisterToUserPositionChange)
1024  void* pCookie, XnCallbackHandle* phCallback);
1025 
1032  void (XN_CALLBACK_TYPE* UnregisterFromUserPositionChange)
1033  (XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1034 
1036 
1039 {
1044 
1050  XnDepthPixel* (XN_CALLBACK_TYPE* GetDepthMap)
1051  (XnModuleNodeHandle hGenerator);
1052 
1058  XnDepthPixel (XN_CALLBACK_TYPE* GetDeviceMaxDepth)
1059  (XnModuleNodeHandle hGenerator);
1060 
1069  void (XN_CALLBACK_TYPE* GetFieldOfView)(XnModuleNodeHandle hGenerator, XnFieldOfView* pFOV);
1070 
1080  void* pCookie, XnCallbackHandle* phCallback);
1081 
1088  void (XN_CALLBACK_TYPE* UnregisterFromFieldOfViewChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1089 
1094 
1096 
1099 {
1104 
1106  XnUInt8* (XN_CALLBACK_TYPE* GetImageMap)(
1107  XnModuleNodeHandle hGenerator
1108  );
1109 
1116  XnBool (XN_CALLBACK_TYPE* IsPixelFormatSupported)(XnModuleNodeHandle hGenerator, XnPixelFormat Format);
1117 
1124  XnStatus (XN_CALLBACK_TYPE* SetPixelFormat)(XnModuleNodeHandle hGenerator, XnPixelFormat Format);
1125 
1131  XnPixelFormat (XN_CALLBACK_TYPE* GetPixelFormat)(XnModuleNodeHandle hGenerator);
1132 
1142  void* pCookie, XnCallbackHandle* phCallback);
1143 
1150  void (XN_CALLBACK_TYPE* UnregisterFromPixelFormatChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1151 
1153 
1156 {
1161 
1163  XnIRPixel* (XN_CALLBACK_TYPE* GetIRMap)(
1164  XnModuleNodeHandle hGenerator
1165  );
1166 
1168 
1171 {
1173 
1174  XnStatus (XN_CALLBACK_TYPE* AddGesture)(XnModuleNodeHandle hGenerator, const XnChar* strGesture, XnBoundingBox3D* pArea);
1175  XnStatus (XN_CALLBACK_TYPE* RemoveGesture)(XnModuleNodeHandle hGenerator, const XnChar* strGesture);
1176  XnStatus (XN_CALLBACK_TYPE* GetActiveGestures)(XnModuleNodeHandle hGenerator, XnChar** pstrGestures, XnUInt16* nGestures);
1177  XnStatus (XN_CALLBACK_TYPE* EnumerateGestures)(XnModuleNodeHandle hGenerator, XnChar** pstrGestures, XnUInt16* nGestures);
1178  XnBool (XN_CALLBACK_TYPE* IsGestureAvailable)(XnModuleNodeHandle hInstance, const XnChar* strGesture);
1179  XnBool (XN_CALLBACK_TYPE* IsGestureProgressSupported)(XnModuleNodeHandle hGenerator, const XnChar* strGesture);
1180  XnStatus (XN_CALLBACK_TYPE* RegisterGestureCallbacks)(XnModuleNodeHandle hGenerator, XnModuleGestureRecognized RecognizedCB, XnModuleGestureProgress ProgressCB, void* pCookie, XnCallbackHandle* phCallback);
1181  void (XN_CALLBACK_TYPE* UnregisterGestureCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1182  XnStatus (XN_CALLBACK_TYPE* RegisterToGestureChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback);
1183  void (XN_CALLBACK_TYPE* UnregisterFromGestureChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1184 
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);
1187 
1188  XnStatus (XN_CALLBACK_TYPE* RegisterToGestureIntermediateStageCompleted)(XnModuleNodeHandle hGenerator, XnModuleGestureIntermediateStageCompleted GestureIntermediateStageCompletedCB, void* pCookie, XnCallbackHandle* phCallback);
1190  XnStatus (XN_CALLBACK_TYPE* RegisterToGestureReadyForNextIntermediateStage)(XnModuleNodeHandle hGenerator, XnModuleGestureReadyForNextIntermediateStage ReadyForNextIntermediateStageCB, void* pCookie, XnCallbackHandle* phCallback);
1192 
1194 
1197 {
1199 
1200  const XnLabel* (XN_CALLBACK_TYPE* GetLabelMap)(XnModuleNodeHandle hGenerator);
1201  XnStatus (XN_CALLBACK_TYPE* GetFloor)(XnModuleNodeHandle hGenerator, XnPlane3D* pPlane);
1203 
1208 {
1209  XnStatus (XN_CALLBACK_TYPE* RegisterToHandTouchingFOVEdge)(XnModuleNodeHandle hGenerator, XnModuleHandTouchingFOVEdge, void* pCookie, XnCallbackHandle* phCallback);
1210  void (XN_CALLBACK_TYPE* UnregisterFromHandTouchingFOVEdge)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1212 
1214 {
1216 
1217  XnStatus (XN_CALLBACK_TYPE* RegisterHandCallbacks)(XnModuleNodeHandle hGenerator, XnModuleHandCreate CreateCB, XnModuleHandUpdate UpdateCB, XnModuleHandDestroy DestroyCB, void* pCookie, XnCallbackHandle* phCallback);
1218  void (XN_CALLBACK_TYPE* UnregisterHandCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1219  XnStatus (XN_CALLBACK_TYPE* StopTracking)(XnModuleNodeHandle hGenerator, XnUserID user);
1220  XnStatus (XN_CALLBACK_TYPE* StopTrackingAll)(XnModuleNodeHandle hGenerator);
1221  XnStatus (XN_CALLBACK_TYPE* StartTracking)(XnModuleNodeHandle hGenerator, const XnPoint3D* pPosition);
1222  XnStatus (XN_CALLBACK_TYPE* SetSmoothing)(XnModuleNodeHandle hGenerator, XnFloat fSmoothingFactor);
1223 
1225 
1227 
1232 {
1233  XnBool (XN_CALLBACK_TYPE* IsJointAvailable)(XnModuleNodeHandle hGenerator, XnSkeletonJoint eJoint);
1234  XnBool (XN_CALLBACK_TYPE* IsProfileAvailable)(XnModuleNodeHandle hGenerator, XnSkeletonProfile eProfile);
1235  XnStatus (XN_CALLBACK_TYPE* SetSkeletonProfile)(XnModuleNodeHandle hGenerator, XnSkeletonProfile eProfile);
1236  XnStatus (XN_CALLBACK_TYPE* SetJointActive)(XnModuleNodeHandle hGenerator, XnSkeletonJoint eJoint, XnBool bState);
1237  XnBool (XN_CALLBACK_TYPE* IsJointActive)(XnModuleNodeHandle hGenerator, XnSkeletonJoint eJoint);
1238  XnStatus (XN_CALLBACK_TYPE* RegisterToJointConfigurationChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback);
1239  void (XN_CALLBACK_TYPE* UnregisterFromJointConfigurationChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1240  XnStatus (XN_CALLBACK_TYPE* EnumerateActiveJoints)(XnModuleNodeHandle hGenerator, XnSkeletonJoint* pJoints, XnUInt16* pnJoints);
1244  XnBool (XN_CALLBACK_TYPE* IsTracking)(XnModuleNodeHandle hGenerator, XnUserID user);
1245  XnBool (XN_CALLBACK_TYPE* IsCalibrated)(XnModuleNodeHandle hGenerator, XnUserID user);
1246  XnBool (XN_CALLBACK_TYPE* IsCalibrating)(XnModuleNodeHandle hGenerator, XnUserID user);
1247  XnStatus (XN_CALLBACK_TYPE* RequestCalibration)(XnModuleNodeHandle hGenerator, XnUserID user, XnBool bForce);
1248  XnStatus (XN_CALLBACK_TYPE* AbortCalibration)(XnModuleNodeHandle hGenerator, XnUserID user);
1249  XnStatus (XN_CALLBACK_TYPE* SaveCalibrationData)(XnModuleNodeHandle hGenerator, XnUserID user, XnUInt32 nSlot);
1250  XnStatus (XN_CALLBACK_TYPE* LoadCalibrationData)(XnModuleNodeHandle hGenerator, XnUserID user, XnUInt32 nSlot);
1251  XnStatus (XN_CALLBACK_TYPE* ClearCalibrationData)(XnModuleNodeHandle hGenerator, XnUInt32 nSlot);
1252  XnBool (XN_CALLBACK_TYPE* IsCalibrationData)(XnModuleNodeHandle hGenerator, XnUInt32 nSlot);
1253  XnStatus (XN_CALLBACK_TYPE* StartTracking)(XnModuleNodeHandle hGenerator, XnUserID user);
1254  XnStatus (XN_CALLBACK_TYPE* StopTracking)(XnModuleNodeHandle hGenerator, XnUserID user);
1255  XnStatus (XN_CALLBACK_TYPE* Reset)(XnModuleNodeHandle hGenerator, XnUserID user);
1256  XnBool (XN_CALLBACK_TYPE* NeedPoseForCalibration)(XnModuleNodeHandle hGenerator);
1257  XnStatus (XN_CALLBACK_TYPE* GetCalibrationPose)(XnModuleNodeHandle hGenerator, XnChar* strPose);
1258  XnStatus (XN_CALLBACK_TYPE* SetSmoothing)(XnModuleNodeHandle hGenerator, XnFloat fSmoothingFactor);
1259  XnStatus (XN_CALLBACK_TYPE* RegisterCalibrationCallbacks)(XnModuleNodeHandle hGenerator, XnModuleCalibrationStart CalibrationStartCB, XnModuleCalibrationEnd CalibrationEndCB, void* pCookie, XnCallbackHandle* phCallback);
1260  void (XN_CALLBACK_TYPE* UnregisterCalibrationCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1261 
1262  XnStatus (XN_CALLBACK_TYPE* SaveCalibrationDataToFile)(XnModuleNodeHandle hGenerator, XnUserID user, const XnChar* strFileName);
1263  XnStatus (XN_CALLBACK_TYPE* LoadCalibrationDataFromFile)(XnModuleNodeHandle hGenerator, XnUserID user, const XnChar* strFileName);
1264 
1265  XnStatus (XN_CALLBACK_TYPE* RegisterToCalibrationInProgress)(XnModuleNodeHandle hGenerator, XnModuleCalibrationInProgress CalibrationInProgressCB, void* pCookie, XnCallbackHandle* phCallback);
1266  void (XN_CALLBACK_TYPE* UnregisterFromCalibrationInProgress)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1267  XnStatus (XN_CALLBACK_TYPE* RegisterToCalibrationComplete)(XnModuleNodeHandle hGenerator, XnModuleCalibrationComplete CalibrationCompleteCB, void* pCookie, XnCallbackHandle* phCallback);
1268  void (XN_CALLBACK_TYPE* UnregisterFromCalibrationComplete)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1269 
1270  XnStatus (XN_CALLBACK_TYPE* RegisterToCalibrationStart)(XnModuleNodeHandle hGenerator, XnModuleCalibrationStart handler, void* pCookie, XnCallbackHandle* phCallback);
1271  void (XN_CALLBACK_TYPE* UnregisterFromCalibrationStart)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1273 
1275 {
1276  XnUInt32 (XN_CALLBACK_TYPE* GetNumberOfPoses)(XnModuleNodeHandle hGenerator);
1277  XnStatus (XN_CALLBACK_TYPE* GetAvailablePoses)(XnModuleNodeHandle hGenerator, XnChar** pstrPoses, XnUInt32* pnPoses);
1278  XnStatus (XN_CALLBACK_TYPE* StartPoseDetection)(XnModuleNodeHandle hGenerator, const XnChar* strPose, XnUserID user);
1279  XnStatus (XN_CALLBACK_TYPE* StopPoseDetection)(XnModuleNodeHandle hGenerator, XnUserID user);
1280  XnStatus (XN_CALLBACK_TYPE* RegisterToPoseCallbacks)(XnModuleNodeHandle hGenerator, XnModulePoseDetectionCallback StartPoseCB, XnModulePoseDetectionCallback EndCB, void* pCookie, XnCallbackHandle* phCallback);
1281  void (XN_CALLBACK_TYPE* UnregisterFromPoseCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1282 
1283  XnStatus (XN_CALLBACK_TYPE* GetAllAvailablePoses)(XnModuleNodeHandle hGenerator, XnChar** pstrPoses, XnUInt32 nNameLength, XnUInt32* pnPoses);
1284 
1285  XnStatus (XN_CALLBACK_TYPE* RegisterToPoseDetectionInProgress)(XnModuleNodeHandle hGenerator, XnModulePoseDetectionInProgressCallback PoseProgressCB, void* pCookie, XnCallbackHandle* phCallback);
1286  void (XN_CALLBACK_TYPE* UnregisterFromPoseDetectionInProgress)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1287 
1288  XnStatus (XN_CALLBACK_TYPE* RegisterToPoseDetected)(XnModuleNodeHandle hGenerator, XnModulePoseDetectionCallback handler, void* pCookie, XnCallbackHandle* phCallback);
1289  void (XN_CALLBACK_TYPE* UnregisterFromPoseDetected)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1290  XnStatus (XN_CALLBACK_TYPE* RegisterToOutOfPose)(XnModuleNodeHandle hGenerator, XnModulePoseDetectionCallback handler, void* pCookie, XnCallbackHandle* phCallback);
1291  void (XN_CALLBACK_TYPE* UnregisterFromOutOfPose)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1292 
1293  XnStatus (XN_CALLBACK_TYPE* StopSinglePoseDetection)(XnModuleNodeHandle hGenerator, XnUserID user, const XnChar* strPose);
1295 
1298 {
1300 
1301  XnUInt16 (XN_CALLBACK_TYPE* GetNumberOfUsers)(XnModuleNodeHandle hGenerator);
1302  XnStatus (XN_CALLBACK_TYPE* GetUsers)(XnModuleNodeHandle hGenerator, XnUserID* pUsers, XnUInt16* pnUsers);
1303  XnStatus (XN_CALLBACK_TYPE* GetCoM)(XnModuleNodeHandle hGenerator, XnUserID user, XnPoint3D* pCoM);
1304  XnStatus (XN_CALLBACK_TYPE* GetUserPixels)(XnModuleNodeHandle hGenerator, XnUserID user, XnSceneMetaData* pScene);
1305  XnStatus (XN_CALLBACK_TYPE* RegisterUserCallbacks)(XnModuleNodeHandle hGenerator, XnModuleUserHandler NewUserCB, XnModuleUserHandler LostUserCB, void* pCookie, XnCallbackHandle* phCallback);
1306  void (XN_CALLBACK_TYPE* UnregisterUserCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1307 
1316 
1317  XnStatus (XN_CALLBACK_TYPE* RegisterToUserExit)(XnModuleNodeHandle hGenerator, XnModuleUserHandler UserExitCB, void* pCookie, XnCallbackHandle* phCallback);
1318  void (XN_CALLBACK_TYPE* UnregisterFromUserExit)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1319  XnStatus (XN_CALLBACK_TYPE* RegisterToUserReEnter)(XnModuleNodeHandle hGenerator, XnModuleUserHandler UserReEnterCB, void* pCookie, XnCallbackHandle* phCallback);
1320  void (XN_CALLBACK_TYPE* UnregisterFromUserReEnter)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1321 
1323 
1326 {
1328 
1329  XnUChar* (XN_CALLBACK_TYPE* GetAudioBuffer)(XnModuleNodeHandle hGenerator);
1330  XnUInt32 (XN_CALLBACK_TYPE* GetSupportedWaveOutputModesCount)(XnModuleNodeHandle hGenerator);
1331  XnStatus (XN_CALLBACK_TYPE* GetSupportedWaveOutputModes)(XnModuleNodeHandle hGenerator, XnWaveOutputMode* aSupportedModes, XnUInt32* pnCount);
1332  XnStatus (XN_CALLBACK_TYPE* SetWaveOutputMode)(XnModuleNodeHandle hGenerator, const XnWaveOutputMode* OutputMode);
1333  XnStatus (XN_CALLBACK_TYPE* GetWaveOutputMode)(XnModuleNodeHandle hGenerator, XnWaveOutputMode* OutputMode);
1335  void* pCookie, XnCallbackHandle* phCallback);
1336  void (XN_CALLBACK_TYPE* UnregisterFromWaveOutputModeChanges)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
1337 
1339 
1341 {
1343 
1344  XnCodecID (XN_CALLBACK_TYPE* GetCodecID)(XnModuleNodeHandle hCodec);
1345  XnStatus (XN_CALLBACK_TYPE* Init)(XnModuleNodeHandle hCodec, XnNodeHandle hNode);
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);
1348 
1350 
1352 {
1354 
1355  const XnChar* (XN_CALLBACK_TYPE* GetSupportedFormat)(XnModuleNodeHandle hScript);
1356  XnStatus (XN_CALLBACK_TYPE* LoadScriptFromFile)(XnModuleNodeHandle hScript, const XnChar* strFileName);
1357  XnStatus (XN_CALLBACK_TYPE* LoadScriptFromString)(XnModuleNodeHandle hScript, const XnChar* strScript);
1358  XnStatus (XN_CALLBACK_TYPE* Run)(XnModuleNodeHandle hScript, XnNodeInfoList* pCreatedNodes, XnEnumerationErrors* pErrors);
1359 
1361 
1362 #endif // __XN_MODULE_INTERFACE_H__
Definition: XnTypes.h:506
XnStatus(* GetGeneralProperty)(XnModuleNodeHandle hInstance, const XnChar *strName, XnUInt32 nBufferSize, void *pBuffer)
Definition: XnModuleInterface.h:359
struct XnModuleAudioGeneratorInterface XnModuleAudioGeneratorInterface
XnUInt32(* GetSupportedWaveOutputModesCount)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1330
void(* XnModuleStateChangedHandler)(void *pCookie)
Definition: XnModuleInterface.h:79
XnStatus(* SetCropping)(XnModuleNodeHandle hGenerator, const XnCropping *pCropping)
Definition: XnModuleInterface.h:823
const XnLabel *(* GetLabelMap)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1200
XnBool(* GetLockState)(XnModuleNodeHandle hInstance)
Definition: XnModuleInterface.h:209
XnStatus(* GetFloor)(XnModuleNodeHandle hGenerator, XnPlane3D *pPlane)
Definition: XnModuleInterface.h:1201
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:722
XnUInt32 XnUserID
Definition: XnTypes.h:549
XnBool(* IsViewPointSupported)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition: XnModuleInterface.h:470
XnStatus(* RegisterToJointConfigurationChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1238
XnModuleMirrorInterface * pMirrorInterface
Definition: XnModuleInterface.h:695
XnStatus(* GetNumFrames)(XnModuleNodeHandle hInstance, const XnChar *strNodeName, XnUInt32 *pnFrames)
Definition: XnModuleInterface.h:781
struct XnModuleImageGeneratorInterface XnModuleImageGeneratorInterface
XnStatus(* SetOutputStream)(XnModuleNodeHandle hInstance, void *pStreamToken, XnRecorderOutputStreamInterface *pStream)
Definition: XnModuleInterface.h:720
XnBool(* IsGestureProgressSupported)(XnModuleNodeHandle hGenerator, const XnChar *strGesture)
Definition: XnModuleInterface.h:1179
Definition: XnModuleInterface.h:266
XnBool(* IsCapabilitySupported)(XnModuleNodeHandle hInstance, const XnChar *strCapabilityName)
Definition: XnModuleInterface.h:332
struct XnModuleGeneratorInterface XnModuleGeneratorInterface
void(* XnModuleGestureReadyForNextIntermediateStage)(const XnChar *strGesture, const XnPoint3D *pPosition, void *pCookie)
Definition: XnModuleInterface.h:96
void(* UnregisterGestureCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1181
void * XnModuleNodeHandle
Definition: XnTypes.h:221
XnUInt32(* GetBytesPerPixel)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:973
struct XnModuleCodecInterface XnModuleCodecInterface
void(* StopNotifications)(XnModuleNodeHandle hInstance)
Definition: XnModuleInterface.h:190
struct XnEnumerationErrors XnEnumerationErrors
Definition: XnTypes.h:216
XnStatus(* GetRealProperty)(XnModuleNodeHandle hInstance, const XnChar *strName, XnDouble *pdValue)
Definition: XnModuleInterface.h:357
struct XnModuleDeviceIdentificationInterface XnModuleDeviceIdentificationInterface
XnStatus(* InitNotifications)(XnModuleNodeHandle hInstance, XnNodeNotifications *pNotifications, void *pCookie)
Definition: XnModuleInterface.h:189
XnModuleAlternativeViewPointInterface * pAlternativeViewPointInterface
Definition: XnModuleInterface.h:696
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:1353
void(* XnModulePoseDetectionInProgressCallback)(const XnChar *strPose, XnUserID user, XnPoseDetectionStatus poseError, void *pCookie)
Definition: XnModuleInterface.h:106
Definition: XnModuleInterface.h:324
struct XnModuleLockAwareInterface XnModuleLockAwareInterface
XnStatus(XN_C_DECL * XnModuleGetExportedNodesEntryPointsPtr)(XnModuleGetExportedInterfacePtr *aEntryPoints, XnUInt32 nCount)
Definition: XnModuleInterface.h:66
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:1299
struct XnModuleProductionNodeInterface XnModuleProductionNodeInterface
XnStatus(* RegisterToHandTouchingFOVEdge)(XnModuleNodeHandle hGenerator, XnModuleHandTouchingFOVEdge, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1209
XnStatus(* GetCropping)(XnModuleNodeHandle hGenerator, XnCropping *pCropping)
Definition: XnModuleInterface.h:831
XnStatus(* GetSkeletonJoint)(XnModuleNodeHandle hGenerator, XnUserID user, XnSkeletonJoint eJoint, XnSkeletonJointTransformation *pJoint)
Definition: XnModuleInterface.h:1241
XnStatus(* StopTracking)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition: XnModuleInterface.h:1254
void(* Recorder)(struct XnModuleRecorderInterface *pInterface)
Definition: XnModuleInterface.h:177
XnStatus(* RegisterCalibrationCallbacks)(XnModuleNodeHandle hGenerator, XnModuleCalibrationStart CalibrationStartCB, XnModuleCalibrationEnd CalibrationEndCB, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1259
Definition: XnTypes.h:164
XnPixelFormat(* GetPixelFormat)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1131
Definition: XnModuleInterface.h:815
XnStatus(* RegisterToNewDataAvailable)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:644
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:1327
struct XnModuleCroppingInterface XnModuleCroppingInterface
void(* UnregisterHandCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1218
void(* User)(struct XnModuleUserGeneratorInterface *pInterface)
Definition: XnModuleInterface.h:172
XnStatus(* SetSmoothing)(XnModuleNodeHandle hGenerator, XnFloat fSmoothingFactor)
Definition: XnModuleInterface.h:1258
XnUInt32(* GetSupportedUserPositionsCount)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:990
void(* UnregisterFromFieldOfViewChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1088
XnStatus(* RegisterToPixelFormatChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1141
XnPlayerSeekOrigin
Definition: XnTypes.h:534
XnModuleUnloadPtr pUnloadFunc
Definition: XnModuleInterface.h:72
void(* UnregisterFromJointConfigurationChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1239
XnStatus(* GetErrorState)(XnModuleNodeHandle hInstance)
Definition: XnModuleInterface.h:241
XnUInt8 *(* GetImageMap)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1106
XnStatus(* GetSkeletonJointOrientation)(XnModuleNodeHandle hGenerator, XnUserID user, XnSkeletonJoint eJoint, XnSkeletonJointOrientation *pJoint)
Definition: XnModuleInterface.h:1243
XnStatus(* SetWaveOutputMode)(XnModuleNodeHandle hGenerator, const XnWaveOutputMode *OutputMode)
Definition: XnModuleInterface.h:1332
Definition: XnModuleInterface.h:459
XnStatus(* LoadScriptFromFile)(XnModuleNodeHandle hScript, const XnChar *strFileName)
Definition: XnModuleInterface.h:1356
XnBool(* CanFrameSyncWith)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition: XnModuleInterface.h:537
XnStatus(* Create)(XnContext *pContext, const XnChar *strInstanceName, const XnChar *strCreationInfo, XnNodeInfoList *pNeededNodes, const XnChar *strConfigurationDir, XnModuleNodeHandle *phInstance)
Definition: XnModuleInterface.h:141
Definition: XnTypes.h:153
XnStatus(* RequestCalibration)(XnModuleNodeHandle hGenerator, XnUserID user, XnBool bForce)
Definition: XnModuleInterface.h:1247
void(* XnModuleCalibrationComplete)(XnUserID user, XnCalibrationStatus calibrationError, void *pCookie)
Definition: XnModuleInterface.h:102
Definition: XnModuleInterface.h:419
XnStatus(* ClearCalibrationData)(XnModuleNodeHandle hGenerator, XnUInt32 nSlot)
Definition: XnModuleInterface.h:1251
XnStatus(* RegisterToFrameSyncChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:571
XnStatus(* RegisterToCalibrationInProgress)(XnModuleNodeHandle hGenerator, XnModuleCalibrationInProgress CalibrationInProgressCB, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1265
XnBool(* IsCalibrating)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition: XnModuleInterface.h:1246
struct XnModuleHandTouchingFOVEdgeCapabilityInterface XnModuleHandTouchingFOVEdgeCapabilityInterface
XnStatus(* Reset)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition: XnModuleInterface.h:1255
XnStatus(* SetRawNodeNotifications)(XnModuleNodeHandle hInstance, void *pRawNodeNotificationsCookie, XnNodeNotifications *pRawNodeNotifications)
Definition: XnModuleInterface.h:757
void(* UnregisterFromEndOfFileReached)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:808
void(* UnregisterFromPoseDetectionInProgress)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1286
XnBool(* IsTracking)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition: XnModuleInterface.h:1244
XnPoseDetectionStatus
Definition: XnTypes.h:666
XnStatus(* GetUserPosition)(XnModuleNodeHandle hGenerator, XnUInt32 nIndex, XnBoundingBox3D *pPosition)
Definition: XnModuleInterface.h:1012
struct XnModuleDepthGeneratorInterface XnModuleDepthGeneratorInterface
XnStatus(* LoadCalibrationData)(XnModuleNodeHandle hGenerator, XnUserID user, XnUInt32 nSlot)
Definition: XnModuleInterface.h:1250
Definition: XnTypes.h:924
XnStatus(* RegisterToOutOfPose)(XnModuleNodeHandle hGenerator, XnModulePoseDetectionCallback handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1290
XnStatus(* RegisterToErrorStateChange)(XnModuleNodeHandle hInstance, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:252
XnStatus(* SetStringProperty)(XnModuleNodeHandle hInstance, const XnChar *strName, const XnChar *strValue)
Definition: XnModuleInterface.h:346
void(* UnregisterUserCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1306
XnStatus(* SetUserPosition)(XnModuleNodeHandle hGenerator, XnUInt32 nIndex, const XnBoundingBox3D *pPosition)
Definition: XnModuleInterface.h:999
Definition: XnModuleInterface.h:69
XnStatus(* GetAvailablePoses)(XnModuleNodeHandle hGenerator, XnChar **pstrPoses, XnUInt32 *pnPoses)
Definition: XnModuleInterface.h:1277
void(* XnModuleGestureRecognized)(const XnChar *strGesture, const XnPoint3D *pIDPosition, const XnPoint3D *pEndPosition, void *pCookie)
Definition: XnModuleInterface.h:93
XnStatus(* StartPoseDetection)(XnModuleNodeHandle hGenerator, const XnChar *strPose, XnUserID user)
Definition: XnModuleInterface.h:1278
Definition: XnModuleInterface.h:108
XnStatus(* GetPixelCoordinatesInViewPoint)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther, XnUInt32 x, XnUInt32 y, XnUInt32 *pAltX, XnUInt32 *pAltY)
Definition: XnModuleInterface.h:523
void(* XnModuleCalibrationEnd)(XnUserID user, XnBool bSuccess, void *pCookie)
Definition: XnModuleInterface.h:100
Definition: XnModuleInterface.h:710
void(* IR)(struct XnModuleIRGeneratorInterface *pInterface)
Definition: XnModuleInterface.h:171
void(* UnregisterFromCalibrationInProgress)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1266
Definition: XnModuleInterface.h:1340
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:1215
XnStatus(* RegisterToGestureChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1182
XnStatus(* RegisterToFieldOfViewChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1079
XnModuleExtendedSerializationInterface * pExtendedSerializationInterface
Definition: XnModuleInterface.h:361
void(* UnregisterFromOutOfPose)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1291
void(* XnModuleGestureIntermediateStageCompleted)(const XnChar *strGesture, const XnPoint3D *pPosition, void *pCookie)
Definition: XnModuleInterface.h:95
XnPowerLineFrequency
Definition: XnTypes.h:541
XnStatus(* EnumerateAllGestures)(XnModuleNodeHandle hGenerator, XnChar **pstrGestures, XnUInt32 nNameLength, XnUInt16 *nGestures)
Definition: XnModuleInterface.h:1186
XnNodeNotifications * pNodeNotifications
Definition: XnModuleInterface.h:723
void(* GetFieldOfView)(XnModuleNodeHandle hGenerator, XnFieldOfView *pFOV)
Definition: XnModuleInterface.h:1069
XnStatus(* StopTracking)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition: XnModuleInterface.h:1219
XnBool(* IsGenerating)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:605
XnModuleGeneralIntInterface * pGeneralIntInterface
Definition: XnModuleInterface.h:364
Definition: XnTypes.h:592
XnStatus(* RegisterToCalibrationStart)(XnModuleNodeHandle hGenerator, XnModuleCalibrationStart handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1270
Definition: XnTypes.h:489
XnStatus(* FrameSyncWith)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition: XnModuleInterface.h:545
XnStatus(* SaveCalibrationDataToFile)(XnModuleNodeHandle hGenerator, XnUserID user, const XnChar *strFileName)
Definition: XnModuleInterface.h:1262
XnModuleCroppingInterface * pCroppingInterface
Definition: XnModuleInterface.h:964
XnStatus(* EnumerateGestures)(XnModuleNodeHandle hGenerator, XnChar **pstrGestures, XnUInt16 *nGestures)
Definition: XnModuleInterface.h:1177
void(* Image)(struct XnModuleImageGeneratorInterface *pInterface)
Definition: XnModuleInterface.h:170
struct XnModuleIRGeneratorInterface XnModuleIRGeneratorInterface
XnStatus(* RegisterToMapOutputModeChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:952
const void *(* GetData)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:706
XnUInt32 XnStatus
Definition: XnStatus.h:33
XnUInt32(* GetNumberOfPoses)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1276
void(* UnregisterFromPoseCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1281
XnStatus(* RegisterToPowerLineFrequencyChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:882
void(* XnModuleCalibrationStart)(XnUserID user, void *pCookie)
Definition: XnModuleInterface.h:99
XnStatus(* SetSkeletonProfile)(XnModuleNodeHandle hGenerator, XnSkeletonProfile eProfile)
Definition: XnModuleInterface.h:1235
void(* XnModulePoseDetectionCallback)(const XnChar *strPose, XnUserID user, void *pCookie)
Definition: XnModuleInterface.h:105
XnStatus(* CompressData)(XnModuleNodeHandle hCodec, const void *pSrc, XnUInt32 nSrcSize, void *pDst, XnUInt32 nDstSize, XnUInt *pnBytesWritten)
Definition: XnModuleInterface.h:1346
struct XnModuleAlternativeViewPointInterface XnModuleAlternativeViewPointInterface
void(* UnregisterFromCalibrationStart)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1271
XnUInt32(* GetFrameID)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:693
Definition: XnTypes.h:993
XnModuleSkeletonCapabilityInterface * pSkeletonInterface
Definition: XnModuleInterface.h:1311
void(* UnregisterCalibrationCallbacks)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1260
void(* UnregisterFromUserPositionChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1033
XnModuleMapGeneratorInterface * pMapInterface
Definition: XnModuleInterface.h:1198
XnStatus(* SetRealProperty)(XnModuleNodeHandle hInstance, const XnChar *strName, XnDouble dValue)
Definition: XnModuleInterface.h:345
XnUInt16(* GetNumberOfUsers)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1301
XnStatus(* SetMirror)(XnModuleNodeHandle hInstance, XnBool bMirror)
Definition: XnModuleInterface.h:427
void(* UnregisterFromWaveOutputModeChanges)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1336
Definition: XnTypes.h:603
XnStatus(* RegisterToGestureIntermediateStageCompleted)(XnModuleNodeHandle hGenerator, XnModuleGestureIntermediateStageCompleted GestureIntermediateStageCompletedCB, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1188
XnModuleHandTouchingFOVEdgeCapabilityInterface * pHandTouchingFOVEdgeInterface
Definition: XnModuleInterface.h:1224
XnBool(* IsGestureAvailable)(XnModuleNodeHandle hInstance, const XnChar *strGesture)
Definition: XnModuleInterface.h:1178
XnStatus(* SetIntProperty)(XnModuleNodeHandle hInstance, const XnChar *strName, XnUInt64 nValue)
Definition: XnModuleInterface.h:344
XnUInt16 XnDepthPixel
Definition: XnTypes.h:278
void(* Codec)(struct XnModuleCodecInterface *pInterface)
Definition: XnModuleInterface.h:179
XnModuleMapGeneratorInterface * pMapInterface
Definition: XnModuleInterface.h:1160
XnStatus(* GetMapOutputMode)(XnModuleNodeHandle hGenerator, XnMapOutputMode *pOutputMode)
Definition: XnModuleInterface.h:941
XnIRPixel *(* GetIRMap)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1163
XnModuleLoadPtr pLoadFunc
Definition: XnModuleInterface.h:71
Definition: XnModuleInterface.h:1325
XnStatus(* GetVendorSpecificData)(XnModuleNodeHandle hInstance, XnChar *strBuffer, XnUInt32 *pnBufferSize)
Definition: XnModuleInterface.h:394
void(XN_C_DECL * XnModuleUnloadPtr)()
Definition: XnModuleInterface.h:64
XnStatus(* RegisterToPoseDetected)(XnModuleNodeHandle hGenerator, XnModulePoseDetectionCallback handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1288
const XnChar *(* GetSupportedFormat)(XnModuleNodeHandle hScript)
Definition: XnModuleInterface.h:1355
struct XnModuleSkeletonCapabilityInterface XnModuleSkeletonCapabilityInterface
void(* UnregisterFromPixelFormatChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1150
void(* XnModuleHandUpdate)(XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, void *pCookie)
Definition: XnModuleInterface.h:89
XnStatus(* RegisterToUserExit)(XnModuleNodeHandle hGenerator, XnModuleUserHandler UserExitCB, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1317
XnStatus(XN_C_DECL * XnModuleLoadPtr)()
Definition: XnModuleInterface.h:63
void(* ProductionNode)(struct XnModuleProductionNodeInterface *pInterface)
Definition: XnModuleInterface.h:165
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:810
XnStatus(* Run)(XnModuleNodeHandle hScript, XnNodeInfoList *pCreatedNodes, XnEnumerationErrors *pErrors)
Definition: XnModuleInterface.h:1358
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:413
XnStatus(* SetViewPoint)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition: XnModuleInterface.h:478
Definition: XnTypes.h:468
struct XnModuleGeneralIntInterface XnModuleGeneralIntInterface
struct XnInternalNodeData * XnNodeHandle
Definition: XnTypes.h:84
XnBool(* IsMirrored)(XnModuleNodeHandle hInstance)
Definition: XnModuleInterface.h:434
XnModuleFrameSyncInterface * pFrameSyncInterface
Definition: XnModuleInterface.h:698
XnModuleErrorStateInterface * pErrorStateInterface
Definition: XnModuleInterface.h:363
XnStatus(* RegisterToUserPositionChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1023
XnStatus(* GetCalibrationPose)(XnModuleNodeHandle hGenerator, XnChar *strPose)
Definition: XnModuleInterface.h:1257
Definition: XnModuleInterface.h:1098
struct XnModuleGestureGeneratorInterface XnModuleGestureGeneratorInterface
struct XnModulePlayerInterface XnModulePlayerInterface
void(* StopGenerating)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:613
XnStatus(* GetUsers)(XnModuleNodeHandle hGenerator, XnUserID *pUsers, XnUInt16 *pnUsers)
Definition: XnModuleInterface.h:1302
void * pObsolete1
Definition: XnModuleInterface.h:697
XnBool(* IsCalibrated)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition: XnModuleInterface.h:1245
XnStatus(* RegisterToLockChange)(XnModuleNodeHandle hInstance, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:220
XnStatus(* RegisterToUserReEnter)(XnModuleNodeHandle hGenerator, XnModuleUserHandler UserReEnterCB, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1319
XnBool(* IsPixelFormatSupported)(XnModuleNodeHandle hGenerator, XnPixelFormat Format)
Definition: XnModuleInterface.h:1116
struct XnNodeInfoList XnNodeInfoList
Definition: XnTypes.h:189
XnStatus(* SetSmoothing)(XnModuleNodeHandle hGenerator, XnFloat fSmoothingFactor)
Definition: XnModuleInterface.h:1222
XnModulePoseDetectionCapabilityInterface * pPoseDetectionInterface
Definition: XnModuleInterface.h:1315
XnStatus(* Init)(XnModuleNodeHandle hCodec, XnNodeHandle hNode)
Definition: XnModuleInterface.h:1345
XnStatus(* DecompressData)(XnModuleNodeHandle hCodec, const void *pSrc, XnUInt32 nSrcSize, void *pDst, XnUInt32 nDstSize, XnUInt *pnBytesWritten)
Definition: XnModuleInterface.h:1347
void(* UnregisterFromLockChange)(XnModuleNodeHandle hInstance, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:230
Definition: XnTypes.h:1178
XnStatus(* SetLockState)(XnModuleNodeHandle hInstance, XnBool bLocked)
Definition: XnModuleInterface.h:202
XnStatus(* SetNodeNotifications)(XnModuleNodeHandle hInstance, void *pNodeNotificationsCookie, XnNodeNotifications *pNodeNotifications)
Definition: XnModuleInterface.h:754
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:901
Definition: XnModuleInterface.h:194
Definition: XnTypes.h:435
Definition: XnModuleInterface.h:1213
XnStatus(* SetMapOutputMode)(XnModuleNodeHandle hGenerator, const XnMapOutputMode *pOutputMode)
Definition: XnModuleInterface.h:932
XnUInt16 XnLabel
Definition: XnTypes.h:310
void(* UnregisterFromViewPointChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:511
void(* UnregisterFromErrorStateChange)(XnModuleNodeHandle hInstance, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:262
XnUInt32(XN_C_DECL * XnModuleGetExportedNodesCountPtr)()
Definition: XnModuleInterface.h:65
void(* UnregisterFromUserExit)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1318
XnGrayscale16Pixel XnIRPixel
Definition: XnTypes.h:307
void * pObsolete1
Definition: XnModuleInterface.h:811
Definition: XnModuleInterface.h:187
XnStatus(* EnumerateActiveJoints)(XnModuleNodeHandle hGenerator, XnSkeletonJoint *pJoints, XnUInt16 *pnJoints)
Definition: XnModuleInterface.h:1240
XnStatus(* ReadNext)(XnModuleNodeHandle hInstance)
Definition: XnModuleInterface.h:743
Definition: XnModuleInterface.h:726
XnStatus(* GetAllActiveGestures)(XnModuleNodeHandle hGenerator, XnChar **pstrGestures, XnUInt32 nNameLength, XnUInt16 *nGestures)
Definition: XnModuleInterface.h:1185
Definition: XnModuleInterface.h:234
XnStatus(* RegisterToGestureReadyForNextIntermediateStage)(XnModuleNodeHandle hGenerator, XnModuleGestureReadyForNextIntermediateStage ReadyForNextIntermediateStageCB, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1190
XnDepthPixel *(* GetDepthMap)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1051
XnStatus(* GetSupportedWaveOutputModes)(XnModuleNodeHandle hGenerator, XnWaveOutputMode *aSupportedModes, XnUInt32 *pnCount)
Definition: XnModuleInterface.h:1331
XnUChar *(* GetAudioBuffer)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1329
XnStatus(* SeekToTimeStamp)(XnModuleNodeHandle hInstance, XnInt64 nTimeOffset, XnPlayerSeekOrigin origin)
Definition: XnModuleInterface.h:769
void(* XnModuleHandCreate)(XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, void *pCookie)
Definition: XnModuleInterface.h:88
XnBool(* NeedPoseForCalibration)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1256
XnStatus(* GetIntProperty)(XnModuleNodeHandle hInstance, const XnChar *strName, XnUInt64 *pnValue)
Definition: XnModuleInterface.h:356
void(* Player)(struct XnModulePlayerInterface *pInterface)
Definition: XnModuleInterface.h:178
Definition: XnModuleInterface.h:896
XnBool(* IsJointAvailable)(XnModuleNodeHandle hGenerator, XnSkeletonJoint eJoint)
Definition: XnModuleInterface.h:1233
void * XnCallbackHandle
Definition: XnTypes.h:270
XnCalibrationStatus
Definition: XnTypes.h:685
Definition: XnTypes.h:480
struct XnModuleUserGeneratorInterface XnModuleUserGeneratorInterface
XnBool(* IsViewPointAs)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition: XnModuleInterface.h:486
XnStatus(* SetRepeat)(XnModuleNodeHandle hInstance, XnBool bRepeat)
Definition: XnModuleInterface.h:766
XnStatus(* LoadCalibrationDataFromFile)(XnModuleNodeHandle hGenerator, XnUserID user, const XnChar *strFileName)
Definition: XnModuleInterface.h:1263
XnUInt32 XnCodecID
Definition: XnTypes.h:842
XnStatus(* SeekToFrame)(XnModuleNodeHandle hInstance, const XnChar *strNodeName, XnInt32 nFrameOffset, XnPlayerSeekOrigin origin)
Definition: XnModuleInterface.h:772
struct XnModulePoseDetectionCapabilityInterface XnModulePoseDetectionCapabilityInterface
XnBool(* IsNewDataAvailable)(XnModuleNodeHandle hGenerator, XnUInt64 *pnTimestamp)
Definition: XnModuleInterface.h:663
void(* XnModuleUserHandler)(XnUserID user, void *pCookie)
Definition: XnModuleInterface.h:82
XnStatus(* GetStringProperty)(XnModuleNodeHandle hInstance, const XnChar *strName, XnChar *csValue, XnUInt32 nBufSize)
Definition: XnModuleInterface.h:358
XnBool(* IsEOF)(XnModuleNodeHandle hInstance)
Definition: XnModuleInterface.h:787
void(* XnModuleGestureProgress)(const XnChar *strGesture, const XnPoint3D *pPosition, XnFloat fProgress, void *pCookie)
Definition: XnModuleInterface.h:94
void(* UnregisterFromUserReEnter)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1320
XnUInt32(* GetSupportedMapOutputModesCount)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:910
XnStatus(* RegisterToCroppingChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:842
Definition: XnModuleInterface.h:1155
XnUInt64(* GetTimestamp)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:686
XnModuleMapGeneratorInterface * pMapInterface
Definition: XnModuleInterface.h:1103
XnStatus(* StopPoseDetection)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition: XnModuleInterface.h:1279
XnStatus(* GetDeviceName)(XnModuleNodeHandle hInstance, XnChar *strBuffer, XnUInt32 *pnBufferSize)
Definition: XnModuleInterface.h:381
struct XnModuleHandsGeneratorInterface XnModuleHandsGeneratorInterface
Definition: XnModuleInterface.h:1297
XnStatus(* GetWaveOutputMode)(XnModuleNodeHandle hGenerator, XnWaveOutputMode *OutputMode)
Definition: XnModuleInterface.h:1333
XnPowerLineFrequency(* GetPowerLineFrequency)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:871
void(* UnregisterFromValueChange)(XnModuleNodeHandle hGenerator, const XnChar *strCap, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:320
XnStatus(* StartTracking)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition: XnModuleInterface.h:1253
XnStatus(* RegisterGestureCallbacks)(XnModuleNodeHandle hGenerator, XnModuleGestureRecognized RecognizedCB, XnModuleGestureProgress ProgressCB, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1180
Definition: XnModuleInterface.h:982
XnModuleProductionNodeInterface * pProductionNodeInterface
Definition: XnModuleInterface.h:589
void(* MapGenerator)(struct XnModuleMapGeneratorInterface *pInterface)
Definition: XnModuleInterface.h:168
Definition: XnModuleInterface.h:1038
XnStatus(* Set)(XnModuleNodeHandle hGenerator, const XnChar *strCap, XnInt32 nValue)
Definition: XnModuleInterface.h:297
void(* GetDescription)(XnProductionNodeDescription *pDescription)
Definition: XnModuleInterface.h:116
Definition: XnModuleInterface.h:1196
XnModuleLockAwareInterface * pLockAwareInterface
Definition: XnModuleInterface.h:362
struct XnModuleAntiFlickerInterface XnModuleAntiFlickerInterface
XnStatus(* GetAllAvailablePoses)(XnModuleNodeHandle hGenerator, XnChar **pstrPoses, XnUInt32 nNameLength, XnUInt32 *pnPoses)
Definition: XnModuleInterface.h:1283
XnStatus(* SaveCalibrationData)(XnModuleNodeHandle hGenerator, XnUserID user, XnUInt32 nSlot)
Definition: XnModuleInterface.h:1249
void(* Device)(struct XnModuleDeviceInterface *pInterface)
Definition: XnModuleInterface.h:166
XnStatus(* SetJointActive)(XnModuleNodeHandle hGenerator, XnSkeletonJoint eJoint, XnBool bState)
Definition: XnModuleInterface.h:1236
void(* XnModuleGetExportedInterfacePtr)(XnModuleExportedProductionNodeInterface *pInterface)
Definition: XnModuleInterface.h:62
XnStatus(* StartTracking)(XnModuleNodeHandle hGenerator, const XnPoint3D *pPosition)
Definition: XnModuleInterface.h:1221
XnStatus(* UpdateData)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:672
void(* Gesture)(struct XnModuleGestureGeneratorInterface *pInterface)
Definition: XnModuleInterface.h:174
XnSkeletonJoint
Definition: XnTypes.h:614
Definition: XnModuleInterface.h:1170
XnModuleGeneratorInterface * pGeneratorInterface
Definition: XnModuleInterface.h:1172
XnStatus(* RegisterToViewPointChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:503
XnModuleProductionNodeInterface * pProductionNode
Definition: XnModuleInterface.h:1342
struct XnModuleExtendedSerializationInterface XnModuleExtendedSerializationInterface
void(XN_C_DECL * XnModuleGetOpenNIVersionPtr)(XnVersion *pVersion)
Definition: XnModuleInterface.h:67
const XnChar *(* GetSupportedFormat)(XnModuleNodeHandle hInstance)
Definition: XnModuleInterface.h:784
XnModuleUserPositionCapabilityInterface * pUserPositionInterface
Definition: XnModuleInterface.h:1093
XnStatus(* RegisterToCalibrationComplete)(XnModuleNodeHandle hGenerator, XnModuleCalibrationComplete CalibrationCompleteCB, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1267
Definition: XnTypes.h:576
XnStatus(* StopSinglePoseDetection)(XnModuleNodeHandle hGenerator, XnUserID user, const XnChar *strPose)
Definition: XnModuleInterface.h:1293
XnStatus(* StopTrackingAll)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1220
void(* UnregisterFromNewDataAvailable)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:654
XnStatus(* RegisterToEndOfFileReached)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:798
XnStatus(* SetPowerLineFrequency)(XnModuleNodeHandle hGenerator, XnPowerLineFrequency nFrequency)
Definition: XnModuleInterface.h:864
void(* Depth)(struct XnModuleDepthGeneratorInterface *pInterface)
Definition: XnModuleInterface.h:169
Definition: XnTypes.h:852
XnModuleGetOpenNIVersionPtr pGetVersionFunc
Definition: XnModuleInterface.h:75
XnStatus(* RegisterToGenerationRunningChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:624
Definition: XnTypes.h:458
XnStatus(* GetSerialNumber)(XnModuleNodeHandle hInstance, XnChar *strBuffer, XnUInt32 *pnBufferSize)
Definition: XnModuleInterface.h:407
XnUInt32(* GetDataSize)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:679
void(* UnregisterFromPowerLineFrequencyChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:892
XnModuleDeviceIdentificationInterface * pDeviceIdentificationInterface
Definition: XnModuleInterface.h:415
void(* XnModuleCalibrationInProgress)(XnUserID user, XnCalibrationStatus calibrationError, void *pCookie)
Definition: XnModuleInterface.h:101
Definition: XnModuleInterface.h:584
XnStatus(* GetUserPixels)(XnModuleNodeHandle hGenerator, XnUserID user, XnSceneMetaData *pScene)
Definition: XnModuleInterface.h:1304
XnSkeletonProfile
Definition: XnTypes.h:647
XnStatus(* RemoveGesture)(XnModuleNodeHandle hGenerator, const XnChar *strGesture)
Definition: XnModuleInterface.h:1175
Definition: XnModuleInterface.h:368
XnStatus(* RegisterToPoseCallbacks)(XnModuleNodeHandle hGenerator, XnModulePoseDetectionCallback StartPoseCB, XnModulePoseDetectionCallback EndCB, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1280
XnBool(* IsProfileAvailable)(XnModuleNodeHandle hGenerator, XnSkeletonProfile eProfile)
Definition: XnModuleInterface.h:1234
XnStatus(* EnumerateProductionTrees)(XnContext *pContext, XnNodeInfoList *pNodesList, XnEnumerationErrors *pErrors)
Definition: XnModuleInterface.h:126
XnStatus(* TellFrame)(XnModuleNodeHandle hInstance, const XnChar *strNodeName, XnUInt32 *pnFrame)
Definition: XnModuleInterface.h:778
XnPixelFormat
Definition: XnTypes.h:514
struct XnModuleMapGeneratorInterface XnModuleMapGeneratorInterface
XnStatus(* RegisterToValueChange)(XnModuleNodeHandle hGenerator, const XnChar *strCap, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:309
Definition: XnModuleInterface.h:1351
void(* Hands)(struct XnModuleHandsGeneratorInterface *pInterace)
Definition: XnModuleInterface.h:173
XnStatus(* RegisterUserCallbacks)(XnModuleNodeHandle hGenerator, XnModuleUserHandler NewUserCB, XnModuleUserHandler LostUserCB, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1305
struct XnModuleScriptNodeInterface XnModuleScriptNodeInterface
void(* Scene)(struct XnModuleSceneAnalyzerInterface *pInterface)
Definition: XnModuleInterface.h:175
void(* UnregisterFromFrameSyncChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:579
void(* XnModuleHandDestroy)(XnUserID user, XnFloat fTime, void *pCookie)
Definition: XnModuleInterface.h:90
Definition: XnTypes.h:563
void(* Generator)(struct XnModuleGeneratorInterface *pInterface)
Definition: XnModuleInterface.h:167
XnStatus(* RegisterToMirrorChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:445
XnBool(* IsCalibrationData)(XnModuleNodeHandle hGenerator, XnUInt32 nSlot)
Definition: XnModuleInterface.h:1252
XnModuleMapGeneratorInterface * pMapInterface
Definition: XnModuleInterface.h:1043
XnStatus(* SetInputStream)(XnModuleNodeHandle hInstance, void *pStreamCookie, XnPlayerInputStreamInterface *pStream)
Definition: XnModuleInterface.h:736
XnModuleAntiFlickerInterface * pAntiFlickerInterface
Definition: XnModuleInterface.h:975
void(* UnregisterFromGestureChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1183
XnStatus(* RegisterHandCallbacks)(XnModuleNodeHandle hGenerator, XnModuleHandCreate CreateCB, XnModuleHandUpdate UpdateCB, XnModuleHandDestroy DestroyCB, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1217
void(* Audio)(struct XnModuleAudioGeneratorInterface *pInterface)
Definition: XnModuleInterface.h:176
struct XnModuleFrameSyncInterface XnModuleFrameSyncInterface
XnDirection
Definition: XnTypes.h:701
XnModuleGetExportedNodesCountPtr pGetCountFunc
Definition: XnModuleInterface.h:73
struct XnModuleErrorStateInterface XnModuleErrorStateInterface
struct XnModuleExportedProductionNodeInterface XnModuleExportedProductionNodeInterface
void(* UnregisterFromMapOutputModeChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:962
XnStatus(* Get)(XnModuleNodeHandle hGenerator, const XnChar *strCap, XnInt32 *pnValue)
Definition: XnModuleInterface.h:288
void(* UnregisterFromPoseDetected)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1289
void(* UnregisterFromGenerationRunningChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:634
void(* UnregisterFromCalibrationComplete)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1268
struct XnContext XnContext
Definition: XnTypes.h:79
Definition: XnModuleInterface.h:856
XnStatus(* StartGenerating)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:597
void(* Destroy)(XnModuleNodeHandle hInstance)
Definition: XnModuleInterface.h:154
XnCodecID(* GetCodecID)(XnModuleNodeHandle hCodec)
Definition: XnModuleInterface.h:1344
XnStatus(* StopFrameSyncWith)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition: XnModuleInterface.h:553
struct XnModuleDeviceInterface XnModuleDeviceInterface
struct XnOpenNIModuleInterface XnOpenNIModuleInterface
XnModuleGetExportedNodesEntryPointsPtr pGetEntryPointsFunc
Definition: XnModuleInterface.h:74
XnStatus(* SetGeneralProperty)(XnModuleNodeHandle hInstance, const XnChar *strName, XnUInt32 nBufferSize, const void *pBuffer)
Definition: XnModuleInterface.h:347
XnStatus(* AddGesture)(XnModuleNodeHandle hGenerator, const XnChar *strGesture, XnBoundingBox3D *pArea)
Definition: XnModuleInterface.h:1174
XnDepthPixel(* GetDeviceMaxDepth)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:1059
union XnModuleExportedProductionNodeInterface::@2 GetInterface
XnStatus(* RegisterToWaveOutputModeChanges)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1334
XnStatus(* TellTimestamp)(XnModuleNodeHandle hInstance, XnUInt64 *pnTimestamp)
Definition: XnModuleInterface.h:775
XnBool(* IsFrameSyncedWith)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition: XnModuleInterface.h:561
void(* UnregisterFromGestureReadyForNextIntermediateStage)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1191
void(* XnModuleHandTouchingFOVEdge)(XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, XnDirection eDir, void *pCookie)
Definition: XnModuleInterface.h:85
Definition: XnModuleInterface.h:1274
XnStatus(* RegisterToPoseDetectionInProgress)(XnModuleNodeHandle hGenerator, XnModulePoseDetectionInProgressCallback PoseProgressCB, void *pCookie, XnCallbackHandle *phCallback)
Definition: XnModuleInterface.h:1285
XnStatus(* GetRange)(XnModuleNodeHandle hGenerator, const XnChar *strCap, XnInt32 *pnMin, XnInt32 *pnMax, XnInt32 *pnStep, XnInt32 *pnDefault, XnBool *pbIsAutoSupported)
Definition: XnModuleInterface.h:279
void(* General)(void *pInterface)
Definition: XnModuleInterface.h:182
XnStatus(* AbortCalibration)(XnModuleNodeHandle hGenerator, XnUserID user)
Definition: XnModuleInterface.h:1248
XnStatus(* SetPixelFormat)(XnModuleNodeHandle hGenerator, XnPixelFormat Format)
Definition: XnModuleInterface.h:1124
Definition: XnModuleInterface.h:1207
void(* UnregisterFromCroppingChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:852
XnStatus(* GetCoM)(XnModuleNodeHandle hGenerator, XnUserID user, XnPoint3D *pCoM)
Definition: XnModuleInterface.h:1303
XnStatus(* GetSkeletonJointPosition)(XnModuleNodeHandle hGenerator, XnUserID user, XnSkeletonJoint eJoint, XnSkeletonJointPosition *pJoint)
Definition: XnModuleInterface.h:1242
Definition: XnModuleInterface.h:411
XnStatus(* LoadScriptFromString)(XnModuleNodeHandle hScript, const XnChar *strScript)
Definition: XnModuleInterface.h:1357
struct XnModuleUserPositionCapabilityInterface XnModuleUserPositionCapabilityInterface
XnStatus(* GetActiveGestures)(XnModuleNodeHandle hGenerator, XnChar **pstrGestures, XnUInt16 *nGestures)
Definition: XnModuleInterface.h:1176
void(* UnregisterFromHandTouchingFOVEdge)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1210
XnBool(* IsJointActive)(XnModuleNodeHandle hGenerator, XnSkeletonJoint eJoint)
Definition: XnModuleInterface.h:1237
void(* UnregisterFromGestureIntermediateStageCompleted)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:1189
Definition: XnModuleInterface.h:527
struct XnModuleSceneAnalyzerInterface XnModuleSceneAnalyzerInterface
XnStatus(* ResetViewPoint)(XnModuleNodeHandle hGenerator)
Definition: XnModuleInterface.h:493
void(* UnregisterFromMirrorChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition: XnModuleInterface.h:455
void(* Script)(struct XnModuleScriptNodeInterface *pInterface)
Definition: XnModuleInterface.h:180
struct XnModuleMirrorInterface XnModuleMirrorInterface
struct XnModuleRecorderInterface XnModuleRecorderInterface
Definition: XnModuleInterface.h:1231
XnStatus(* GetSupportedMapOutputModes)(XnModuleNodeHandle hGenerator, XnMapOutputMode *aModes, XnUInt32 *pnCount)
Definition: XnModuleInterface.h:922