OpenNI 1.3.2
XnTypes.h
Go to the documentation of this file.
1 /****************************************************************************
2 * *
3 * OpenNI 1.1 Alpha *
4 * Copyright (C) 2011 PrimeSense Ltd. *
5 * *
6 * This file is part of OpenNI. *
7 * *
8 * OpenNI is free software: you can redistribute it and/or modify *
9 * it under the terms of the GNU Lesser General Public License as published *
10 * by the Free Software Foundation, either version 3 of the License, or *
11 * (at your option) any later version. *
12 * *
13 * OpenNI is distributed in the hope that it will be useful, *
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
16 * GNU Lesser General Public License for more details. *
17 * *
18 * You should have received a copy of the GNU Lesser General Public License *
19 * along with OpenNI. If not, see <http://www.gnu.org/licenses/>. *
20 * *
21 ****************************************************************************/
22 #ifndef __XN_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 {
173 
177 typedef struct XnNodeInfo XnNodeInfo;
178 
183 
188 
193 {
196 
197 typedef struct XnNodeQuery XnNodeQuery;
198 
202 typedef struct XnLicense
203 {
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 {
650 
653 {
664 
665 typedef enum XnDirection
666 {
674 } XnDirection;
675 
676 // User
684 typedef void (XN_CALLBACK_TYPE* XnUserHandler)(XnNodeHandle hNode, XnUserID user, void* pCookie);
685 
686 // Hands
696 typedef void (XN_CALLBACK_TYPE* XnHandCreate)(XnNodeHandle hNode, XnUserID user, const XnPoint3D* pPosition, XnFloat fTime, void* pCookie);
697 
707 typedef void (XN_CALLBACK_TYPE* XnHandUpdate)(XnNodeHandle hNode, XnUserID user, const XnPoint3D* pPosition, XnFloat fTime, void* pCookie);
708 
717 typedef void (XN_CALLBACK_TYPE* XnHandDestroy)(XnNodeHandle hNode, XnUserID user, XnFloat fTime, void* pCookie);
718 
729 typedef void (XN_CALLBACK_TYPE* XnHandTouchingFOVEdge)(XnNodeHandle hNode, XnUserID user, const XnPoint3D* pPosition, XnFloat fTime, XnDirection eDir, void* pCookie);
730 // Gesture Module
740 typedef void (XN_CALLBACK_TYPE* XnGestureRecognized)(XnNodeHandle hNode, const XnChar* strGesture, const XnPoint3D* pIDPosition, const XnPoint3D* pEndPosition, void* pCookie);
750 typedef void (XN_CALLBACK_TYPE* XnGestureProgress)(XnNodeHandle hNode, const XnChar* strGesture, const XnPoint3D* pPosition, XnFloat fProgress, void* pCookie);
751 
752 typedef void (XN_CALLBACK_TYPE* XnGestureIntermediateStageCompleted)(XnNodeHandle hNode, const XnChar* strGesture, const XnPoint3D* pPosition, void* pCookie);
753 typedef void (XN_CALLBACK_TYPE* XnGestureReadyForNextIntermediateStage)(XnNodeHandle hNode, const XnChar* strGesture, const XnPoint3D* pPosition, void* pCookie);
754 
755 // Skeleton
763 typedef void (XN_CALLBACK_TYPE* XnCalibrationStart)(XnNodeHandle hNode, XnUserID user, void* pCookie);
772 typedef void (XN_CALLBACK_TYPE* XnCalibrationEnd)(XnNodeHandle hNode, XnUserID user, XnBool bSuccess, void* pCookie);
773 
774 typedef void (XN_CALLBACK_TYPE* XnCalibrationInProgress)(XnNodeHandle hNode, XnUserID user, XnCalibrationStatus calibrationError, void* pCookie);
775 typedef void (XN_CALLBACK_TYPE* XnCalibrationComplete)(XnNodeHandle hNode, XnUserID user, XnCalibrationStatus calibrationError, void* pCookie);
776 
777 // Pose Detection
786 typedef void (XN_CALLBACK_TYPE* XnPoseDetectionCallback)(XnNodeHandle hNode, const XnChar* strPose, XnUserID user, void* pCookie);
787 
788 typedef void (XN_CALLBACK_TYPE* XnPoseDetectionInProgress)(XnNodeHandle hNode, const XnChar* strPose, XnUserID user, XnPoseDetectionStatus poseDetectionError, void* pCookie);
789 
790 //---------------------------------------------------------------------------
791 // Recorder Types
792 //---------------------------------------------------------------------------
793 
799 typedef enum XnRecordMedium
800 {
804 
806 typedef XnUInt32 XnCodecID;
807 
809 #define XN_CODEC_ID(c1, c2, c3, c4) (XnCodecID)((c4 << 24) | (c3 << 16) | (c2 << 8) | c1)
810 
817 {
823  XnStatus (XN_CALLBACK_TYPE* Open)(void* pCookie);
824 
833  XnStatus (XN_CALLBACK_TYPE* Write)(void* pCookie, const XnChar* strNodeName,
834  const void* pData, XnUInt32 nSize);
835 
843  XnStatus (XN_CALLBACK_TYPE* Seek)(void* pCookie, XnOSSeekType seekType, const XnUInt32 nOffset);
844 
853  XnUInt32 (XN_CALLBACK_TYPE* Tell)(void* pCookie);
854 
860  void (XN_CALLBACK_TYPE* Close)(void* pCookie);
862 
869 {
875  XnStatus (XN_CALLBACK_TYPE* Open)(void* pCookie);
876 
886  XnStatus (XN_CALLBACK_TYPE* Read)(void* pCookie, void* pBuffer, XnUInt32 nSize, XnUInt32* pnBytesRead);
887 
895  XnStatus (XN_CALLBACK_TYPE* Seek)(void* pCookie, XnOSSeekType seekType, const XnInt32 nOffset);
896 
904  XnUInt32 (XN_CALLBACK_TYPE* Tell)(void* pCookie);
905 
911  void (XN_CALLBACK_TYPE* Close)(void* pCookie);
913 
917 typedef struct XnNodeNotifications
918 {
925  XnStatus (XN_CALLBACK_TYPE* OnNodeAdded)
926  (void* pCookie, const XnChar* strNodeName, XnProductionNodeType type,
927  XnCodecID compression);
928 
935  XnStatus (XN_CALLBACK_TYPE* OnNodeRemoved)
936  (void* pCookie, const XnChar* strNodeName);
937 
946  XnStatus (XN_CALLBACK_TYPE* OnNodeIntPropChanged)
947  (void* pCookie, const XnChar* strNodeName,
948  const XnChar* strPropName, XnUInt64 nValue);
949 
958  XnStatus (XN_CALLBACK_TYPE* OnNodeRealPropChanged)
959  (void* pCookie, const XnChar* strNodeName,
960  const XnChar* strPropName, XnDouble dValue);
961 
970  XnStatus (XN_CALLBACK_TYPE* OnNodeStringPropChanged)
971  (void* pCookie, const XnChar* strNodeName,
972  const XnChar* strPropName, const XnChar* strValue);
973 
983  XnStatus (XN_CALLBACK_TYPE* OnNodeGeneralPropChanged)
984  (void* pCookie, const XnChar* strNodeName,
985  const XnChar* strPropName, XnUInt32 nBufferSize, const void* pBuffer);
986 
993  XnStatus (XN_CALLBACK_TYPE* OnNodeStateReady)
994  (void* pCookie, const XnChar* strNodeName);
995 
1005  XnStatus (XN_CALLBACK_TYPE* OnNodeNewData)
1006  (void* pCookie, const XnChar* strNodeName,
1007  XnUInt64 nTimeStamp, XnUInt32 nFrame, const void* pData, XnUInt32 nSize);
1008 
1010 
1012 typedef struct XnUInt32XYPair
1013 {
1014  XnUInt32 X;
1015  XnUInt32 Y;
1016 } XnUInt32XYPair;
1017 
1019 typedef struct XnOutputMetaData
1020 {
1022  XnUInt64 nTimestamp;
1023 
1025  XnUInt32 nFrameID;
1026 
1028  XnUInt32 nDataSize;
1029 
1031  XnBool bIsNew;
1032 
1034 
1036 typedef struct XnMapMetaData
1037 {
1040 
1043 
1046 
1049 
1052 
1054  XnUInt32 nFPS;
1055 } XnMapMetaData;
1056 
1058 typedef struct XnDepthMetaData
1059 {
1062 
1065 
1068 } XnDepthMetaData;
1069 
1071 typedef struct XnImageMetaData
1072 {
1075 
1077  const XnUInt8* pData;
1078 } XnImageMetaData;
1079 
1081 typedef struct XnIRMetaData
1082 {
1085 
1088 } XnIRMetaData;
1089 
1090 typedef struct XnAudioMetaData
1091 {
1094 
1097 
1099  const XnUInt8* pData;
1100 } XnAudioMetaData;
1101 
1102 typedef struct XnSceneMetaData
1103 {
1106 
1108  const XnLabel* pData;
1109 } XnSceneMetaData;
1110 
1111 #if XN_PLATFORM != XN_PLATFORM_ARC
1112 #pragma pack (pop)
1113 #endif
1114 
1115 #endif //__XN_TYPES_H__
Definition: XnTypes.h:482
XnUInt m_nPadding
Definition: XnTypes.h:506
Definition: XnTypes.h:611
struct XnUInt32XYPair XnUInt32XYPair
Definition: XnTypes.h:657
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:670
XnSkeletonJointPosition position
Definition: XnTypes.h:582
XnMapMetaData * pMap
Definition: XnTypes.h:1105
Definition: XnTypes.h:648
XnSampleRate
Definition: XnTypes.h:421
void(* XnUserHandler)(XnNodeHandle hNode, XnUserID user, void *pCookie)
Definition: XnTypes.h:684
Definition: XnTypes.h:136
Definition: XnTypes.h:127
XnUInt32XYPair Offset
Definition: XnTypes.h:1045
Definition: XnTypes.h:802
struct XnProductionNodeDescription XnProductionNodeDescription
XnChar strName[XN_MAX_NAME_LENGTH]
Definition: XnTypes.h:169
void * XnModuleNodeHandle
Definition: XnTypes.h:219
struct XnEnumerationErrors XnEnumerationErrors
Definition: XnTypes.h:214
Definition: XnTypes.h:398
XnBool m_bGrayscale16Bit
Definition: XnTypes.h:504
Definition: XnTypes.h:261
XnUInt8 nBlue
Definition: XnTypes.h:265
XnUInt32 XnLockHandle
Definition: XnTypes.h:87
struct XnDepthMetaData XnDepthMetaData
Definition: XnTypes.h:655
Definition: XnTypes.h:115
Definition: XnTypes.h:614
Definition: XnTypes.h:492
XnOutputMetaData * pOutput
Definition: XnTypes.h:1039
struct XnBoundingBox3D XnBoundingBox3D
Definition: XnTypes.h:668
Definition: XnTypes.h:162
Definition: XnTypes.h:661
Definition: XnTypes.h:133
XnStatus(* Open)(void *pCookie)
Definition: XnTypes.h:823
Definition: XnTypes.h:595
XnStatus(* OnNodeRealPropChanged)(void *pCookie, const XnChar *strNodeName, const XnChar *strPropName, XnDouble dValue)
Definition: XnTypes.h:959
XnPlayerSeekOrigin
Definition: XnTypes.h:510
XnVector3D vNormal
Definition: XnTypes.h:542
void(* Close)(void *pCookie)
Definition: XnTypes.h:860
XnUInt32 nDataSize
Definition: XnTypes.h:1028
XnBool bEnabled
Definition: XnTypes.h:468
Definition: XnTypes.h:660
Definition: XnTypes.h:151
XnUInt16 nXSize
Definition: XnTypes.h:474
XnVector3D position
Definition: XnTypes.h:555
XnStatus(* OnNodeStateReady)(void *pCookie, const XnChar *strNodeName)
Definition: XnTypes.h:994
XnOutputMetaData * pOutput
Definition: XnTypes.h:1093
Definition: XnTypes.h:121
XnWaveOutputMode Wave
Definition: XnTypes.h:1096
XnUInt8 XnGrayscale8Pixel
Definition: XnTypes.h:278
XnFloat XnConfidence
Definition: XnTypes.h:526
XnRecordMedium
Definition: XnTypes.h:799
Definition: XnTypes.h:1090
XnUInt8 nU
Definition: XnTypes.h:271
void(* XnPoseDetectionInProgress)(XnNodeHandle hNode, const XnChar *strPose, XnUserID user, XnPoseDetectionStatus poseDetectionError, void *pCookie)
Definition: XnTypes.h:788
Definition: XnTypes.h:141
XnPoseDetectionStatus
Definition: XnTypes.h:642
Definition: XnTypes.h:402
XnUInt16 XnGrayscale16Pixel
Definition: XnTypes.h:281
Definition: XnTypes.h:868
Definition: XnTypes.h:192
Definition: XnTypes.h:644
XnBool bIsNew
Definition: XnTypes.h:1031
struct XnIRMetaData XnIRMetaData
void(* XnGestureProgress)(XnNodeHandle hNode, const XnChar *strGesture, const XnPoint3D *pPosition, XnFloat fProgress, void *pCookie)
Definition: XnTypes.h:750
void(* XnHandCreate)(XnNodeHandle hNode, XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, void *pCookie)
Definition: XnTypes.h:696
XnUInt32 nSampleRate
Definition: XnTypes.h:436
Definition: XnModuleInterface.h:110
XnStatus(* Seek)(void *pCookie, XnOSSeekType seekType, const XnInt32 nOffset)
Definition: XnTypes.h:895
Definition: XnTypes.h:103
Definition: XnTypes.h:609
XnUInt32 X
Definition: XnTypes.h:1014
XnPowerLineFrequency
Definition: XnTypes.h:517
void(* XnStateChangedHandler)(XnNodeHandle hNode, void *pCookie)
Definition: XnTypes.h:227
Definition: XnTypes.h:638
Definition: XnTypes.h:529
const XnIRPixel * pData
Definition: XnTypes.h:1087
Definition: XnTypes.h:390
Definition: XnTypes.h:669
Definition: XnTypes.h:1012
Definition: XnTypes.h:568
struct XnPlayerInputStreamInterface XnPlayerInputStreamInterface
Definition: XnTypes.h:465
Definition: XnTypes.h:593
Definition: XnTypes.h:607
XnStatus(* OnNodeAdded)(void *pCookie, const XnChar *strNodeName, XnProductionNodeType type, XnCodecID compression)
Definition: XnTypes.h:926
Definition: XnTypes.h:514
Definition: XnTypes.h:430
const XnDepthPixel * pData
Definition: XnTypes.h:1064
Definition: XnTypes.h:645
XnUInt32 XnStatus
Definition: XnStatus.h:34
XnUInt m_nReserved
Definition: XnTypes.h:507
XnFloat Y
Definition: XnTypes.h:447
Definition: XnTypes.h:613
void(* XnCalibrationInProgress)(XnNodeHandle hNode, XnUserID user, XnCalibrationStatus calibrationError, void *pCookie)
Definition: XnTypes.h:774
XnUInt32XYPair Res
Definition: XnTypes.h:1042
Definition: XnTypes.h:495
Definition: XnTypes.h:917
struct XnOutputMetaData XnOutputMetaData
XnMapMetaData * pMap
Definition: XnTypes.h:1074
XnUInt32XYPair FullRes
Definition: XnTypes.h:1048
Definition: XnTypes.h:424
XnUInt32 nFPS
Definition: XnTypes.h:418
void(* XnCalibrationStart)(XnNodeHandle hNode, XnUserID user, void *pCookie)
Definition: XnTypes.h:763
Definition: XnTypes.h:656
Definition: XnTypes.h:579
Definition: XnTypes.h:647
XnChar strVendor[XN_MAX_NAME_LENGTH]
Definition: XnTypes.h:205
XnStatus(* Write)(void *pCookie, const XnChar *strNodeName, const void *pData, XnUInt32 nSize)
Definition: XnTypes.h:833
Definition: XnTypes.h:399
struct XnSkeletonJointPosition XnSkeletonJointPosition
XnConfidence fConfidence
Definition: XnTypes.h:558
Definition: XnTypes.h:1058
XnUInt16 XnDepthPixel
Definition: XnTypes.h:255
Definition: XnTypes.h:142
Definition: XnTypes.h:659
XnBool m_bRGB24
Definition: XnTypes.h:501
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
struct XnInternalNodeData * XnNodeHandle
Definition: XnTypes.h:82
XnPredefinedProductionNodeType
Definition: XnTypes.h:97
XnPixelFormat PixelFormat
Definition: XnTypes.h:1051
XnSkeletonJointOrientation orientation
Definition: XnTypes.h:584
struct XnNodeInfoListIterator XnNodeInfoListIterator
Definition: XnTypes.h:404
struct XnSceneMetaData XnSceneMetaData
Definition: XnTypes.h:612
struct XnMapMetaData XnMapMetaData
XnBool m_bGrayscale8Bit
Definition: XnTypes.h:503
XnStatus(* OnNodeIntPropChanged)(void *pCookie, const XnChar *strNodeName, const XnChar *strPropName, XnUInt64 nValue)
Definition: XnTypes.h:947
Definition: XnTypes.h:1071
XnUInt8 nChannels
Definition: XnTypes.h:438
XnUInt32(* Tell)(void *pCookie)
Definition: XnTypes.h:904
XnUInt8 nMinor
Definition: XnTypes.h:154
struct XnYUV422DoublePixel XnYUV422DoublePixel
struct XnPlane3D XnPlane3D
Definition: XnTypes.h:658
XnUInt16 nYOffset
Definition: XnTypes.h:472
struct XnNodeInfoList XnNodeInfoList
Definition: XnTypes.h:187
XnUInt32 nFPS
Definition: XnTypes.h:1054
Definition: XnTypes.h:118
Definition: XnTypes.h:431
struct XnRecorderOutputStreamInterface XnRecorderOutputStreamInterface
Definition: XnTypes.h:1102
Definition: XnTypes.h:391
struct XnAudioMetaData XnAudioMetaData
XnOSSeekType
Definition: XnOS.h:99
Definition: XnTypes.h:411
Definition: XnTypes.h:598
XnUInt16 XnLabel
Definition: XnTypes.h:287
XnUInt32(* Tell)(void *pCookie)
Definition: XnTypes.h:853
XnConfidence fConfidence
Definition: XnTypes.h:573
Definition: XnTypes.h:427
Definition: XnTypes.h:512
void(* XnGestureReadyForNextIntermediateStage)(XnNodeHandle hNode, const XnChar *strGesture, const XnPoint3D *pPosition, void *pCookie)
Definition: XnTypes.h:753
XnGrayscale16Pixel XnIRPixel
Definition: XnTypes.h:284
Definition: XnTypes.h:667
Definition: XnTypes.h:269
Definition: XnTypes.h:397
XnVersion Version
Definition: XnTypes.h:171
Definition: XnTypes.h:646
void(* XnHandDestroy)(XnNodeHandle hNode, XnUserID user, XnFloat fTime, void *pCookie)
Definition: XnTypes.h:717
Definition: XnTypes.h:635
Definition: XnTypes.h:109
struct XnSkeletonJointTransformation XnSkeletonJointTransformation
void(* XnGestureIntermediateStageCompleted)(XnNodeHandle hNode, const XnChar *strGesture, const XnPoint3D *pPosition, void *pCookie)
Definition: XnTypes.h:752
XnUInt8 nV
Definition: XnTypes.h:273
XnMapMetaData * pMap
Definition: XnTypes.h:1084
XnNodeInfoListNode * pCurrent
Definition: XnTypes.h:194
XnUInt32 nFrameID
Definition: XnTypes.h:1025
Definition: XnTypes.h:496
void * XnCallbackHandle
Definition: XnTypes.h:247
XnCalibrationStatus
Definition: XnTypes.h:652
Definition: XnTypes.h:456
Definition: XnTypes.h:606
struct XnVersion XnVersion
Definition: XnTypes.h:144
struct XnNodeQuery XnNodeQuery
Definition: XnTypes.h:197
XnProductionNodeType Type
Definition: XnTypes.h:165
XnStatus(* Open)(void *pCookie)
Definition: XnTypes.h:875
Definition: XnTypes.h:139
XnUInt32 XnCodecID
Definition: XnTypes.h:806
struct XnNodeInfo XnNodeInfo
Definition: XnTypes.h:177
Definition: XnTypes.h:632
Definition: XnTypes.h:493
struct XnNodeNotifications XnNodeNotifications
const XnLabel * pData
Definition: XnTypes.h:1108
Definition: XnTypes.h:1036
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:673
Definition: XnTypes.h:426
struct XnRGB24Pixel XnRGB24Pixel
Definition: XnTypes.h:140
struct XnSupportedPixelFormats XnSupportedPixelFormats
void(* XnHandTouchingFOVEdge)(XnNodeHandle hNode, XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, XnDirection eDir, void *pCookie)
Definition: XnTypes.h:729
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:671
XnDouble fVFOV
Definition: XnTypes.h:487
XnUInt16 nMaintenance
Definition: XnTypes.h:155
const XnUInt8 * pData
Definition: XnTypes.h:1099
XnSkeletonJoint
Definition: XnTypes.h:590
void(* Close)(void *pCookie)
Definition: XnTypes.h:911
XnUInt16 nYSize
Definition: XnTypes.h:476
Definition: XnTypes.h:405
Definition: XnTypes.h:400
const XnUInt8 * pData
Definition: XnTypes.h:1077
Definition: XnTypes.h:552
XnUInt8 nY1
Definition: XnTypes.h:272
void(* XnPoseDetectionCallback)(XnNodeHandle hNode, const XnChar *strPose, XnUserID user, void *pCookie)
Definition: XnTypes.h:786
Definition: XnTypes.h:672
Definition: XnTypes.h:816
void(* XnCalibrationComplete)(XnNodeHandle hNode, XnUserID user, XnCalibrationStatus calibrationError, void *pCookie)
Definition: XnTypes.h:775
Definition: XnTypes.h:434
XnUInt8 nY2
Definition: XnTypes.h:274
struct XnSkeletonJointOrientation XnSkeletonJointOrientation
Definition: XnTypes.h:395
Definition: XnTypes.h:1081
XnPoint3D ptPoint
Definition: XnTypes.h:545
XnStatus(* OnNodeNewData)(void *pCookie, const XnChar *strNodeName, XnUInt64 nTimeStamp, XnUInt32 nFrame, const void *pData, XnUInt32 nSize)
Definition: XnTypes.h:1006
XnSkeletonProfile
Definition: XnTypes.h:623
Definition: XnTypes.h:389
Definition: XnTypes.h:662
struct XnMapOutputMode XnMapOutputMode
void(* XnErrorStateChangedHandler)(XnStatus errorState, void *pCookie)
Definition: XnTypes.h:235
Definition: XnTypes.h:604
void(* XnFreeHandler)(const void *pData)
Definition: XnTypes.h:242
XnDepthPixel nZRes
Definition: XnTypes.h:1067
XnPixelFormat
Definition: XnTypes.h:490
Definition: XnTypes.h:617
Definition: XnTypes.h:599
Definition: XnTypes.h:130
Definition: XnTypes.h:499
XnStatus(* OnNodeGeneralPropChanged)(void *pCookie, const XnChar *strNodeName, const XnChar *strPropName, XnUInt32 nBufferSize, const void *pBuffer)
Definition: XnTypes.h:984
Definition: XnTypes.h:597
Definition: XnTypes.h:425
XnUInt64 nTimestamp
Definition: XnTypes.h:1022
XnFloat elements[9]
Definition: XnTypes.h:532
XnChar strKey[XN_MAX_LICENSE_LENGTH]
Definition: XnTypes.h:207
XnPoint3D RightTopFar
Definition: XnTypes.h:459
Definition: XnTypes.h:539
Definition: XnTypes.h:429
void(* XnHandUpdate)(XnNodeHandle hNode, XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, void *pCookie)
Definition: XnTypes.h:707
Definition: XnTypes.h:428
struct XnFieldOfView XnFieldOfView
struct XnImageMetaData XnImageMetaData
XnStatus(* OnNodeRemoved)(void *pCookie, const XnChar *strNodeName)
Definition: XnTypes.h:936
XnChar strVendor[XN_MAX_NAME_LENGTH]
Definition: XnTypes.h:167
XnBool m_bYUV422
Definition: XnTypes.h:502
void(* XnContextShuttingDownHandler)(XnContext *pContext, void *pCookie)
Definition: XnTypes.h:244
Definition: XnTypes.h:608
XnDirection
Definition: XnTypes.h:665
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(* XnCalibrationEnd)(XnNodeHandle hNode, XnUserID user, XnBool bSuccess, void *pCookie)
Definition: XnTypes.h:772
XnDouble fHFOV
Definition: XnTypes.h:485
Definition: XnTypes.h:106
Definition: XnTypes.h:605
void(* XnGestureRecognized)(XnNodeHandle hNode, const XnChar *strGesture, const XnPoint3D *pIDPosition, const XnPoint3D *pEndPosition, void *pCookie)
Definition: XnTypes.h:740
Definition: XnTypes.h:619
Definition: XnTypes.h:388
Definition: XnTypes.h:392
XnResolution
Definition: XnTypes.h:386
XnStatus(* OnNodeStringPropChanged)(void *pCookie, const XnChar *strNodeName, const XnChar *strPropName, const XnChar *strValue)
Definition: XnTypes.h:971
XnVector3D XnPoint3D
Definition: XnTypes.h:451
XnStatus(* Read)(void *pCookie, void *pBuffer, XnUInt32 nSize, XnUInt32 *pnBytesRead)
Definition: XnTypes.h:886
XnMapMetaData * pMap
Definition: XnTypes.h:1061
Definition: XnTypes.h:654
XnFloat X
Definition: XnTypes.h:446
Definition: XnTypes.h:594
XnUInt16 nXOffset
Definition: XnTypes.h:470
XnUInt8 nRed
Definition: XnTypes.h:263
XnStatus(* Seek)(void *pCookie, XnOSSeekType seekType, const XnUInt32 nOffset)
Definition: XnTypes.h:843
Definition: XnTypes.h:626
XnUInt32 Y
Definition: XnTypes.h:1015
XnMatrix3X3 orientation
Definition: XnTypes.h:571
XnBool m_bMJPEG
Definition: XnTypes.h:505
Definition: XnTypes.h:519
Definition: XnTypes.h:100
struct XnWaveOutputMode XnWaveOutputMode
Definition: XnTypes.h:1019
Definition: XnTypes.h:601
Definition: XnTypes.h:629