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
63typedef XnStatus (XN_C_DECL* XnModuleLoadPtr)();
64typedef void (XN_C_DECL* XnModuleUnloadPtr)();
65typedef XnUInt32 (XN_C_DECL* XnModuleGetExportedNodesCountPtr)();
66typedef XnStatus (XN_C_DECL* XnModuleGetExportedNodesEntryPointsPtr)(XnModuleGetExportedInterfacePtr* aEntryPoints, XnUInt32 nCount);
67typedef void (XN_C_DECL* XnModuleGetOpenNIVersionPtr)(XnVersion* pVersion);
68
70{
77
79typedef void (XN_CALLBACK_TYPE* XnModuleStateChangedHandler)(void* pCookie);
80
81// User
82typedef void (XN_CALLBACK_TYPE* XnModuleUserHandler)(XnUserID user, void* pCookie);
83
84// Hand touching FOV edge
85typedef void (XN_CALLBACK_TYPE* XnModuleHandTouchingFOVEdge)(XnUserID user, const XnPoint3D* pPosition, XnFloat fTime, XnDirection eDir, void* pCookie);
86
87// UI
88typedef void (XN_CALLBACK_TYPE* XnModuleHandCreate)(XnUserID user, const XnPoint3D* pPosition, XnFloat fTime, void* pCookie);
89typedef void (XN_CALLBACK_TYPE* XnModuleHandUpdate)(XnUserID user, const XnPoint3D* pPosition, XnFloat fTime, void* pCookie);
90typedef void (XN_CALLBACK_TYPE* XnModuleHandDestroy)(XnUserID user, XnFloat fTime, void* pCookie);
91
92// Gesture Module
93typedef void (XN_CALLBACK_TYPE* XnModuleGestureRecognized)(const XnChar* strGesture, const XnPoint3D* pIDPosition, const XnPoint3D* pEndPosition, void* pCookie);
94typedef void (XN_CALLBACK_TYPE* XnModuleGestureProgress)(const XnChar* strGesture, const XnPoint3D* pPosition, XnFloat fProgress, void* pCookie);
95typedef void (XN_CALLBACK_TYPE* XnModuleGestureIntermediateStageCompleted)(const XnChar* strGesture, const XnPoint3D* pPosition, void* pCookie);
96typedef void (XN_CALLBACK_TYPE* XnModuleGestureReadyForNextIntermediateStage)(const XnChar* strGesture, const XnPoint3D* pPosition, void* pCookie);
97
98// Skeleton
99typedef void (XN_CALLBACK_TYPE* XnModuleCalibrationStart)(XnUserID user, void* pCookie);
100typedef void (XN_CALLBACK_TYPE* XnModuleCalibrationEnd)(XnUserID user, XnBool bSuccess, void* pCookie);
101typedef void (XN_CALLBACK_TYPE* XnModuleCalibrationInProgress)(XnUserID user, XnCalibrationStatus calibrationError, void* pCookie);
102typedef void (XN_CALLBACK_TYPE* XnModuleCalibrationComplete)(XnUserID user, XnCalibrationStatus calibrationError, void* pCookie);
103
104// Pose Detection
105typedef void (XN_CALLBACK_TYPE* XnModulePoseDetectionCallback)(const XnChar* strPose, XnUserID user, void* pCookie);
106typedef void (XN_CALLBACK_TYPE* XnModulePoseDetectionInProgressCallback)(const XnChar* strPose, XnUserID user, XnPoseDetectionStatus poseError, void* pCookie);
107
109{
115 void (XN_CALLBACK_TYPE* GetDescription)
116 (XnProductionNodeDescription* pDescription);
117
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);
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
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
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
625 void* pCookie, XnCallbackHandle* phCallback);
626
634 (XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
635
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
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
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
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
883 void* pCookie, XnCallbackHandle* phCallback);
884
892 (XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback);
893
895
897{
902
909 XnUInt32 (XN_CALLBACK_TYPE* GetSupportedMapOutputModesCount)
910 (XnModuleNodeHandle hGenerator);
911
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
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
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
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{
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__
void(*) XnModuleCalibrationComplete(XnUserID user, XnCalibrationStatus calibrationError, void *pCookie)
Definition XnModuleInterface.h:102
void(*) XnModuleStateChangedHandler(void *pCookie)
Definition XnModuleInterface.h:79
XnStatus(XN_C_DECL *) XnModuleGetExportedNodesEntryPointsPtr(XnModuleGetExportedInterfacePtr *aEntryPoints, XnUInt32 nCount)
Definition XnModuleInterface.h:66
void(*) XnModuleHandDestroy(XnUserID user, XnFloat fTime, void *pCookie)
Definition XnModuleInterface.h:90
void(*) XnModuleHandUpdate(XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, void *pCookie)
Definition XnModuleInterface.h:89
void(*) XnModuleGestureReadyForNextIntermediateStage(const XnChar *strGesture, const XnPoint3D *pPosition, void *pCookie)
Definition XnModuleInterface.h:96
void(*) XnModulePoseDetectionInProgressCallback(const XnChar *strPose, XnUserID user, XnPoseDetectionStatus poseError, void *pCookie)
Definition XnModuleInterface.h:106
void(XN_C_DECL *) XnModuleUnloadPtr()
Definition XnModuleInterface.h:64
void(*) XnModuleGestureProgress(const XnChar *strGesture, const XnPoint3D *pPosition, XnFloat fProgress, void *pCookie)
Definition XnModuleInterface.h:94
void(*) XnModuleGetExportedInterfacePtr(XnModuleExportedProductionNodeInterface *pInterface)
Definition XnModuleInterface.h:62
void(*) XnModuleGestureIntermediateStageCompleted(const XnChar *strGesture, const XnPoint3D *pPosition, void *pCookie)
Definition XnModuleInterface.h:95
void(*) XnModuleCalibrationEnd(XnUserID user, XnBool bSuccess, void *pCookie)
Definition XnModuleInterface.h:100
XnStatus(XN_C_DECL *) XnModuleLoadPtr()
Definition XnModuleInterface.h:63
void(*) XnModuleGestureRecognized(const XnChar *strGesture, const XnPoint3D *pIDPosition, const XnPoint3D *pEndPosition, void *pCookie)
Definition XnModuleInterface.h:93
void(*) XnModuleHandTouchingFOVEdge(XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, XnDirection eDir, void *pCookie)
Definition XnModuleInterface.h:85
void(*) XnModuleCalibrationInProgress(XnUserID user, XnCalibrationStatus calibrationError, void *pCookie)
Definition XnModuleInterface.h:101
void(*) XnModuleHandCreate(XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, void *pCookie)
Definition XnModuleInterface.h:88
XnUInt32(XN_C_DECL *) XnModuleGetExportedNodesCountPtr()
Definition XnModuleInterface.h:65
void(*) XnModulePoseDetectionCallback(const XnChar *strPose, XnUserID user, void *pCookie)
Definition XnModuleInterface.h:105
void(XN_C_DECL *) XnModuleGetOpenNIVersionPtr(XnVersion *pVersion)
Definition XnModuleInterface.h:67
void(*) XnModuleCalibrationStart(XnUserID user, void *pCookie)
Definition XnModuleInterface.h:99
void(*) XnModuleUserHandler(XnUserID user, void *pCookie)
Definition XnModuleInterface.h:82
XnUInt32 XnStatus
Definition XnStatus.h:33
XnUInt32 XnCodecID
Definition XnTypes.h:842
void * XnModuleNodeHandle
Definition XnTypes.h:221
XnPixelFormat
Definition XnTypes.h:515
XnVector3D XnPoint3D
Definition XnTypes.h:475
XnSkeletonProfile
Definition XnTypes.h:648
XnPoseDetectionStatus
Definition XnTypes.h:667
XnPowerLineFrequency
Definition XnTypes.h:542
XnPlayerSeekOrigin
Definition XnTypes.h:535
void * XnCallbackHandle
Definition XnTypes.h:270
XnGrayscale16Pixel XnIRPixel
Definition XnTypes.h:307
struct XnNodeInfoList XnNodeInfoList
Definition XnTypes.h:189
XnUInt32 XnUserID
Definition XnTypes.h:549
XnDirection
Definition XnTypes.h:702
XnSkeletonJoint
Definition XnTypes.h:615
XnCalibrationStatus
Definition XnTypes.h:686
XnUInt16 XnDepthPixel
Definition XnTypes.h:278
struct XnInternalNodeData * XnNodeHandle
Definition XnTypes.h:84
XnUInt16 XnLabel
Definition XnTypes.h:310
struct XnContext XnContext
Definition XnTypes.h:79
struct XnEnumerationErrors XnEnumerationErrors
Definition XnTypes.h:216
Definition XnTypes.h:481
Definition XnTypes.h:490
Definition XnTypes.h:507
Definition XnTypes.h:436
Definition XnModuleInterface.h:460
XnStatus(*) GetPixelCoordinatesInViewPoint(XnModuleNodeHandle hGenerator, XnNodeHandle hOther, XnUInt32 x, XnUInt32 y, XnUInt32 *pAltX, XnUInt32 *pAltY)
Definition XnModuleInterface.h:523
XnBool(*) IsViewPointAs(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition XnModuleInterface.h:486
XnStatus(*) ResetViewPoint(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:493
XnStatus(*) RegisterToViewPointChange(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:503
XnBool(*) IsViewPointSupported(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition XnModuleInterface.h:470
void(*) UnregisterFromViewPointChange(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:511
XnStatus(*) SetViewPoint(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition XnModuleInterface.h:478
Definition XnModuleInterface.h:857
void(*) UnregisterFromPowerLineFrequencyChange(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:892
XnStatus(*) RegisterToPowerLineFrequencyChange(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:882
XnPowerLineFrequency(*) GetPowerLineFrequency(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:871
XnStatus(*) SetPowerLineFrequency(XnModuleNodeHandle hGenerator, XnPowerLineFrequency nFrequency)
Definition XnModuleInterface.h:864
Definition XnModuleInterface.h:1326
XnStatus(*) GetWaveOutputMode(XnModuleNodeHandle hGenerator, XnWaveOutputMode *OutputMode)
Definition XnModuleInterface.h:1333
XnStatus(*) SetWaveOutputMode(XnModuleNodeHandle hGenerator, const XnWaveOutputMode *OutputMode)
Definition XnModuleInterface.h:1332
XnStatus(*) RegisterToWaveOutputModeChanges(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1334
XnStatus(*) GetSupportedWaveOutputModes(XnModuleNodeHandle hGenerator, XnWaveOutputMode *aSupportedModes, XnUInt32 *pnCount)
Definition XnModuleInterface.h:1331
void(*) UnregisterFromWaveOutputModeChanges(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1336
XnUInt32(*) GetSupportedWaveOutputModesCount(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:1330
XnModuleGeneratorInterface * pGeneratorInterface
Definition XnModuleInterface.h:1327
XnUChar *(*) GetAudioBuffer(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:1329
Definition XnModuleInterface.h:1341
XnStatus(*) DecompressData(XnModuleNodeHandle hCodec, const void *pSrc, XnUInt32 nSrcSize, void *pDst, XnUInt32 nDstSize, XnUInt *pnBytesWritten)
Definition XnModuleInterface.h:1347
XnCodecID(*) GetCodecID(XnModuleNodeHandle hCodec)
Definition XnModuleInterface.h:1344
XnModuleProductionNodeInterface * pProductionNode
Definition XnModuleInterface.h:1342
XnStatus(*) CompressData(XnModuleNodeHandle hCodec, const void *pSrc, XnUInt32 nSrcSize, void *pDst, XnUInt32 nDstSize, XnUInt *pnBytesWritten)
Definition XnModuleInterface.h:1346
XnStatus(*) Init(XnModuleNodeHandle hCodec, XnNodeHandle hNode)
Definition XnModuleInterface.h:1345
Definition XnModuleInterface.h:816
XnStatus(*) SetCropping(XnModuleNodeHandle hGenerator, const XnCropping *pCropping)
Definition XnModuleInterface.h:823
XnStatus(*) RegisterToCroppingChange(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:842
XnStatus(*) GetCropping(XnModuleNodeHandle hGenerator, XnCropping *pCropping)
Definition XnModuleInterface.h:831
void(*) UnregisterFromCroppingChange(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:852
Definition XnModuleInterface.h:1039
void(*) GetFieldOfView(XnModuleNodeHandle hGenerator, XnFieldOfView *pFOV)
Definition XnModuleInterface.h:1069
XnDepthPixel(*) GetDeviceMaxDepth(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:1059
XnModuleUserPositionCapabilityInterface * pUserPositionInterface
Definition XnModuleInterface.h:1093
void(*) UnregisterFromFieldOfViewChange(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1088
XnModuleMapGeneratorInterface * pMapInterface
Definition XnModuleInterface.h:1043
XnDepthPixel *(*) GetDepthMap(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:1051
XnStatus(*) RegisterToFieldOfViewChange(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1079
Definition XnModuleInterface.h:369
XnStatus(*) GetSerialNumber(XnModuleNodeHandle hInstance, XnChar *strBuffer, XnUInt32 *pnBufferSize)
Definition XnModuleInterface.h:407
XnStatus(*) GetDeviceName(XnModuleNodeHandle hInstance, XnChar *strBuffer, XnUInt32 *pnBufferSize)
Definition XnModuleInterface.h:381
XnStatus(*) GetVendorSpecificData(XnModuleNodeHandle hInstance, XnChar *strBuffer, XnUInt32 *pnBufferSize)
Definition XnModuleInterface.h:394
Definition XnModuleInterface.h:412
XnModuleDeviceIdentificationInterface * pDeviceIdentificationInterface
Definition XnModuleInterface.h:415
XnModuleProductionNodeInterface * pProductionNode
Definition XnModuleInterface.h:413
Definition XnModuleInterface.h:235
XnStatus(*) RegisterToErrorStateChange(XnModuleNodeHandle hInstance, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:252
XnStatus(*) GetErrorState(XnModuleNodeHandle hInstance)
Definition XnModuleInterface.h:241
void(*) UnregisterFromErrorStateChange(XnModuleNodeHandle hInstance, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:262
Definition XnModuleInterface.h:109
XnStatus(*) EnumerateProductionTrees(XnContext *pContext, XnNodeInfoList *pNodesList, XnEnumerationErrors *pErrors)
Definition XnModuleInterface.h:126
void(*) Destroy(XnModuleNodeHandle hInstance)
Definition XnModuleInterface.h:154
void(*) GetDescription(XnProductionNodeDescription *pDescription)
Definition XnModuleInterface.h:116
union XnModuleExportedProductionNodeInterface::@166330022361145371171374117207323030327303157036 GetInterface
XnStatus(*) Create(XnContext *pContext, const XnChar *strInstanceName, const XnChar *strCreationInfo, XnNodeInfoList *pNeededNodes, const XnChar *strConfigurationDir, XnModuleNodeHandle *phInstance)
Definition XnModuleInterface.h:141
Definition XnModuleInterface.h:188
void(*) StopNotifications(XnModuleNodeHandle hInstance)
Definition XnModuleInterface.h:190
XnStatus(*) InitNotifications(XnModuleNodeHandle hInstance, XnNodeNotifications *pNotifications, void *pCookie)
Definition XnModuleInterface.h:189
Definition XnModuleInterface.h:528
XnStatus(*) FrameSyncWith(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition XnModuleInterface.h:545
XnBool(*) IsFrameSyncedWith(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition XnModuleInterface.h:561
XnStatus(*) StopFrameSyncWith(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition XnModuleInterface.h:553
XnBool(*) CanFrameSyncWith(XnModuleNodeHandle hGenerator, XnNodeHandle hOther)
Definition XnModuleInterface.h:537
void(*) UnregisterFromFrameSyncChange(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:579
XnStatus(*) RegisterToFrameSyncChange(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:571
Definition XnModuleInterface.h:267
void(*) UnregisterFromValueChange(XnModuleNodeHandle hGenerator, const XnChar *strCap, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:320
XnStatus(*) RegisterToValueChange(XnModuleNodeHandle hGenerator, const XnChar *strCap, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:309
XnStatus(*) Get(XnModuleNodeHandle hGenerator, const XnChar *strCap, XnInt32 *pnValue)
Definition XnModuleInterface.h:288
XnStatus(*) GetRange(XnModuleNodeHandle hGenerator, const XnChar *strCap, XnInt32 *pnMin, XnInt32 *pnMax, XnInt32 *pnStep, XnInt32 *pnDefault, XnBool *pbIsAutoSupported)
Definition XnModuleInterface.h:279
XnStatus(*) Set(XnModuleNodeHandle hGenerator, const XnChar *strCap, XnInt32 nValue)
Definition XnModuleInterface.h:297
Definition XnModuleInterface.h:585
void(*) UnregisterFromGenerationRunningChange(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:634
XnStatus(*) RegisterToGenerationRunningChange(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:624
XnModuleAlternativeViewPointInterface * pAlternativeViewPointInterface
Definition XnModuleInterface.h:696
XnUInt32(*) GetDataSize(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:679
XnUInt32(*) GetFrameID(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:693
void(*) UnregisterFromNewDataAvailable(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:654
void * pObsolete1
Definition XnModuleInterface.h:697
XnStatus(*) UpdateData(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:672
const void *(*) GetData(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:706
XnBool(*) IsGenerating(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:605
XnStatus(*) StartGenerating(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:597
XnModuleProductionNodeInterface * pProductionNodeInterface
Definition XnModuleInterface.h:589
XnModuleFrameSyncInterface * pFrameSyncInterface
Definition XnModuleInterface.h:698
XnUInt64(*) GetTimestamp(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:686
XnModuleMirrorInterface * pMirrorInterface
Definition XnModuleInterface.h:695
void(*) StopGenerating(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:613
XnBool(*) IsNewDataAvailable(XnModuleNodeHandle hGenerator, XnUInt64 *pnTimestamp)
Definition XnModuleInterface.h:663
XnStatus(*) RegisterToNewDataAvailable(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:644
Definition XnModuleInterface.h:1171
XnStatus(*) RegisterToGestureChange(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1182
XnStatus(*) RegisterToGestureReadyForNextIntermediateStage(XnModuleNodeHandle hGenerator, XnModuleGestureReadyForNextIntermediateStage ReadyForNextIntermediateStageCB, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1190
XnStatus(*) AddGesture(XnModuleNodeHandle hGenerator, const XnChar *strGesture, XnBoundingBox3D *pArea)
Definition XnModuleInterface.h:1174
XnModuleGeneratorInterface * pGeneratorInterface
Definition XnModuleInterface.h:1172
XnStatus(*) RemoveGesture(XnModuleNodeHandle hGenerator, const XnChar *strGesture)
Definition XnModuleInterface.h:1175
XnStatus(*) GetAllActiveGestures(XnModuleNodeHandle hGenerator, XnChar **pstrGestures, XnUInt32 nNameLength, XnUInt16 *nGestures)
Definition XnModuleInterface.h:1185
XnStatus(*) GetActiveGestures(XnModuleNodeHandle hGenerator, XnChar **pstrGestures, XnUInt16 *nGestures)
Definition XnModuleInterface.h:1176
XnBool(*) IsGestureAvailable(XnModuleNodeHandle hInstance, const XnChar *strGesture)
Definition XnModuleInterface.h:1178
void(*) UnregisterFromGestureIntermediateStageCompleted(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1189
void(*) UnregisterFromGestureChange(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1183
XnStatus(*) EnumerateGestures(XnModuleNodeHandle hGenerator, XnChar **pstrGestures, XnUInt16 *nGestures)
Definition XnModuleInterface.h:1177
XnStatus(*) RegisterToGestureIntermediateStageCompleted(XnModuleNodeHandle hGenerator, XnModuleGestureIntermediateStageCompleted GestureIntermediateStageCompletedCB, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1188
void(*) UnregisterGestureCallbacks(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1181
XnStatus(*) EnumerateAllGestures(XnModuleNodeHandle hGenerator, XnChar **pstrGestures, XnUInt32 nNameLength, XnUInt16 *nGestures)
Definition XnModuleInterface.h:1186
void(*) UnregisterFromGestureReadyForNextIntermediateStage(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1191
XnBool(*) IsGestureProgressSupported(XnModuleNodeHandle hGenerator, const XnChar *strGesture)
Definition XnModuleInterface.h:1179
XnStatus(*) RegisterGestureCallbacks(XnModuleNodeHandle hGenerator, XnModuleGestureRecognized RecognizedCB, XnModuleGestureProgress ProgressCB, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1180
Definition XnModuleInterface.h:1208
void(*) UnregisterFromHandTouchingFOVEdge(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1210
XnStatus(*) RegisterToHandTouchingFOVEdge(XnModuleNodeHandle hGenerator, XnModuleHandTouchingFOVEdge, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1209
Definition XnModuleInterface.h:1214
XnModuleGeneratorInterface * pGeneratorInterface
Definition XnModuleInterface.h:1215
void(*) UnregisterHandCallbacks(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1218
XnStatus(*) StopTrackingAll(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:1220
XnModuleHandTouchingFOVEdgeCapabilityInterface * pHandTouchingFOVEdgeInterface
Definition XnModuleInterface.h:1224
XnStatus(*) SetSmoothing(XnModuleNodeHandle hGenerator, XnFloat fSmoothingFactor)
Definition XnModuleInterface.h:1222
XnStatus(*) StopTracking(XnModuleNodeHandle hGenerator, XnUserID user)
Definition XnModuleInterface.h:1219
XnStatus(*) StartTracking(XnModuleNodeHandle hGenerator, const XnPoint3D *pPosition)
Definition XnModuleInterface.h:1221
XnStatus(*) RegisterHandCallbacks(XnModuleNodeHandle hGenerator, XnModuleHandCreate CreateCB, XnModuleHandUpdate UpdateCB, XnModuleHandDestroy DestroyCB, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1217
Definition XnModuleInterface.h:1156
XnModuleMapGeneratorInterface * pMapInterface
Definition XnModuleInterface.h:1160
XnIRPixel *(*) GetIRMap(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:1163
Definition XnModuleInterface.h:1099
XnUInt8 *(*) GetImageMap(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:1106
XnModuleMapGeneratorInterface * pMapInterface
Definition XnModuleInterface.h:1103
XnStatus(*) RegisterToPixelFormatChange(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1141
void(*) UnregisterFromPixelFormatChange(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1150
XnBool(*) IsPixelFormatSupported(XnModuleNodeHandle hGenerator, XnPixelFormat Format)
Definition XnModuleInterface.h:1116
XnStatus(*) SetPixelFormat(XnModuleNodeHandle hGenerator, XnPixelFormat Format)
Definition XnModuleInterface.h:1124
XnPixelFormat(*) GetPixelFormat(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:1131
Definition XnModuleInterface.h:195
XnStatus(*) SetLockState(XnModuleNodeHandle hInstance, XnBool bLocked)
Definition XnModuleInterface.h:202
XnStatus(*) RegisterToLockChange(XnModuleNodeHandle hInstance, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:220
void(*) UnregisterFromLockChange(XnModuleNodeHandle hInstance, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:230
XnBool(*) GetLockState(XnModuleNodeHandle hInstance)
Definition XnModuleInterface.h:209
Definition XnModuleInterface.h:897
XnModuleGeneratorInterface * pGeneratorInterface
Definition XnModuleInterface.h:901
void(*) UnregisterFromMapOutputModeChange(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:962
XnStatus(*) SetMapOutputMode(XnModuleNodeHandle hGenerator, const XnMapOutputMode *pOutputMode)
Definition XnModuleInterface.h:932
XnStatus(*) GetMapOutputMode(XnModuleNodeHandle hGenerator, XnMapOutputMode *pOutputMode)
Definition XnModuleInterface.h:941
XnUInt32(*) GetBytesPerPixel(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:973
XnUInt32(*) GetSupportedMapOutputModesCount(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:910
XnModuleAntiFlickerInterface * pAntiFlickerInterface
Definition XnModuleInterface.h:975
XnModuleCroppingInterface * pCroppingInterface
Definition XnModuleInterface.h:964
XnStatus(*) RegisterToMapOutputModeChange(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:952
XnStatus(*) GetSupportedMapOutputModes(XnModuleNodeHandle hGenerator, XnMapOutputMode *aModes, XnUInt32 *pnCount)
Definition XnModuleInterface.h:922
Definition XnModuleInterface.h:420
XnBool(*) IsMirrored(XnModuleNodeHandle hInstance)
Definition XnModuleInterface.h:434
XnStatus(*) SetMirror(XnModuleNodeHandle hInstance, XnBool bMirror)
Definition XnModuleInterface.h:427
void(*) UnregisterFromMirrorChange(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:455
XnStatus(*) RegisterToMirrorChange(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:445
Definition XnModuleInterface.h:727
XnStatus(*) TellTimestamp(XnModuleNodeHandle hInstance, XnUInt64 *pnTimestamp)
Definition XnModuleInterface.h:775
void(*) UnregisterFromEndOfFileReached(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:808
XnStatus(*) SetInputStream(XnModuleNodeHandle hInstance, void *pStreamCookie, XnPlayerInputStreamInterface *pStream)
Definition XnModuleInterface.h:736
XnStatus(*) TellFrame(XnModuleNodeHandle hInstance, const XnChar *strNodeName, XnUInt32 *pnFrame)
Definition XnModuleInterface.h:778
XnStatus(*) SeekToFrame(XnModuleNodeHandle hInstance, const XnChar *strNodeName, XnInt32 nFrameOffset, XnPlayerSeekOrigin origin)
Definition XnModuleInterface.h:772
XnStatus(*) SetNodeNotifications(XnModuleNodeHandle hInstance, void *pNodeNotificationsCookie, XnNodeNotifications *pNodeNotifications)
Definition XnModuleInterface.h:754
XnStatus(*) GetNumFrames(XnModuleNodeHandle hInstance, const XnChar *strNodeName, XnUInt32 *pnFrames)
Definition XnModuleInterface.h:781
XnStatus(*) SeekToTimeStamp(XnModuleNodeHandle hInstance, XnInt64 nTimeOffset, XnPlayerSeekOrigin origin)
Definition XnModuleInterface.h:769
XnStatus(*) SetRepeat(XnModuleNodeHandle hInstance, XnBool bRepeat)
Definition XnModuleInterface.h:766
XnStatus(*) ReadNext(XnModuleNodeHandle hInstance)
Definition XnModuleInterface.h:743
void * pObsolete1
Definition XnModuleInterface.h:811
XnBool(*) IsEOF(XnModuleNodeHandle hInstance)
Definition XnModuleInterface.h:787
XnStatus(*) RegisterToEndOfFileReached(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:798
XnStatus(*) SetRawNodeNotifications(XnModuleNodeHandle hInstance, void *pRawNodeNotificationsCookie, XnNodeNotifications *pRawNodeNotifications)
Definition XnModuleInterface.h:757
const XnChar *(*) GetSupportedFormat(XnModuleNodeHandle hInstance)
Definition XnModuleInterface.h:784
XnModuleProductionNodeInterface * pProductionNode
Definition XnModuleInterface.h:810
Definition XnModuleInterface.h:1275
void(*) UnregisterFromPoseDetected(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1289
XnStatus(*) RegisterToPoseCallbacks(XnModuleNodeHandle hGenerator, XnModulePoseDetectionCallback StartPoseCB, XnModulePoseDetectionCallback EndCB, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1280
XnStatus(*) StopPoseDetection(XnModuleNodeHandle hGenerator, XnUserID user)
Definition XnModuleInterface.h:1279
XnStatus(*) GetAvailablePoses(XnModuleNodeHandle hGenerator, XnChar **pstrPoses, XnUInt32 *pnPoses)
Definition XnModuleInterface.h:1277
XnStatus(*) RegisterToOutOfPose(XnModuleNodeHandle hGenerator, XnModulePoseDetectionCallback handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1290
XnStatus(*) RegisterToPoseDetected(XnModuleNodeHandle hGenerator, XnModulePoseDetectionCallback handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1288
void(*) UnregisterFromPoseCallbacks(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1281
XnUInt32(*) GetNumberOfPoses(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:1276
void(*) UnregisterFromPoseDetectionInProgress(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1286
XnStatus(*) RegisterToPoseDetectionInProgress(XnModuleNodeHandle hGenerator, XnModulePoseDetectionInProgressCallback PoseProgressCB, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1285
XnStatus(*) StopSinglePoseDetection(XnModuleNodeHandle hGenerator, XnUserID user, const XnChar *strPose)
Definition XnModuleInterface.h:1293
XnStatus(*) StartPoseDetection(XnModuleNodeHandle hGenerator, const XnChar *strPose, XnUserID user)
Definition XnModuleInterface.h:1278
XnStatus(*) GetAllAvailablePoses(XnModuleNodeHandle hGenerator, XnChar **pstrPoses, XnUInt32 nNameLength, XnUInt32 *pnPoses)
Definition XnModuleInterface.h:1283
void(*) UnregisterFromOutOfPose(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1291
Definition XnModuleInterface.h:325
XnStatus(*) SetStringProperty(XnModuleNodeHandle hInstance, const XnChar *strName, const XnChar *strValue)
Definition XnModuleInterface.h:346
XnModuleExtendedSerializationInterface * pExtendedSerializationInterface
Definition XnModuleInterface.h:361
XnStatus(*) GetIntProperty(XnModuleNodeHandle hInstance, const XnChar *strName, XnUInt64 *pnValue)
Definition XnModuleInterface.h:356
XnModuleGeneralIntInterface * pGeneralIntInterface
Definition XnModuleInterface.h:364
XnStatus(*) SetRealProperty(XnModuleNodeHandle hInstance, const XnChar *strName, XnDouble dValue)
Definition XnModuleInterface.h:345
XnModuleLockAwareInterface * pLockAwareInterface
Definition XnModuleInterface.h:362
XnStatus(*) SetIntProperty(XnModuleNodeHandle hInstance, const XnChar *strName, XnUInt64 nValue)
Definition XnModuleInterface.h:344
XnStatus(*) SetGeneralProperty(XnModuleNodeHandle hInstance, const XnChar *strName, XnUInt32 nBufferSize, const void *pBuffer)
Definition XnModuleInterface.h:347
XnStatus(*) GetRealProperty(XnModuleNodeHandle hInstance, const XnChar *strName, XnDouble *pdValue)
Definition XnModuleInterface.h:357
XnModuleErrorStateInterface * pErrorStateInterface
Definition XnModuleInterface.h:363
XnStatus(*) GetStringProperty(XnModuleNodeHandle hInstance, const XnChar *strName, XnChar *csValue, XnUInt32 nBufSize)
Definition XnModuleInterface.h:358
XnBool(*) IsCapabilitySupported(XnModuleNodeHandle hInstance, const XnChar *strCapabilityName)
Definition XnModuleInterface.h:332
XnStatus(*) GetGeneralProperty(XnModuleNodeHandle hInstance, const XnChar *strName, XnUInt32 nBufferSize, void *pBuffer)
Definition XnModuleInterface.h:359
Definition XnModuleInterface.h:711
XnStatus(*) SetOutputStream(XnModuleNodeHandle hInstance, void *pStreamToken, XnRecorderOutputStreamInterface *pStream)
Definition XnModuleInterface.h:720
XnNodeNotifications * pNodeNotifications
Definition XnModuleInterface.h:723
XnModuleProductionNodeInterface * pProductionNode
Definition XnModuleInterface.h:722
Definition XnModuleInterface.h:1197
const XnLabel *(*) GetLabelMap(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:1200
XnStatus(*) GetFloor(XnModuleNodeHandle hGenerator, XnPlane3D *pPlane)
Definition XnModuleInterface.h:1201
XnModuleMapGeneratorInterface * pMapInterface
Definition XnModuleInterface.h:1198
Definition XnModuleInterface.h:1352
XnStatus(*) LoadScriptFromFile(XnModuleNodeHandle hScript, const XnChar *strFileName)
Definition XnModuleInterface.h:1356
XnModuleProductionNodeInterface * pProductionNode
Definition XnModuleInterface.h:1353
XnStatus(*) LoadScriptFromString(XnModuleNodeHandle hScript, const XnChar *strScript)
Definition XnModuleInterface.h:1357
XnStatus(*) Run(XnModuleNodeHandle hScript, XnNodeInfoList *pCreatedNodes, XnEnumerationErrors *pErrors)
Definition XnModuleInterface.h:1358
const XnChar *(*) GetSupportedFormat(XnModuleNodeHandle hScript)
Definition XnModuleInterface.h:1355
Definition XnModuleInterface.h:1232
XnBool(*) IsTracking(XnModuleNodeHandle hGenerator, XnUserID user)
Definition XnModuleInterface.h:1244
XnStatus(*) SetSkeletonProfile(XnModuleNodeHandle hGenerator, XnSkeletonProfile eProfile)
Definition XnModuleInterface.h:1235
XnStatus(*) StartTracking(XnModuleNodeHandle hGenerator, XnUserID user)
Definition XnModuleInterface.h:1253
XnStatus(*) RegisterToCalibrationStart(XnModuleNodeHandle hGenerator, XnModuleCalibrationStart handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1270
void(*) UnregisterFromCalibrationStart(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1271
XnBool(*) IsProfileAvailable(XnModuleNodeHandle hGenerator, XnSkeletonProfile eProfile)
Definition XnModuleInterface.h:1234
XnStatus(*) SaveCalibrationData(XnModuleNodeHandle hGenerator, XnUserID user, XnUInt32 nSlot)
Definition XnModuleInterface.h:1249
void(*) UnregisterFromCalibrationInProgress(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1266
XnStatus(*) RegisterToJointConfigurationChange(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1238
XnBool(*) IsJointActive(XnModuleNodeHandle hGenerator, XnSkeletonJoint eJoint)
Definition XnModuleInterface.h:1237
XnBool(*) IsCalibrated(XnModuleNodeHandle hGenerator, XnUserID user)
Definition XnModuleInterface.h:1245
XnStatus(*) GetSkeletonJointOrientation(XnModuleNodeHandle hGenerator, XnUserID user, XnSkeletonJoint eJoint, XnSkeletonJointOrientation *pJoint)
Definition XnModuleInterface.h:1243
XnStatus(*) RegisterToCalibrationComplete(XnModuleNodeHandle hGenerator, XnModuleCalibrationComplete CalibrationCompleteCB, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1267
XnStatus(*) SaveCalibrationDataToFile(XnModuleNodeHandle hGenerator, XnUserID user, const XnChar *strFileName)
Definition XnModuleInterface.h:1262
XnBool(*) NeedPoseForCalibration(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:1256
XnStatus(*) RegisterToCalibrationInProgress(XnModuleNodeHandle hGenerator, XnModuleCalibrationInProgress CalibrationInProgressCB, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1265
XnBool(*) IsCalibrationData(XnModuleNodeHandle hGenerator, XnUInt32 nSlot)
Definition XnModuleInterface.h:1252
XnStatus(*) GetSkeletonJoint(XnModuleNodeHandle hGenerator, XnUserID user, XnSkeletonJoint eJoint, XnSkeletonJointTransformation *pJoint)
Definition XnModuleInterface.h:1241
XnBool(*) IsCalibrating(XnModuleNodeHandle hGenerator, XnUserID user)
Definition XnModuleInterface.h:1246
XnStatus(*) GetCalibrationPose(XnModuleNodeHandle hGenerator, XnChar *strPose)
Definition XnModuleInterface.h:1257
XnStatus(*) GetSkeletonJointPosition(XnModuleNodeHandle hGenerator, XnUserID user, XnSkeletonJoint eJoint, XnSkeletonJointPosition *pJoint)
Definition XnModuleInterface.h:1242
XnStatus(*) RegisterCalibrationCallbacks(XnModuleNodeHandle hGenerator, XnModuleCalibrationStart CalibrationStartCB, XnModuleCalibrationEnd CalibrationEndCB, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1259
XnStatus(*) ClearCalibrationData(XnModuleNodeHandle hGenerator, XnUInt32 nSlot)
Definition XnModuleInterface.h:1251
void(*) UnregisterCalibrationCallbacks(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1260
XnStatus(*) Reset(XnModuleNodeHandle hGenerator, XnUserID user)
Definition XnModuleInterface.h:1255
XnStatus(*) SetJointActive(XnModuleNodeHandle hGenerator, XnSkeletonJoint eJoint, XnBool bState)
Definition XnModuleInterface.h:1236
XnStatus(*) EnumerateActiveJoints(XnModuleNodeHandle hGenerator, XnSkeletonJoint *pJoints, XnUInt16 *pnJoints)
Definition XnModuleInterface.h:1240
void(*) UnregisterFromJointConfigurationChange(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1239
XnStatus(*) LoadCalibrationDataFromFile(XnModuleNodeHandle hGenerator, XnUserID user, const XnChar *strFileName)
Definition XnModuleInterface.h:1263
XnBool(*) IsJointAvailable(XnModuleNodeHandle hGenerator, XnSkeletonJoint eJoint)
Definition XnModuleInterface.h:1233
XnStatus(*) AbortCalibration(XnModuleNodeHandle hGenerator, XnUserID user)
Definition XnModuleInterface.h:1248
XnStatus(*) SetSmoothing(XnModuleNodeHandle hGenerator, XnFloat fSmoothingFactor)
Definition XnModuleInterface.h:1258
XnStatus(*) LoadCalibrationData(XnModuleNodeHandle hGenerator, XnUserID user, XnUInt32 nSlot)
Definition XnModuleInterface.h:1250
XnStatus(*) StopTracking(XnModuleNodeHandle hGenerator, XnUserID user)
Definition XnModuleInterface.h:1254
void(*) UnregisterFromCalibrationComplete(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1268
XnStatus(*) RequestCalibration(XnModuleNodeHandle hGenerator, XnUserID user, XnBool bForce)
Definition XnModuleInterface.h:1247
Definition XnModuleInterface.h:1298
void(*) UnregisterUserCallbacks(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1306
XnModulePoseDetectionCapabilityInterface * pPoseDetectionInterface
Definition XnModuleInterface.h:1315
XnStatus(*) RegisterToUserReEnter(XnModuleNodeHandle hGenerator, XnModuleUserHandler UserReEnterCB, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1319
XnStatus(*) RegisterUserCallbacks(XnModuleNodeHandle hGenerator, XnModuleUserHandler NewUserCB, XnModuleUserHandler LostUserCB, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1305
XnStatus(*) GetUserPixels(XnModuleNodeHandle hGenerator, XnUserID user, XnSceneMetaData *pScene)
Definition XnModuleInterface.h:1304
XnStatus(*) RegisterToUserExit(XnModuleNodeHandle hGenerator, XnModuleUserHandler UserExitCB, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1317
XnStatus(*) GetCoM(XnModuleNodeHandle hGenerator, XnUserID user, XnPoint3D *pCoM)
Definition XnModuleInterface.h:1303
XnStatus(*) GetUsers(XnModuleNodeHandle hGenerator, XnUserID *pUsers, XnUInt16 *pnUsers)
Definition XnModuleInterface.h:1302
void(*) UnregisterFromUserReEnter(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1320
XnModuleSkeletonCapabilityInterface * pSkeletonInterface
Definition XnModuleInterface.h:1311
void(*) UnregisterFromUserExit(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1318
XnModuleGeneratorInterface * pGeneratorInterface
Definition XnModuleInterface.h:1299
XnUInt16(*) GetNumberOfUsers(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:1301
Definition XnModuleInterface.h:983
XnUInt32(*) GetSupportedUserPositionsCount(XnModuleNodeHandle hGenerator)
Definition XnModuleInterface.h:990
XnStatus(*) SetUserPosition(XnModuleNodeHandle hGenerator, XnUInt32 nIndex, const XnBoundingBox3D *pPosition)
Definition XnModuleInterface.h:999
XnStatus(*) GetUserPosition(XnModuleNodeHandle hGenerator, XnUInt32 nIndex, XnBoundingBox3D *pPosition)
Definition XnModuleInterface.h:1012
XnStatus(*) RegisterToUserPositionChange(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
Definition XnModuleInterface.h:1023
void(*) UnregisterFromUserPositionChange(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)
Definition XnModuleInterface.h:1033
Definition XnTypes.h:994
Definition XnModuleInterface.h:70
XnModuleLoadPtr pLoadFunc
Definition XnModuleInterface.h:71
XnModuleGetOpenNIVersionPtr pGetVersionFunc
Definition XnModuleInterface.h:75
XnModuleUnloadPtr pUnloadFunc
Definition XnModuleInterface.h:72
XnModuleGetExportedNodesCountPtr pGetCountFunc
Definition XnModuleInterface.h:73
XnModuleGetExportedNodesEntryPointsPtr pGetEntryPointsFunc
Definition XnModuleInterface.h:74
Definition XnTypes.h:564
Definition XnTypes.h:925
Definition XnTypes.h:165
Definition XnTypes.h:853
Definition XnTypes.h:1179
Definition XnTypes.h:593
Definition XnTypes.h:577
Definition XnTypes.h:604
Definition XnTypes.h:154
Definition XnTypes.h:459
void(*) Device(struct XnModuleDeviceInterface *pInterface)
void(*) Hands(struct XnModuleHandsGeneratorInterface *pInterace)
void(*) Recorder(struct XnModuleRecorderInterface *pInterface)
void(*) Gesture(struct XnModuleGestureGeneratorInterface *pInterface)
void(*) User(struct XnModuleUserGeneratorInterface *pInterface)
void(*) Codec(struct XnModuleCodecInterface *pInterface)
void(*) Image(struct XnModuleImageGeneratorInterface *pInterface)
void(*) Depth(struct XnModuleDepthGeneratorInterface *pInterface)
void(*) ProductionNode(struct XnModuleProductionNodeInterface *pInterface)
void(*) Generator(struct XnModuleGeneratorInterface *pInterface)
void(*) Audio(struct XnModuleAudioGeneratorInterface *pInterface)
void(*) Script(struct XnModuleScriptNodeInterface *pInterface)
void(*) IR(struct XnModuleIRGeneratorInterface *pInterface)
void(*) Scene(struct XnModuleSceneAnalyzerInterface *pInterface)
void(*) MapGenerator(struct XnModuleMapGeneratorInterface *pInterface)
void(*) Player(struct XnModulePlayerInterface *pInterface)