OpenNI 1.5.2
XnTypes.h
Go to the documentation of this file.
1 /****************************************************************************
2 * *
3 * OpenNI 1.x Alpha *
4 * Copyright (C) 2011 PrimeSense Ltd. *
5 * *
6 * This file is part of OpenNI. *
7 * *
8 * OpenNI is free software: you can redistribute it and/or modify *
9 * it under the terms of the GNU Lesser General Public License as published *
10 * by the Free Software Foundation, either version 3 of the License, or *
11 * (at your option) any later version. *
12 * *
13 * OpenNI is distributed in the hope that it will be useful, *
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
16 * GNU Lesser General Public License for more details. *
17 * *
18 * You should have received a copy of the GNU Lesser General Public License *
19 * along with OpenNI. If not, see <http://www.gnu.org/licenses/>. *
20 * *
21 ****************************************************************************/
22 #ifndef __XN_TYPES_H__
23 #define __XN_TYPES_H__
24 
25 //---------------------------------------------------------------------------
26 // Includes
27 //---------------------------------------------------------------------------
28 #include <XnStatus.h>
29 #include <XnOS.h>
30 
31 //---------------------------------------------------------------------------
32 // Defines
33 //---------------------------------------------------------------------------
35 #define XN_MAX_NAME_LENGTH 80
36 
38 #define XN_MAX_CREATION_INFO_LENGTH 255
39 
41 #define XN_MAX_LICENSE_LENGTH 255
42 
44 #define XN_NODE_WAIT_FOR_DATA_TIMEOUT 2000
45 
47 #define XN_VENDOR_OPEN_NI "OpenNI"
48 
50 #define XN_FORMAT_NAME_ONI "oni"
51 
53 #define XN_SCRIPT_FORMAT_XML "xml"
54 
56 #define XN_PLAYBACK_SPEED_FASTEST 0.0
57 
59 #define XN_AUTO_CONTROL XN_MIN_INT32
60 
61 //---------------------------------------------------------------------------
62 // Forward Declarations
63 //---------------------------------------------------------------------------
64 struct XnInternalNodeData;
65 
66 //---------------------------------------------------------------------------
67 // Types
68 //---------------------------------------------------------------------------
69 
70 #if XN_PLATFORM != XN_PLATFORM_ARC
71 #pragma pack (push, 1)
72 #endif
73 
77 typedef struct XnContext XnContext;
78 
82 typedef struct XnInternalNodeData* XnNodeHandle;
83 
87 typedef XnUInt32 XnLockHandle;
88 
92 typedef XnInt32 XnProductionNodeType;
93 
98 {
101 
104 
107 
110 
113 
116 
119 
122 
125 
128 
131 
134 
137 
143 
145 
147 
151 typedef struct XnVersion
152 {
153  XnUInt8 nMajor;
154  XnUInt8 nMinor;
155  XnUInt16 nMaintenance;
156  XnUInt32 nBuild;
157 } XnVersion;
158 
163 {
167  XnChar strVendor[XN_MAX_NAME_LENGTH];
169  XnChar strName[XN_MAX_NAME_LENGTH];
173 
177 typedef struct XnNodeInfo XnNodeInfo;
178 
183 
188 
193 {
196 
197 typedef struct XnNodeQuery XnNodeQuery;
198 
202 typedef struct XnLicense
203 {
205  XnChar strVendor[XN_MAX_NAME_LENGTH];
207  XnChar strKey[XN_MAX_LICENSE_LENGTH];
208 } XnLicense;
209 
215 
219 typedef void* XnModuleNodeHandle;
220 
227 typedef void (XN_CALLBACK_TYPE* XnStateChangedHandler)(XnNodeHandle hNode, void* pCookie);
228 
235 typedef void (XN_CALLBACK_TYPE* XnErrorStateChangedHandler)(XnStatus errorState, void* pCookie);
236 
242 typedef void (XN_CALLBACK_TYPE* XnFreeHandler)(const void* pData);
243 
244 typedef void (XN_CALLBACK_TYPE* XnContextShuttingDownHandler)(XnContext* pContext, void* pCookie);
245 
247 typedef void* XnCallbackHandle;
248 
250 
251 //---------------------------------------------------------------------------
252 // 3D Vision Types
253 //---------------------------------------------------------------------------
255 typedef XnUInt16 XnDepthPixel;
256 
258 #define XN_DEPTH_NO_SAMPLE_VALUE ((XnDepthPixel)0)
259 
261 typedef struct XnRGB24Pixel
262 {
263  XnUInt8 nRed;
264  XnUInt8 nGreen;
265  XnUInt8 nBlue;
266 } XnRGB24Pixel;
267 
269 typedef struct XnYUV422DoublePixel
270 {
271  XnUInt8 nU;
272  XnUInt8 nY1;
273  XnUInt8 nV;
274  XnUInt8 nY2;
276 
278 typedef XnUInt8 XnGrayscale8Pixel;
279 
281 typedef XnUInt16 XnGrayscale16Pixel;
282 
285 
287 typedef XnUInt16 XnLabel;
288 
289 //---------------------------------------------------------------------------
290 // Generators Capabilities
291 //---------------------------------------------------------------------------
292 #define XN_CAPABILITY_EXTENDED_SERIALIZATION "ExtendedSerialization"
293 #define XN_CAPABILITY_MIRROR "Mirror"
294 #define XN_CAPABILITY_ALTERNATIVE_VIEW_POINT "AlternativeViewPoint"
295 #define XN_CAPABILITY_CROPPING "Cropping"
296 #define XN_CAPABILITY_USER_POSITION "UserPosition"
297 #define XN_CAPABILITY_SKELETON "User::Skeleton"
298 #define XN_CAPABILITY_POSE_DETECTION "User::PoseDetection"
299 #define XN_CAPABILITY_LOCK_AWARE "LockAware"
300 #define XN_CAPABILITY_ERROR_STATE "ErrorState"
301 #define XN_CAPABILITY_FRAME_SYNC "FrameSync"
302 #define XN_CAPABILITY_DEVICE_IDENTIFICATION "DeviceIdentification"
303 #define XN_CAPABILITY_BRIGHTNESS "Brightness"
304 #define XN_CAPABILITY_CONTRAST "Contrast"
305 #define XN_CAPABILITY_HUE "Hue"
306 #define XN_CAPABILITY_SATURATION "Saturation"
307 #define XN_CAPABILITY_SHARPNESS "Sharpness"
308 #define XN_CAPABILITY_GAMMA "Gamma"
309 #define XN_CAPABILITY_COLOR_TEMPERATURE "ColorTemperature"
310 #define XN_CAPABILITY_BACKLIGHT_COMPENSATION "BacklightCompensation"
311 #define XN_CAPABILITY_GAIN "Gain"
312 #define XN_CAPABILITY_PAN "Pan"
313 #define XN_CAPABILITY_TILT "Tilt"
314 #define XN_CAPABILITY_ROLL "Roll"
315 #define XN_CAPABILITY_ZOOM "Zoom"
316 #define XN_CAPABILITY_EXPOSURE "Exposure"
317 #define XN_CAPABILITY_IRIS "Iris"
318 #define XN_CAPABILITY_FOCUS "Focus"
319 #define XN_CAPABILITY_LOW_LIGHT_COMPENSATION "LowLightCompensation"
320 #define XN_CAPABILITY_ANTI_FLICKER "AntiFlicker"
321 #define XN_CAPABILITY_HAND_TOUCHING_FOV_EDGE "Hands::HandTouchingFOVEdge"
322 
323 // Backwards compatibility - typo was fixed
324 #define XN_CAPABILITY_ANTI_FILCKER XN_CAPABILITY_ANTI_FLICKER
325 
326 // deprecated pragma is only supported in Visual Studio
327 #if (XN_PLATFORM == XN_PLATFORM_WIN32)
328 #pragma deprecated("XN_CAPABILITY_ANTI_FILCKER")
329 #endif
330 
331 //---------------------------------------------------------------------------
332 // Generators API Structs
333 //---------------------------------------------------------------------------
334 
335 #define XN_QQVGA_X_RES 160
336 #define XN_QQVGA_Y_RES 120
337 
338 #define XN_CGA_X_RES 320
339 #define XN_CGA_Y_RES 200
340 
341 #define XN_QVGA_X_RES 320
342 #define XN_QVGA_Y_RES 240
343 
344 #define XN_VGA_X_RES 640
345 #define XN_VGA_Y_RES 480
346 
347 #define XN_SVGA_X_RES 800
348 #define XN_SVGA_Y_RES 600
349 
350 #define XN_XGA_X_RES 1024
351 #define XN_XGA_Y_RES 768
352 
353 #define XN_720P_X_RES 1280
354 #define XN_720P_Y_RES 720
355 
356 #define XN_SXGA_X_RES 1280
357 #define XN_SXGA_Y_RES 1024
358 
359 #define XN_UXGA_X_RES 1600
360 #define XN_UXGA_Y_RES 1200
361 
362 #define XN_1080P_X_RES 1920
363 #define XN_1080P_Y_RES 1080
364 
365 #define XN_QCIF_X_RES 176
366 #define XN_QCIF_Y_RES 144
367 
368 #define XN_240P_X_RES 423
369 #define XN_240P_Y_RES 240
370 
371 #define XN_CIF_X_RES 352
372 #define XN_CIF_Y_RES 288
373 
374 #define XN_WVGA_X_RES 640
375 #define XN_WVGA_Y_RES 360
376 
377 #define XN_480P_X_RES 864
378 #define XN_480P_Y_RES 480
379 
380 #define XN_576P_X_RES 1024
381 #define XN_576P_Y_RES 576
382 
383 #define XN_DV_X_RES 960
384 #define XN_DV_Y_RES 720
385 
386 typedef enum XnResolution
387 {
405  XN_RES_DV = 17,
406 } XnResolution;
407 
411 typedef struct XnMapOutputMode
412 {
414  XnUInt32 nXRes;
416  XnUInt32 nYRes;
418  XnUInt32 nFPS;
420 
421 typedef enum XnSampleRate
422 {
432 } XnSampleRate;
433 
434 typedef struct XnWaveOutputMode
435 {
436  XnUInt32 nSampleRate;
437  XnUInt16 nBitsPerSample;
438  XnUInt8 nChannels;
440 
444 typedef struct XnVector3D
445 {
446  XnFloat X;
447  XnFloat Y;
448  XnFloat Z;
449 } XnVector3D;
450 
452 
456 typedef struct XnBoundingBox3D
457 {
461 
465 typedef struct XnCropping
466 {
468  XnBool bEnabled;
470  XnUInt16 nXOffset;
472  XnUInt16 nYOffset;
474  XnUInt16 nXSize;
476  XnUInt16 nYSize;
477 } XnCropping;
478 
482 typedef struct XnFieldOfView
483 {
485  XnDouble fHFOV;
487  XnDouble fVFOV;
488 } XnFieldOfView;
489 
490 typedef enum XnPixelFormat
491 {
497 } XnPixelFormat;
498 
500 {
501  XnBool m_bRGB24 : 1;
502  XnBool m_bYUV422 : 1;
503  XnBool m_bGrayscale8Bit : 1;
504  XnBool m_bGrayscale16Bit : 1;
505  XnBool m_bMJPEG : 1;
506  XnUInt m_nPadding : 3;
507  XnUInt m_nReserved : 24;
509 
510 typedef enum XnPlayerSeekOrigin
511 {
516 
518 {
523 
524 // User
525 typedef XnUInt32 XnUserID;
526 typedef XnFloat XnConfidence;
527 
529 typedef struct XnMatrix3X3
530 {
532  XnFloat elements[9];
533 } XnMatrix3X3;
534 
539 typedef struct XnPlane3D
540 {
543 
546 } XnPlane3D;
547 
553 {
556 
560 
569 {
575 
580 {
586 
590 typedef enum XnSkeletonJoint
591 {
596 
603 
610 
615 
621 
623 typedef enum XnSkeletonProfile
624 {
627 
630 
633 
636 
640 
643 {
651 
652 
655 {
662 {
676 
677 typedef enum XnDirection
678 {
686 } XnDirection;
687 
688 // User
696 typedef void (XN_CALLBACK_TYPE* XnUserHandler)(XnNodeHandle hNode, XnUserID user, void* pCookie);
697 
698 // Hands
708 typedef void (XN_CALLBACK_TYPE* XnHandCreate)(XnNodeHandle hNode, XnUserID user, const XnPoint3D* pPosition, XnFloat fTime, void* pCookie);
709 
719 typedef void (XN_CALLBACK_TYPE* XnHandUpdate)(XnNodeHandle hNode, XnUserID user, const XnPoint3D* pPosition, XnFloat fTime, void* pCookie);
720 
729 typedef void (XN_CALLBACK_TYPE* XnHandDestroy)(XnNodeHandle hNode, XnUserID user, XnFloat fTime, void* pCookie);
730 
741 typedef void (XN_CALLBACK_TYPE* XnHandTouchingFOVEdge)(XnNodeHandle hNode, XnUserID user, const XnPoint3D* pPosition, XnFloat fTime, XnDirection eDir, void* pCookie);
742 // Gesture Module
752 typedef void (XN_CALLBACK_TYPE* XnGestureRecognized)(XnNodeHandle hNode, const XnChar* strGesture, const XnPoint3D* pIDPosition, const XnPoint3D* pEndPosition, void* pCookie);
762 typedef void (XN_CALLBACK_TYPE* XnGestureProgress)(XnNodeHandle hNode, const XnChar* strGesture, const XnPoint3D* pPosition, XnFloat fProgress, void* pCookie);
763 
764 typedef void (XN_CALLBACK_TYPE* XnGestureIntermediateStageCompleted)(XnNodeHandle hNode, const XnChar* strGesture, const XnPoint3D* pPosition, void* pCookie);
765 typedef void (XN_CALLBACK_TYPE* XnGestureReadyForNextIntermediateStage)(XnNodeHandle hNode, const XnChar* strGesture, const XnPoint3D* pPosition, void* pCookie);
766 
767 // Skeleton
775 typedef void (XN_CALLBACK_TYPE* XnCalibrationStart)(XnNodeHandle hNode, XnUserID user, void* pCookie);
784 typedef void (XN_CALLBACK_TYPE* XnCalibrationEnd)(XnNodeHandle hNode, XnUserID user, XnBool bSuccess, void* pCookie);
785 
786 typedef void (XN_CALLBACK_TYPE* XnCalibrationInProgress)(XnNodeHandle hNode, XnUserID user, XnCalibrationStatus calibrationError, void* pCookie);
787 typedef void (XN_CALLBACK_TYPE* XnCalibrationComplete)(XnNodeHandle hNode, XnUserID user, XnCalibrationStatus calibrationError, void* pCookie);
788 
789 // Pose Detection
798 typedef void (XN_CALLBACK_TYPE* XnPoseDetectionCallback)(XnNodeHandle hNode, const XnChar* strPose, XnUserID user, void* pCookie);
799 
800 typedef void (XN_CALLBACK_TYPE* XnPoseDetectionInProgress)(XnNodeHandle hNode, const XnChar* strPose, XnUserID user, XnPoseDetectionStatus poseDetectionError, void* pCookie);
801 
802 //---------------------------------------------------------------------------
803 // Recorder Types
804 //---------------------------------------------------------------------------
805 
811 typedef enum XnRecordMedium
812 {
816 
818 typedef XnUInt32 XnCodecID;
819 
821 #define XN_CODEC_ID(c1, c2, c3, c4) (XnCodecID)((c4 << 24) | (c3 << 16) | (c2 << 8) | c1)
822 
829 {
835  XnStatus (XN_CALLBACK_TYPE* Open)(void* pCookie);
836 
845  XnStatus (XN_CALLBACK_TYPE* Write)(void* pCookie, const XnChar* strNodeName,
846  const void* pData, XnUInt32 nSize);
847 
855  XnStatus (XN_CALLBACK_TYPE* Seek)(void* pCookie, XnOSSeekType seekType, const XnInt32 nOffset);
856 
865  XnUInt32 (XN_CALLBACK_TYPE* Tell)(void* pCookie);
866 
872  void (XN_CALLBACK_TYPE* Close)(void* pCookie);
873 
881  XnStatus (XN_CALLBACK_TYPE* Seek64)(void* pCookie, XnOSSeekType seekType, const XnInt64 nOffset);
882 
891  XnUInt64 (XN_CALLBACK_TYPE* Tell64)(void* pCookie);
892 
894 
901 {
907  XnStatus (XN_CALLBACK_TYPE* Open)(void* pCookie);
908 
918  XnStatus (XN_CALLBACK_TYPE* Read)(void* pCookie, void* pBuffer, XnUInt32 nSize, XnUInt32* pnBytesRead);
919 
927  XnStatus (XN_CALLBACK_TYPE* Seek)(void* pCookie, XnOSSeekType seekType, const XnInt32 nOffset);
928 
936  XnUInt32 (XN_CALLBACK_TYPE* Tell)(void* pCookie);
937 
943  void (XN_CALLBACK_TYPE* Close)(void* pCookie);
944 
952  XnStatus (XN_CALLBACK_TYPE* Seek64)(void* pCookie, XnOSSeekType seekType, const XnInt64 nOffset);
953 
962  XnUInt64 (XN_CALLBACK_TYPE* Tell64)(void* pCookie);
963 
965 
969 typedef struct XnNodeNotifications
970 {
977  XnStatus (XN_CALLBACK_TYPE* OnNodeAdded)
978  (void* pCookie, const XnChar* strNodeName, XnProductionNodeType type,
979  XnCodecID compression);
980 
987  XnStatus (XN_CALLBACK_TYPE* OnNodeRemoved)
988  (void* pCookie, const XnChar* strNodeName);
989 
998  XnStatus (XN_CALLBACK_TYPE* OnNodeIntPropChanged)
999  (void* pCookie, const XnChar* strNodeName,
1000  const XnChar* strPropName, XnUInt64 nValue);
1001 
1010  XnStatus (XN_CALLBACK_TYPE* OnNodeRealPropChanged)
1011  (void* pCookie, const XnChar* strNodeName,
1012  const XnChar* strPropName, XnDouble dValue);
1013 
1022  XnStatus (XN_CALLBACK_TYPE* OnNodeStringPropChanged)
1023  (void* pCookie, const XnChar* strNodeName,
1024  const XnChar* strPropName, const XnChar* strValue);
1025 
1035  XnStatus (XN_CALLBACK_TYPE* OnNodeGeneralPropChanged)
1036  (void* pCookie, const XnChar* strNodeName,
1037  const XnChar* strPropName, XnUInt32 nBufferSize, const void* pBuffer);
1038 
1045  XnStatus (XN_CALLBACK_TYPE* OnNodeStateReady)
1046  (void* pCookie, const XnChar* strNodeName);
1047 
1057  XnStatus (XN_CALLBACK_TYPE* OnNodeNewData)
1058  (void* pCookie, const XnChar* strNodeName,
1059  XnUInt64 nTimeStamp, XnUInt32 nFrame, const void* pData, XnUInt32 nSize);
1060 
1062 
1064 typedef struct XnUInt32XYPair
1065 {
1066  XnUInt32 X;
1067  XnUInt32 Y;
1068 } XnUInt32XYPair;
1069 
1071 typedef struct XnOutputMetaData
1072 {
1074  XnUInt64 nTimestamp;
1075 
1077  XnUInt32 nFrameID;
1078 
1080  XnUInt32 nDataSize;
1081 
1083  XnBool bIsNew;
1084 
1086 
1088 typedef struct XnMapMetaData
1089 {
1092 
1095 
1098 
1101 
1104 
1106  XnUInt32 nFPS;
1107 } XnMapMetaData;
1108 
1110 typedef struct XnDepthMetaData
1111 {
1114 
1117 
1120 } XnDepthMetaData;
1121 
1123 typedef struct XnImageMetaData
1124 {
1127 
1129  const XnUInt8* pData;
1130 } XnImageMetaData;
1131 
1133 typedef struct XnIRMetaData
1134 {
1137 
1140 } XnIRMetaData;
1141 
1142 typedef struct XnAudioMetaData
1143 {
1146 
1149 
1151  const XnUInt8* pData;
1152 } XnAudioMetaData;
1153 
1154 typedef struct XnSceneMetaData
1155 {
1158 
1160  const XnLabel* pData;
1161 } XnSceneMetaData;
1162 
1163 #if XN_PLATFORM != XN_PLATFORM_ARC
1164 #pragma pack (pop)
1165 #endif
1166 
1167 #endif //__XN_TYPES_H__
Definition: XnTypes.h:482
void(* XnHandUpdate)(XnNodeHandle hNode, XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, void *pCookie)
Definition: XnTypes.h:719
Definition: XnTypes.h:611
struct XnUInt32XYPair XnUInt32XYPair
Definition: XnTypes.h:666
Definition: XnTypes.h:600
Definition: XnTypes.h:618
Definition: XnTypes.h:513
XnUInt32 XnUserID
Definition: XnTypes.h:525
Definition: XnTypes.h:403
Definition: XnTypes.h:112
struct XnVector3D XnVector3D
Definition: XnTypes.h:682
XnSkeletonJointPosition position
Definition: XnTypes.h:582
XnMapMetaData * pMap
Definition: XnTypes.h:1157
Definition: XnTypes.h:648
XnSampleRate
Definition: XnTypes.h:421
Definition: XnTypes.h:136
Definition: XnTypes.h:127
XnUInt32XYPair Offset
Definition: XnTypes.h:1097
Definition: XnTypes.h:814
struct XnProductionNodeDescription XnProductionNodeDescription
void * XnModuleNodeHandle
Definition: XnTypes.h:219
struct XnEnumerationErrors XnEnumerationErrors
Definition: XnTypes.h:214
Definition: XnTypes.h:398
Definition: XnTypes.h:261
XnUInt8 nBlue
Definition: XnTypes.h:265
XnUInt32 XnLockHandle
Definition: XnTypes.h:87
struct XnDepthMetaData XnDepthMetaData
void(* XnFreeHandler)(const void *pData)
Definition: XnTypes.h:242
Definition: XnTypes.h:664
Definition: XnTypes.h:115
Definition: XnTypes.h:614
Definition: XnTypes.h:492
XnOutputMetaData * pOutput
Definition: XnTypes.h:1091
struct XnBoundingBox3D XnBoundingBox3D
Definition: XnTypes.h:680
Definition: XnTypes.h:162
void(* XnCalibrationInProgress)(XnNodeHandle hNode, XnUserID user, XnCalibrationStatus calibrationError, void *pCookie)
Definition: XnTypes.h:786
Definition: XnTypes.h:670
Definition: XnTypes.h:672
Definition: XnTypes.h:133
Definition: XnTypes.h:595
void(* XnHandDestroy)(XnNodeHandle hNode, XnUserID user, XnFloat fTime, void *pCookie)
Definition: XnTypes.h:729
XnPlayerSeekOrigin
Definition: XnTypes.h:510
XnVector3D vNormal
Definition: XnTypes.h:542
XnUInt32 nDataSize
Definition: XnTypes.h:1080
XnBool bEnabled
Definition: XnTypes.h:468
Definition: XnTypes.h:669
Definition: XnTypes.h:151
XnUInt16 nXSize
Definition: XnTypes.h:474
XnVector3D position
Definition: XnTypes.h:555
XnOutputMetaData * pOutput
Definition: XnTypes.h:1145
Definition: XnTypes.h:121
XnWaveOutputMode Wave
Definition: XnTypes.h:1148
XnUInt8 XnGrayscale8Pixel
Definition: XnTypes.h:278
XnFloat XnConfidence
Definition: XnTypes.h:526
XnRecordMedium
Definition: XnTypes.h:811
Definition: XnTypes.h:1142
XnUInt8 nU
Definition: XnTypes.h:271
Definition: XnTypes.h:141
XnPoseDetectionStatus
Definition: XnTypes.h:642
Definition: XnTypes.h:402
void(* XnPoseDetectionCallback)(XnNodeHandle hNode, const XnChar *strPose, XnUserID user, void *pCookie)
Definition: XnTypes.h:798
XnUInt16 XnGrayscale16Pixel
Definition: XnTypes.h:281
Definition: XnTypes.h:900
Definition: XnTypes.h:192
Definition: XnTypes.h:644
XnBool bIsNew
Definition: XnTypes.h:1083
struct XnIRMetaData XnIRMetaData
XnUInt32 nSampleRate
Definition: XnTypes.h:436
Definition: XnModuleInterface.h:110
Definition: XnTypes.h:649
Definition: XnTypes.h:103
Definition: XnTypes.h:609
XnUInt32 X
Definition: XnTypes.h:1066
XnPowerLineFrequency
Definition: XnTypes.h:517
Definition: XnTypes.h:638
void(* XnCalibrationComplete)(XnNodeHandle hNode, XnUserID user, XnCalibrationStatus calibrationError, void *pCookie)
Definition: XnTypes.h:787
Definition: XnTypes.h:529
const XnIRPixel * pData
Definition: XnTypes.h:1139
Definition: XnTypes.h:657
Definition: XnTypes.h:390
Definition: XnTypes.h:681
Definition: XnTypes.h:1064
Definition: XnTypes.h:568
struct XnPlayerInputStreamInterface XnPlayerInputStreamInterface
Definition: XnTypes.h:465
Definition: XnTypes.h:593
Definition: XnTypes.h:607
void(* XnHandCreate)(XnNodeHandle hNode, XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, void *pCookie)
Definition: XnTypes.h:708
Definition: XnTypes.h:514
Definition: XnTypes.h:430
const XnDepthPixel * pData
Definition: XnTypes.h:1116
Definition: XnTypes.h:645
XnUInt32 XnStatus
Definition: XnStatus.h:34
XnFloat Y
Definition: XnTypes.h:447
Definition: XnTypes.h:658
Definition: XnTypes.h:613
XnUInt32XYPair Res
Definition: XnTypes.h:1094
Definition: XnTypes.h:495
Definition: XnTypes.h:969
struct XnOutputMetaData XnOutputMetaData
XnMapMetaData * pMap
Definition: XnTypes.h:1126
void(* XnGestureIntermediateStageCompleted)(XnNodeHandle hNode, const XnChar *strGesture, const XnPoint3D *pPosition, void *pCookie)
Definition: XnTypes.h:764
XnUInt32XYPair FullRes
Definition: XnTypes.h:1100
Definition: XnTypes.h:424
XnUInt32 nFPS
Definition: XnTypes.h:418
Definition: XnTypes.h:665
Definition: XnTypes.h:579
Definition: XnTypes.h:647
Definition: XnTypes.h:674
void(* XnGestureProgress)(XnNodeHandle hNode, const XnChar *strGesture, const XnPoint3D *pPosition, XnFloat fProgress, void *pCookie)
Definition: XnTypes.h:762
Definition: XnTypes.h:399
struct XnSkeletonJointPosition XnSkeletonJointPosition
XnConfidence fConfidence
Definition: XnTypes.h:558
Definition: XnTypes.h:1110
XnUInt16 XnDepthPixel
Definition: XnTypes.h:255
Definition: XnTypes.h:142
Definition: XnTypes.h:668
Definition: XnTypes.h:520
struct XnMatrix3X3 XnMatrix3X3
Definition: XnTypes.h:393
XnInt32 XnProductionNodeType
Definition: XnTypes.h:92
#define XN_MAX_LICENSE_LENGTH
Definition: XnTypes.h:41
Definition: XnTypes.h:521
Definition: XnTypes.h:602
Definition: XnTypes.h:401
Definition: XnTypes.h:616
#define XN_MAX_NAME_LENGTH
Definition: XnTypes.h:35
Definition: XnTypes.h:444
void(* XnErrorStateChangedHandler)(XnStatus errorState, void *pCookie)
Definition: XnTypes.h:235
struct XnInternalNodeData * XnNodeHandle
Definition: XnTypes.h:82
XnPredefinedProductionNodeType
Definition: XnTypes.h:97
XnPixelFormat PixelFormat
Definition: XnTypes.h:1103
XnSkeletonJointOrientation orientation
Definition: XnTypes.h:584
struct XnNodeInfoListIterator XnNodeInfoListIterator
Definition: XnTypes.h:404
struct XnSceneMetaData XnSceneMetaData
Definition: XnTypes.h:612
void(* XnStateChangedHandler)(XnNodeHandle hNode, void *pCookie)
Definition: XnTypes.h:227
struct XnMapMetaData XnMapMetaData
Definition: XnTypes.h:1123
XnUInt8 nChannels
Definition: XnTypes.h:438
XnUInt8 nMinor
Definition: XnTypes.h:154
struct XnYUV422DoublePixel XnYUV422DoublePixel
struct XnPlane3D XnPlane3D
Definition: XnTypes.h:667
XnUInt16 nYOffset
Definition: XnTypes.h:472
struct XnNodeInfoList XnNodeInfoList
Definition: XnTypes.h:187
XnUInt32 nFPS
Definition: XnTypes.h:1106
Definition: XnTypes.h:118
Definition: XnTypes.h:431
XnPoseDetectionState
Definition: XnTypes.h:654
struct XnRecorderOutputStreamInterface XnRecorderOutputStreamInterface
Definition: XnTypes.h:1154
Definition: XnTypes.h:391
struct XnAudioMetaData XnAudioMetaData
XnOSSeekType
Definition: XnOS.h:95
Definition: XnTypes.h:411
void(* XnGestureReadyForNextIntermediateStage)(XnNodeHandle hNode, const XnChar *strGesture, const XnPoint3D *pPosition, void *pCookie)
Definition: XnTypes.h:765
void(* XnCalibrationStart)(XnNodeHandle hNode, XnUserID user, void *pCookie)
Definition: XnTypes.h:775
Definition: XnTypes.h:598
XnUInt16 XnLabel
Definition: XnTypes.h:287
XnConfidence fConfidence
Definition: XnTypes.h:573
Definition: XnTypes.h:427
Definition: XnTypes.h:512
XnGrayscale16Pixel XnIRPixel
Definition: XnTypes.h:284
Definition: XnTypes.h:679
Definition: XnTypes.h:269
Definition: XnTypes.h:397
XnVersion Version
Definition: XnTypes.h:171
Definition: XnTypes.h:646
Definition: XnTypes.h:635
Definition: XnTypes.h:109
struct XnSkeletonJointTransformation XnSkeletonJointTransformation
XnUInt8 nV
Definition: XnTypes.h:273
XnMapMetaData * pMap
Definition: XnTypes.h:1136
XnNodeInfoListNode * pCurrent
Definition: XnTypes.h:194
XnUInt32 nFrameID
Definition: XnTypes.h:1077
Definition: XnTypes.h:496
void * XnCallbackHandle
Definition: XnTypes.h:247
XnCalibrationStatus
Definition: XnTypes.h:661
Definition: XnTypes.h:456
Definition: XnTypes.h:606
struct XnVersion XnVersion
void(* XnContextShuttingDownHandler)(XnContext *pContext, void *pCookie)
Definition: XnTypes.h:244
Definition: XnTypes.h:144
struct XnNodeQuery XnNodeQuery
Definition: XnTypes.h:197
XnProductionNodeType Type
Definition: XnTypes.h:165
Definition: XnTypes.h:139
XnUInt32 XnCodecID
Definition: XnTypes.h:818
struct XnNodeInfo XnNodeInfo
Definition: XnTypes.h:177
Definition: XnTypes.h:632
Definition: XnTypes.h:493
struct XnNodeNotifications XnNodeNotifications
void(* XnUserHandler)(XnNodeHandle hNode, XnUserID user, void *pCookie)
Definition: XnTypes.h:696
void(* XnGestureRecognized)(XnNodeHandle hNode, const XnChar *strGesture, const XnPoint3D *pIDPosition, const XnPoint3D *pEndPosition, void *pCookie)
Definition: XnTypes.h:752
const XnLabel * pData
Definition: XnTypes.h:1160
Definition: XnTypes.h:1088
struct XnCropping XnCropping
Definition: XnTypes.h:423
Definition: XnTypes.h:202
Definition: XnTypes.h:394
Definition: XnTypes.h:124
XnUInt8 nGreen
Definition: XnTypes.h:264
Definition: XnTypes.h:396
XnPoint3D LeftBottomNear
Definition: XnTypes.h:458
Definition: XnTypes.h:685
Definition: XnTypes.h:426
struct XnRGB24Pixel XnRGB24Pixel
Definition: XnTypes.h:140
struct XnSupportedPixelFormats XnSupportedPixelFormats
XnUInt32 nYRes
Definition: XnTypes.h:416
XnUInt32 nBuild
Definition: XnTypes.h:156
XnUInt32 nXRes
Definition: XnTypes.h:414
Definition: XnTypes.h:592
XnUInt8 nMajor
Definition: XnTypes.h:153
struct XnLicense XnLicense
XnUInt16 nBitsPerSample
Definition: XnTypes.h:437
Definition: XnTypes.h:683
XnDouble fVFOV
Definition: XnTypes.h:487
XnUInt16 nMaintenance
Definition: XnTypes.h:155
const XnUInt8 * pData
Definition: XnTypes.h:1151
XnSkeletonJoint
Definition: XnTypes.h:590
XnUInt16 nYSize
Definition: XnTypes.h:476
Definition: XnTypes.h:405
Definition: XnTypes.h:400
const XnUInt8 * pData
Definition: XnTypes.h:1129
Definition: XnTypes.h:552
XnUInt8 nY1
Definition: XnTypes.h:272
Definition: XnTypes.h:684
Definition: XnTypes.h:828
Definition: XnTypes.h:434
XnUInt8 nY2
Definition: XnTypes.h:274
struct XnSkeletonJointOrientation XnSkeletonJointOrientation
Definition: XnTypes.h:395
Definition: XnTypes.h:1133
XnPoint3D ptPoint
Definition: XnTypes.h:545
XnSkeletonProfile
Definition: XnTypes.h:623
Definition: XnTypes.h:389
Definition: XnTypes.h:671
struct XnMapOutputMode XnMapOutputMode
Definition: XnTypes.h:604
XnDepthPixel nZRes
Definition: XnTypes.h:1119
XnPixelFormat
Definition: XnTypes.h:490
Definition: XnTypes.h:617
Definition: XnTypes.h:599
void(* XnHandTouchingFOVEdge)(XnNodeHandle hNode, XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, XnDirection eDir, void *pCookie)
Definition: XnTypes.h:741
Definition: XnTypes.h:130
Definition: XnTypes.h:499
Definition: XnTypes.h:597
Definition: XnTypes.h:425
XnUInt64 nTimestamp
Definition: XnTypes.h:1074
Definition: XnTypes.h:656
XnPoint3D RightTopFar
Definition: XnTypes.h:459
Definition: XnTypes.h:539
Definition: XnTypes.h:429
Definition: XnTypes.h:428
struct XnFieldOfView XnFieldOfView
struct XnImageMetaData XnImageMetaData
Definition: XnTypes.h:608
XnDirection
Definition: XnTypes.h:677
XnFloat Z
Definition: XnTypes.h:448
struct XnNodeInfoListNode XnNodeInfoListNode
Definition: XnTypes.h:182
Definition: XnTypes.h:494
struct XnContext XnContext
Definition: XnTypes.h:77
void(* XnPoseDetectionInProgress)(XnNodeHandle hNode, const XnChar *strPose, XnUserID user, XnPoseDetectionStatus poseDetectionError, void *pCookie)
Definition: XnTypes.h:800
XnDouble fHFOV
Definition: XnTypes.h:485
Definition: XnTypes.h:106
Definition: XnTypes.h:605
Definition: XnTypes.h:619
Definition: XnTypes.h:388
Definition: XnTypes.h:392
XnResolution
Definition: XnTypes.h:386
XnVector3D XnPoint3D
Definition: XnTypes.h:451
XnMapMetaData * pMap
Definition: XnTypes.h:1113
Definition: XnTypes.h:663
XnFloat X
Definition: XnTypes.h:446
Definition: XnTypes.h:594
XnUInt16 nXOffset
Definition: XnTypes.h:470
XnUInt8 nRed
Definition: XnTypes.h:263
Definition: XnTypes.h:626
void(* XnCalibrationEnd)(XnNodeHandle hNode, XnUserID user, XnBool bSuccess, void *pCookie)
Definition: XnTypes.h:784
XnUInt32 Y
Definition: XnTypes.h:1067
XnMatrix3X3 orientation
Definition: XnTypes.h:571
Definition: XnTypes.h:519
Definition: XnTypes.h:100
Definition: XnTypes.h:673
struct XnWaveOutputMode XnWaveOutputMode
Definition: XnTypes.h:1071
Definition: XnTypes.h:601
Definition: XnTypes.h:629