OpenNI 1.5.4
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 
256 typedef void (XN_CALLBACK_TYPE* XnNodeCreationHandler)(XnContext* pContext, XnNodeHandle hCreatedNode, void* pCookie);
257 
265 typedef void (XN_CALLBACK_TYPE* XnNodeDestructionHandler)(XnContext* pContext, const XnChar* strDestroyedNodeName, void* pCookie);
266 
268 typedef void* XnCallbackHandle;
269 
271 
272 //---------------------------------------------------------------------------
273 // 3D Vision Types
274 //---------------------------------------------------------------------------
276 typedef XnUInt16 XnDepthPixel;
277 
279 #define XN_DEPTH_NO_SAMPLE_VALUE ((XnDepthPixel)0)
280 
282 typedef struct XnRGB24Pixel
283 {
284  XnUInt8 nRed;
285  XnUInt8 nGreen;
286  XnUInt8 nBlue;
287 } XnRGB24Pixel;
288 
290 typedef struct XnYUV422DoublePixel
291 {
292  XnUInt8 nU;
293  XnUInt8 nY1;
294  XnUInt8 nV;
295  XnUInt8 nY2;
297 
299 typedef XnUInt8 XnGrayscale8Pixel;
300 
302 typedef XnUInt16 XnGrayscale16Pixel;
303 
306 
308 typedef XnUInt16 XnLabel;
309 
310 //---------------------------------------------------------------------------
311 // Generators Capabilities
312 //---------------------------------------------------------------------------
313 #define XN_CAPABILITY_EXTENDED_SERIALIZATION "ExtendedSerialization"
314 #define XN_CAPABILITY_MIRROR "Mirror"
315 #define XN_CAPABILITY_ALTERNATIVE_VIEW_POINT "AlternativeViewPoint"
316 #define XN_CAPABILITY_CROPPING "Cropping"
317 #define XN_CAPABILITY_USER_POSITION "UserPosition"
318 #define XN_CAPABILITY_SKELETON "User::Skeleton"
319 #define XN_CAPABILITY_POSE_DETECTION "User::PoseDetection"
320 #define XN_CAPABILITY_LOCK_AWARE "LockAware"
321 #define XN_CAPABILITY_ERROR_STATE "ErrorState"
322 #define XN_CAPABILITY_FRAME_SYNC "FrameSync"
323 #define XN_CAPABILITY_DEVICE_IDENTIFICATION "DeviceIdentification"
324 #define XN_CAPABILITY_BRIGHTNESS "Brightness"
325 #define XN_CAPABILITY_CONTRAST "Contrast"
326 #define XN_CAPABILITY_HUE "Hue"
327 #define XN_CAPABILITY_SATURATION "Saturation"
328 #define XN_CAPABILITY_SHARPNESS "Sharpness"
329 #define XN_CAPABILITY_GAMMA "Gamma"
330 #define XN_CAPABILITY_COLOR_TEMPERATURE "ColorTemperature"
331 #define XN_CAPABILITY_BACKLIGHT_COMPENSATION "BacklightCompensation"
332 #define XN_CAPABILITY_GAIN "Gain"
333 #define XN_CAPABILITY_PAN "Pan"
334 #define XN_CAPABILITY_TILT "Tilt"
335 #define XN_CAPABILITY_ROLL "Roll"
336 #define XN_CAPABILITY_ZOOM "Zoom"
337 #define XN_CAPABILITY_EXPOSURE "Exposure"
338 #define XN_CAPABILITY_IRIS "Iris"
339 #define XN_CAPABILITY_FOCUS "Focus"
340 #define XN_CAPABILITY_LOW_LIGHT_COMPENSATION "LowLightCompensation"
341 #define XN_CAPABILITY_ANTI_FLICKER "AntiFlicker"
342 #define XN_CAPABILITY_HAND_TOUCHING_FOV_EDGE "Hands::HandTouchingFOVEdge"
343 
344 // Backwards compatibility - typo was fixed
345 #define XN_CAPABILITY_ANTI_FILCKER XN_CAPABILITY_ANTI_FLICKER
346 
347 // deprecated pragma is only supported in Visual Studio
348 #if (XN_PLATFORM == XN_PLATFORM_WIN32)
349 #pragma deprecated("XN_CAPABILITY_ANTI_FILCKER")
350 #endif
351 
352 //---------------------------------------------------------------------------
353 // Generators API Structs
354 //---------------------------------------------------------------------------
355 
356 #define XN_QQVGA_X_RES 160
357 #define XN_QQVGA_Y_RES 120
358 
359 #define XN_CGA_X_RES 320
360 #define XN_CGA_Y_RES 200
361 
362 #define XN_QVGA_X_RES 320
363 #define XN_QVGA_Y_RES 240
364 
365 #define XN_VGA_X_RES 640
366 #define XN_VGA_Y_RES 480
367 
368 #define XN_SVGA_X_RES 800
369 #define XN_SVGA_Y_RES 600
370 
371 #define XN_XGA_X_RES 1024
372 #define XN_XGA_Y_RES 768
373 
374 #define XN_720P_X_RES 1280
375 #define XN_720P_Y_RES 720
376 
377 #define XN_SXGA_X_RES 1280
378 #define XN_SXGA_Y_RES 1024
379 
380 #define XN_UXGA_X_RES 1600
381 #define XN_UXGA_Y_RES 1200
382 
383 #define XN_1080P_X_RES 1920
384 #define XN_1080P_Y_RES 1080
385 
386 #define XN_QCIF_X_RES 176
387 #define XN_QCIF_Y_RES 144
388 
389 #define XN_240P_X_RES 423
390 #define XN_240P_Y_RES 240
391 
392 #define XN_CIF_X_RES 352
393 #define XN_CIF_Y_RES 288
394 
395 #define XN_WVGA_X_RES 640
396 #define XN_WVGA_Y_RES 360
397 
398 #define XN_480P_X_RES 864
399 #define XN_480P_Y_RES 480
400 
401 #define XN_576P_X_RES 1024
402 #define XN_576P_Y_RES 576
403 
404 #define XN_DV_X_RES 960
405 #define XN_DV_Y_RES 720
406 
407 typedef enum XnResolution
408 {
426  XN_RES_DV = 17,
427 } XnResolution;
428 
432 typedef struct XnMapOutputMode
433 {
435  XnUInt32 nXRes;
437  XnUInt32 nYRes;
439  XnUInt32 nFPS;
441 
442 typedef enum XnSampleRate
443 {
453 } XnSampleRate;
454 
455 typedef struct XnWaveOutputMode
456 {
457  XnUInt32 nSampleRate;
458  XnUInt16 nBitsPerSample;
459  XnUInt8 nChannels;
461 
465 typedef struct XnVector3D
466 {
467  XnFloat X;
468  XnFloat Y;
469  XnFloat Z;
470 } XnVector3D;
471 
473 
477 typedef struct XnBoundingBox3D
478 {
482 
486 typedef struct XnCropping
487 {
489  XnBool bEnabled;
491  XnUInt16 nXOffset;
493  XnUInt16 nYOffset;
495  XnUInt16 nXSize;
497  XnUInt16 nYSize;
498 } XnCropping;
499 
503 typedef struct XnFieldOfView
504 {
506  XnDouble fHFOV;
508  XnDouble fVFOV;
509 } XnFieldOfView;
510 
511 typedef enum XnPixelFormat
512 {
518 } XnPixelFormat;
519 
521 {
522  XnBool m_bRGB24 : 1;
523  XnBool m_bYUV422 : 1;
524  XnBool m_bGrayscale8Bit : 1;
525  XnBool m_bGrayscale16Bit : 1;
526  XnBool m_bMJPEG : 1;
527  XnUInt m_nPadding : 3;
528  XnUInt m_nReserved : 24;
530 
531 typedef enum XnPlayerSeekOrigin
532 {
537 
539 {
544 
545 // User
546 typedef XnUInt32 XnUserID;
547 typedef XnFloat XnConfidence;
548 
550 typedef struct XnMatrix3X3
551 {
553  XnFloat elements[9];
554 } XnMatrix3X3;
555 
560 typedef struct XnPlane3D
561 {
564 
567 } XnPlane3D;
568 
574 {
577 
581 
590 {
596 
601 {
607 
611 typedef enum XnSkeletonJoint
612 {
617 
624 
631 
636 
642 
644 typedef enum XnSkeletonProfile
645 {
648 
651 
654 
657 
661 
664 {
672 
673 
676 {
683 {
697 
698 typedef enum XnDirection
699 {
707 } XnDirection;
708 
709 // User
717 typedef void (XN_CALLBACK_TYPE* XnUserHandler)(XnNodeHandle hNode, XnUserID user, void* pCookie);
718 
719 // Hands
729 typedef void (XN_CALLBACK_TYPE* XnHandCreate)(XnNodeHandle hNode, XnUserID user, const XnPoint3D* pPosition, XnFloat fTime, void* pCookie);
730 
740 typedef void (XN_CALLBACK_TYPE* XnHandUpdate)(XnNodeHandle hNode, XnUserID user, const XnPoint3D* pPosition, XnFloat fTime, void* pCookie);
741 
750 typedef void (XN_CALLBACK_TYPE* XnHandDestroy)(XnNodeHandle hNode, XnUserID user, XnFloat fTime, void* pCookie);
751 
762 typedef void (XN_CALLBACK_TYPE* XnHandTouchingFOVEdge)(XnNodeHandle hNode, XnUserID user, const XnPoint3D* pPosition, XnFloat fTime, XnDirection eDir, void* pCookie);
763 // Gesture Module
773 typedef void (XN_CALLBACK_TYPE* XnGestureRecognized)(XnNodeHandle hNode, const XnChar* strGesture, const XnPoint3D* pIDPosition, const XnPoint3D* pEndPosition, void* pCookie);
783 typedef void (XN_CALLBACK_TYPE* XnGestureProgress)(XnNodeHandle hNode, const XnChar* strGesture, const XnPoint3D* pPosition, XnFloat fProgress, void* pCookie);
784 
785 typedef void (XN_CALLBACK_TYPE* XnGestureIntermediateStageCompleted)(XnNodeHandle hNode, const XnChar* strGesture, const XnPoint3D* pPosition, void* pCookie);
786 typedef void (XN_CALLBACK_TYPE* XnGestureReadyForNextIntermediateStage)(XnNodeHandle hNode, const XnChar* strGesture, const XnPoint3D* pPosition, void* pCookie);
787 
788 // Skeleton
796 typedef void (XN_CALLBACK_TYPE* XnCalibrationStart)(XnNodeHandle hNode, XnUserID user, void* pCookie);
805 typedef void (XN_CALLBACK_TYPE* XnCalibrationEnd)(XnNodeHandle hNode, XnUserID user, XnBool bSuccess, void* pCookie);
806 
807 typedef void (XN_CALLBACK_TYPE* XnCalibrationInProgress)(XnNodeHandle hNode, XnUserID user, XnCalibrationStatus calibrationError, void* pCookie);
808 typedef void (XN_CALLBACK_TYPE* XnCalibrationComplete)(XnNodeHandle hNode, XnUserID user, XnCalibrationStatus calibrationError, void* pCookie);
809 
810 // Pose Detection
819 typedef void (XN_CALLBACK_TYPE* XnPoseDetectionCallback)(XnNodeHandle hNode, const XnChar* strPose, XnUserID user, void* pCookie);
820 
821 typedef void (XN_CALLBACK_TYPE* XnPoseDetectionInProgress)(XnNodeHandle hNode, const XnChar* strPose, XnUserID user, XnPoseDetectionStatus poseDetectionError, void* pCookie);
822 
823 //---------------------------------------------------------------------------
824 // Recorder Types
825 //---------------------------------------------------------------------------
826 
832 typedef enum XnRecordMedium
833 {
837 
839 typedef XnUInt32 XnCodecID;
840 
842 #define XN_CODEC_ID(c1, c2, c3, c4) (XnCodecID)((c4 << 24) | (c3 << 16) | (c2 << 8) | c1)
843 
850 {
856  XnStatus (XN_CALLBACK_TYPE* Open)(void* pCookie);
857 
866  XnStatus (XN_CALLBACK_TYPE* Write)(void* pCookie, const XnChar* strNodeName,
867  const void* pData, XnUInt32 nSize);
868 
876  XnStatus (XN_CALLBACK_TYPE* Seek)(void* pCookie, XnOSSeekType seekType, const XnInt32 nOffset);
877 
886  XnUInt32 (XN_CALLBACK_TYPE* Tell)(void* pCookie);
887 
893  void (XN_CALLBACK_TYPE* Close)(void* pCookie);
894 
902  XnStatus (XN_CALLBACK_TYPE* Seek64)(void* pCookie, XnOSSeekType seekType, const XnInt64 nOffset);
903 
912  XnUInt64 (XN_CALLBACK_TYPE* Tell64)(void* pCookie);
913 
915 
922 {
928  XnStatus (XN_CALLBACK_TYPE* Open)(void* pCookie);
929 
939  XnStatus (XN_CALLBACK_TYPE* Read)(void* pCookie, void* pBuffer, XnUInt32 nSize, XnUInt32* pnBytesRead);
940 
948  XnStatus (XN_CALLBACK_TYPE* Seek)(void* pCookie, XnOSSeekType seekType, const XnInt32 nOffset);
949 
957  XnUInt32 (XN_CALLBACK_TYPE* Tell)(void* pCookie);
958 
964  void (XN_CALLBACK_TYPE* Close)(void* pCookie);
965 
973  XnStatus (XN_CALLBACK_TYPE* Seek64)(void* pCookie, XnOSSeekType seekType, const XnInt64 nOffset);
974 
983  XnUInt64 (XN_CALLBACK_TYPE* Tell64)(void* pCookie);
984 
986 
990 typedef struct XnNodeNotifications
991 {
998  XnStatus (XN_CALLBACK_TYPE* OnNodeAdded)
999  (void* pCookie, const XnChar* strNodeName, XnProductionNodeType type,
1000  XnCodecID compression);
1001 
1008  XnStatus (XN_CALLBACK_TYPE* OnNodeRemoved)
1009  (void* pCookie, const XnChar* strNodeName);
1010 
1019  XnStatus (XN_CALLBACK_TYPE* OnNodeIntPropChanged)
1020  (void* pCookie, const XnChar* strNodeName,
1021  const XnChar* strPropName, XnUInt64 nValue);
1022 
1031  XnStatus (XN_CALLBACK_TYPE* OnNodeRealPropChanged)
1032  (void* pCookie, const XnChar* strNodeName,
1033  const XnChar* strPropName, XnDouble dValue);
1034 
1043  XnStatus (XN_CALLBACK_TYPE* OnNodeStringPropChanged)
1044  (void* pCookie, const XnChar* strNodeName,
1045  const XnChar* strPropName, const XnChar* strValue);
1046 
1056  XnStatus (XN_CALLBACK_TYPE* OnNodeGeneralPropChanged)
1057  (void* pCookie, const XnChar* strNodeName,
1058  const XnChar* strPropName, XnUInt32 nBufferSize, const void* pBuffer);
1059 
1066  XnStatus (XN_CALLBACK_TYPE* OnNodeStateReady)
1067  (void* pCookie, const XnChar* strNodeName);
1068 
1078  XnStatus (XN_CALLBACK_TYPE* OnNodeNewData)
1079  (void* pCookie, const XnChar* strNodeName,
1080  XnUInt64 nTimeStamp, XnUInt32 nFrame, const void* pData, XnUInt32 nSize);
1081 
1083 
1085 typedef struct XnUInt32XYPair
1086 {
1087  XnUInt32 X;
1088  XnUInt32 Y;
1089 } XnUInt32XYPair;
1090 
1092 typedef struct XnOutputMetaData
1093 {
1095  XnUInt64 nTimestamp;
1096 
1098  XnUInt32 nFrameID;
1099 
1101  XnUInt32 nDataSize;
1102 
1104  XnBool bIsNew;
1105 
1107 
1109 typedef struct XnMapMetaData
1110 {
1113 
1116 
1119 
1122 
1125 
1127  XnUInt32 nFPS;
1128 } XnMapMetaData;
1129 
1131 typedef struct XnDepthMetaData
1132 {
1135 
1138 
1141 } XnDepthMetaData;
1142 
1144 typedef struct XnImageMetaData
1145 {
1148 
1150  const XnUInt8* pData;
1151 } XnImageMetaData;
1152 
1154 typedef struct XnIRMetaData
1155 {
1158 
1161 } XnIRMetaData;
1162 
1163 typedef struct XnAudioMetaData
1164 {
1167 
1170 
1172  const XnUInt8* pData;
1173 } XnAudioMetaData;
1174 
1175 typedef struct XnSceneMetaData
1176 {
1179 
1181  const XnLabel* pData;
1182 } XnSceneMetaData;
1183 
1184 #if XN_PLATFORM != XN_PLATFORM_ARC
1185 #pragma pack (pop)
1186 #endif
1187 
1188 #endif //__XN_TYPES_H__
Definition: XnTypes.h:503
void(* XnHandUpdate)(XnNodeHandle hNode, XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, void *pCookie)
Definition: XnTypes.h:740
Definition: XnTypes.h:632
struct XnUInt32XYPair XnUInt32XYPair
Definition: XnTypes.h:687
Definition: XnTypes.h:621
Definition: XnTypes.h:639
Definition: XnTypes.h:534
XnUInt32 XnUserID
Definition: XnTypes.h:546
Definition: XnTypes.h:424
Definition: XnTypes.h:112
struct XnVector3D XnVector3D
Definition: XnTypes.h:703
XnSkeletonJointPosition position
Definition: XnTypes.h:603
XnMapMetaData * pMap
Definition: XnTypes.h:1178
Definition: XnTypes.h:669
XnSampleRate
Definition: XnTypes.h:442
Definition: XnTypes.h:136
Definition: XnTypes.h:127
XnUInt32XYPair Offset
Definition: XnTypes.h:1118
Definition: XnTypes.h:835
struct XnProductionNodeDescription XnProductionNodeDescription
void * XnModuleNodeHandle
Definition: XnTypes.h:219
struct XnEnumerationErrors XnEnumerationErrors
Definition: XnTypes.h:214
Definition: XnTypes.h:419
Definition: XnTypes.h:282
XnUInt8 nBlue
Definition: XnTypes.h:286
XnUInt32 XnLockHandle
Definition: XnTypes.h:87
struct XnDepthMetaData XnDepthMetaData
void(* XnFreeHandler)(const void *pData)
Definition: XnTypes.h:242
Definition: XnTypes.h:685
Definition: XnTypes.h:115
Definition: XnTypes.h:635
Definition: XnTypes.h:513
XnOutputMetaData * pOutput
Definition: XnTypes.h:1112
struct XnBoundingBox3D XnBoundingBox3D
Definition: XnTypes.h:701
Definition: XnTypes.h:162
void(* XnCalibrationInProgress)(XnNodeHandle hNode, XnUserID user, XnCalibrationStatus calibrationError, void *pCookie)
Definition: XnTypes.h:807
Definition: XnTypes.h:691
Definition: XnTypes.h:693
Definition: XnTypes.h:133
Definition: XnTypes.h:616
void(* XnHandDestroy)(XnNodeHandle hNode, XnUserID user, XnFloat fTime, void *pCookie)
Definition: XnTypes.h:750
XnPlayerSeekOrigin
Definition: XnTypes.h:531
XnVector3D vNormal
Definition: XnTypes.h:563
XnUInt32 nDataSize
Definition: XnTypes.h:1101
XnBool bEnabled
Definition: XnTypes.h:489
Definition: XnTypes.h:690
Definition: XnTypes.h:151
XnUInt16 nXSize
Definition: XnTypes.h:495
XnVector3D position
Definition: XnTypes.h:576
XnOutputMetaData * pOutput
Definition: XnTypes.h:1166
Definition: XnTypes.h:121
XnWaveOutputMode Wave
Definition: XnTypes.h:1169
XnUInt8 XnGrayscale8Pixel
Definition: XnTypes.h:299
XnFloat XnConfidence
Definition: XnTypes.h:547
XnRecordMedium
Definition: XnTypes.h:832
Definition: XnTypes.h:1163
XnUInt8 nU
Definition: XnTypes.h:292
Definition: XnTypes.h:141
XnPoseDetectionStatus
Definition: XnTypes.h:663
Definition: XnTypes.h:423
void(* XnPoseDetectionCallback)(XnNodeHandle hNode, const XnChar *strPose, XnUserID user, void *pCookie)
Definition: XnTypes.h:819
XnUInt16 XnGrayscale16Pixel
Definition: XnTypes.h:302
Definition: XnTypes.h:921
Definition: XnTypes.h:192
Definition: XnTypes.h:665
XnBool bIsNew
Definition: XnTypes.h:1104
struct XnIRMetaData XnIRMetaData
XnUInt32 nSampleRate
Definition: XnTypes.h:457
Definition: XnModuleInterface.h:109
Definition: XnTypes.h:670
Definition: XnTypes.h:103
Definition: XnTypes.h:630
XnUInt32 X
Definition: XnTypes.h:1087
XnPowerLineFrequency
Definition: XnTypes.h:538
Definition: XnTypes.h:659
void(* XnCalibrationComplete)(XnNodeHandle hNode, XnUserID user, XnCalibrationStatus calibrationError, void *pCookie)
Definition: XnTypes.h:808
Definition: XnTypes.h:550
const XnIRPixel * pData
Definition: XnTypes.h:1160
Definition: XnTypes.h:678
Definition: XnTypes.h:411
Definition: XnTypes.h:702
Definition: XnTypes.h:1085
Definition: XnTypes.h:589
struct XnPlayerInputStreamInterface XnPlayerInputStreamInterface
Definition: XnTypes.h:486
Definition: XnTypes.h:614
Definition: XnTypes.h:628
void(* XnHandCreate)(XnNodeHandle hNode, XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, void *pCookie)
Definition: XnTypes.h:729
Definition: XnTypes.h:535
Definition: XnTypes.h:451
const XnDepthPixel * pData
Definition: XnTypes.h:1137
Definition: XnTypes.h:666
XnUInt32 XnStatus
Definition: XnStatus.h:34
XnFloat Y
Definition: XnTypes.h:468
Definition: XnTypes.h:679
Definition: XnTypes.h:634
XnUInt32XYPair Res
Definition: XnTypes.h:1115
Definition: XnTypes.h:516
Definition: XnTypes.h:990
struct XnOutputMetaData XnOutputMetaData
XnMapMetaData * pMap
Definition: XnTypes.h:1147
void(* XnGestureIntermediateStageCompleted)(XnNodeHandle hNode, const XnChar *strGesture, const XnPoint3D *pPosition, void *pCookie)
Definition: XnTypes.h:785
XnUInt32XYPair FullRes
Definition: XnTypes.h:1121
Definition: XnTypes.h:445
XnUInt32 nFPS
Definition: XnTypes.h:439
Definition: XnTypes.h:686
Definition: XnTypes.h:600
Definition: XnTypes.h:668
Definition: XnTypes.h:695
void(* XnGestureProgress)(XnNodeHandle hNode, const XnChar *strGesture, const XnPoint3D *pPosition, XnFloat fProgress, void *pCookie)
Definition: XnTypes.h:783
Definition: XnTypes.h:420
struct XnSkeletonJointPosition XnSkeletonJointPosition
XnConfidence fConfidence
Definition: XnTypes.h:579
Definition: XnTypes.h:1131
XnUInt16 XnDepthPixel
Definition: XnTypes.h:276
Definition: XnTypes.h:142
Definition: XnTypes.h:689
Definition: XnTypes.h:541
struct XnMatrix3X3 XnMatrix3X3
Definition: XnTypes.h:414
XnInt32 XnProductionNodeType
Definition: XnTypes.h:92
#define XN_MAX_LICENSE_LENGTH
Definition: XnTypes.h:41
Definition: XnTypes.h:542
Definition: XnTypes.h:623
Definition: XnTypes.h:422
Definition: XnTypes.h:637
#define XN_MAX_NAME_LENGTH
Definition: XnTypes.h:35
Definition: XnTypes.h:465
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:1124
XnSkeletonJointOrientation orientation
Definition: XnTypes.h:605
struct XnNodeInfoListIterator XnNodeInfoListIterator
Definition: XnTypes.h:425
struct XnSceneMetaData XnSceneMetaData
void(* XnNodeCreationHandler)(XnContext *pContext, XnNodeHandle hCreatedNode, void *pCookie)
Definition: XnTypes.h:256
Definition: XnTypes.h:633
void(* XnStateChangedHandler)(XnNodeHandle hNode, void *pCookie)
Definition: XnTypes.h:227
struct XnMapMetaData XnMapMetaData
Definition: XnTypes.h:1144
XnUInt8 nChannels
Definition: XnTypes.h:459
XnUInt8 nMinor
Definition: XnTypes.h:154
struct XnYUV422DoublePixel XnYUV422DoublePixel
struct XnPlane3D XnPlane3D
Definition: XnTypes.h:688
XnUInt16 nYOffset
Definition: XnTypes.h:493
struct XnNodeInfoList XnNodeInfoList
Definition: XnTypes.h:187
XnUInt32 nFPS
Definition: XnTypes.h:1127
Definition: XnTypes.h:118
Definition: XnTypes.h:452
XnPoseDetectionState
Definition: XnTypes.h:675
struct XnRecorderOutputStreamInterface XnRecorderOutputStreamInterface
Definition: XnTypes.h:1175
Definition: XnTypes.h:412
struct XnAudioMetaData XnAudioMetaData
XnOSSeekType
Definition: XnOS.h:95
Definition: XnTypes.h:432
void(* XnGestureReadyForNextIntermediateStage)(XnNodeHandle hNode, const XnChar *strGesture, const XnPoint3D *pPosition, void *pCookie)
Definition: XnTypes.h:786
void(* XnCalibrationStart)(XnNodeHandle hNode, XnUserID user, void *pCookie)
Definition: XnTypes.h:796
Definition: XnTypes.h:619
XnUInt16 XnLabel
Definition: XnTypes.h:308
XnConfidence fConfidence
Definition: XnTypes.h:594
Definition: XnTypes.h:448
Definition: XnTypes.h:533
XnGrayscale16Pixel XnIRPixel
Definition: XnTypes.h:305
Definition: XnTypes.h:700
Definition: XnTypes.h:290
Definition: XnTypes.h:418
XnVersion Version
Definition: XnTypes.h:171
Definition: XnTypes.h:667
Definition: XnTypes.h:656
Definition: XnTypes.h:109
struct XnSkeletonJointTransformation XnSkeletonJointTransformation
XnUInt8 nV
Definition: XnTypes.h:294
XnMapMetaData * pMap
Definition: XnTypes.h:1157
XnNodeInfoListNode * pCurrent
Definition: XnTypes.h:194
XnUInt32 nFrameID
Definition: XnTypes.h:1098
Definition: XnTypes.h:517
void * XnCallbackHandle
Definition: XnTypes.h:268
XnCalibrationStatus
Definition: XnTypes.h:682
Definition: XnTypes.h:477
Definition: XnTypes.h:627
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:839
struct XnNodeInfo XnNodeInfo
Definition: XnTypes.h:177
Definition: XnTypes.h:653
Definition: XnTypes.h:514
struct XnNodeNotifications XnNodeNotifications
void(* XnUserHandler)(XnNodeHandle hNode, XnUserID user, void *pCookie)
Definition: XnTypes.h:717
void(* XnGestureRecognized)(XnNodeHandle hNode, const XnChar *strGesture, const XnPoint3D *pIDPosition, const XnPoint3D *pEndPosition, void *pCookie)
Definition: XnTypes.h:773
const XnLabel * pData
Definition: XnTypes.h:1181
Definition: XnTypes.h:1109
struct XnCropping XnCropping
Definition: XnTypes.h:444
Definition: XnTypes.h:202
Definition: XnTypes.h:415
Definition: XnTypes.h:124
XnUInt8 nGreen
Definition: XnTypes.h:285
Definition: XnTypes.h:417
XnPoint3D LeftBottomNear
Definition: XnTypes.h:479
Definition: XnTypes.h:706
Definition: XnTypes.h:447
struct XnRGB24Pixel XnRGB24Pixel
Definition: XnTypes.h:140
struct XnSupportedPixelFormats XnSupportedPixelFormats
XnUInt32 nYRes
Definition: XnTypes.h:437
XnUInt32 nBuild
Definition: XnTypes.h:156
XnUInt32 nXRes
Definition: XnTypes.h:435
Definition: XnTypes.h:613
XnUInt8 nMajor
Definition: XnTypes.h:153
struct XnLicense XnLicense
XnUInt16 nBitsPerSample
Definition: XnTypes.h:458
Definition: XnTypes.h:704
XnDouble fVFOV
Definition: XnTypes.h:508
XnUInt16 nMaintenance
Definition: XnTypes.h:155
const XnUInt8 * pData
Definition: XnTypes.h:1172
XnSkeletonJoint
Definition: XnTypes.h:611
XnUInt16 nYSize
Definition: XnTypes.h:497
Definition: XnTypes.h:426
Definition: XnTypes.h:421
const XnUInt8 * pData
Definition: XnTypes.h:1150
Definition: XnTypes.h:573
XnUInt8 nY1
Definition: XnTypes.h:293
Definition: XnTypes.h:705
Definition: XnTypes.h:849
Definition: XnTypes.h:455
XnUInt8 nY2
Definition: XnTypes.h:295
struct XnSkeletonJointOrientation XnSkeletonJointOrientation
Definition: XnTypes.h:416
Definition: XnTypes.h:1154
XnPoint3D ptPoint
Definition: XnTypes.h:566
void(* XnNodeDestructionHandler)(XnContext *pContext, const XnChar *strDestroyedNodeName, void *pCookie)
Definition: XnTypes.h:265
XnSkeletonProfile
Definition: XnTypes.h:644
Definition: XnTypes.h:410
Definition: XnTypes.h:692
struct XnMapOutputMode XnMapOutputMode
Definition: XnTypes.h:625
XnDepthPixel nZRes
Definition: XnTypes.h:1140
XnPixelFormat
Definition: XnTypes.h:511
Definition: XnTypes.h:638
Definition: XnTypes.h:620
void(* XnHandTouchingFOVEdge)(XnNodeHandle hNode, XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, XnDirection eDir, void *pCookie)
Definition: XnTypes.h:762
Definition: XnTypes.h:130
Definition: XnTypes.h:520
Definition: XnTypes.h:618
Definition: XnTypes.h:446
XnUInt64 nTimestamp
Definition: XnTypes.h:1095
Definition: XnTypes.h:677
XnPoint3D RightTopFar
Definition: XnTypes.h:480
Definition: XnTypes.h:560
Definition: XnTypes.h:450
Definition: XnTypes.h:449
struct XnFieldOfView XnFieldOfView
struct XnImageMetaData XnImageMetaData
Definition: XnTypes.h:629
XnDirection
Definition: XnTypes.h:698
XnFloat Z
Definition: XnTypes.h:469
struct XnNodeInfoListNode XnNodeInfoListNode
Definition: XnTypes.h:182
Definition: XnTypes.h:515
struct XnContext XnContext
Definition: XnTypes.h:77
void(* XnPoseDetectionInProgress)(XnNodeHandle hNode, const XnChar *strPose, XnUserID user, XnPoseDetectionStatus poseDetectionError, void *pCookie)
Definition: XnTypes.h:821
XnDouble fHFOV
Definition: XnTypes.h:506
Definition: XnTypes.h:106
Definition: XnTypes.h:626
Definition: XnTypes.h:640
Definition: XnTypes.h:409
Definition: XnTypes.h:413
XnResolution
Definition: XnTypes.h:407
XnVector3D XnPoint3D
Definition: XnTypes.h:472
XnMapMetaData * pMap
Definition: XnTypes.h:1134
Definition: XnTypes.h:684
XnFloat X
Definition: XnTypes.h:467
Definition: XnTypes.h:615
XnUInt16 nXOffset
Definition: XnTypes.h:491
XnUInt8 nRed
Definition: XnTypes.h:284
Definition: XnTypes.h:647
void(* XnCalibrationEnd)(XnNodeHandle hNode, XnUserID user, XnBool bSuccess, void *pCookie)
Definition: XnTypes.h:805
XnUInt32 Y
Definition: XnTypes.h:1088
XnMatrix3X3 orientation
Definition: XnTypes.h:592
Definition: XnTypes.h:540
Definition: XnTypes.h:100
Definition: XnTypes.h:694
struct XnWaveOutputMode XnWaveOutputMode
Definition: XnTypes.h:1092
Definition: XnTypes.h:622
Definition: XnTypes.h:650