Classes | Defines | Typedefs | Enumerations
XnTypes.h File Reference
#include <XnStatus.h>
#include <XnOS.h>
Include dependency graph for XnTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  XnAudioMetaData
struct  XnBoundingBox3D
struct  XnCropping
struct  XnDepthMetaData
struct  XnFieldOfView
struct  XnImageMetaData
struct  XnIRMetaData
struct  XnLicense
struct  XnMapMetaData
struct  XnMapOutputMode
struct  XnMatrix3X3
struct  XnNodeInfoListIterator
struct  XnNodeNotifications
struct  XnOutputMetaData
struct  XnPlane3D
struct  XnPlayerInputStreamInterface
struct  XnProductionNodeDescription
struct  XnRecorderOutputStreamInterface
struct  XnRGB24Pixel
struct  XnSceneMetaData
struct  XnSkeletonJointOrientation
struct  XnSkeletonJointPosition
struct  XnSkeletonJointTransformation
struct  XnSupportedPixelFormats
struct  XnUInt32XYPair
struct  XnVector3D
struct  XnVersion
struct  XnWaveOutputMode
struct  XnYUV422DoublePixel

Defines

#define XN_1080P_X_RES   1920
#define XN_1080P_Y_RES   1080
#define XN_720P_X_RES   1280
#define XN_720P_Y_RES   720
#define XN_CAPABILITY_ALTERNATIVE_VIEW_POINT   "AlternativeViewPoint"
#define XN_CAPABILITY_CROPPING   "Cropping"
#define XN_CAPABILITY_ERROR_STATE   "ErrorState"
#define XN_CAPABILITY_EXTENDED_SERIALIZATION   "ExtendedSerialization"
#define XN_CAPABILITY_FRAME_SYNC   "FrameSync"
#define XN_CAPABILITY_LOCK_AWARE   "LockAware"
#define XN_CAPABILITY_MIRROR   "Mirror"
#define XN_CAPABILITY_POSE_DETECTION   "User::PoseDetection"
#define XN_CAPABILITY_SKELETON   "User::Skeleton"
#define XN_CAPABILITY_USER_POSITION   "UserPosition"
#define XN_CGA_X_RES   320
#define XN_CGA_Y_RES   200
#define XN_CODEC_ID(c1, c2, c3, c4)   (XnCodecID)((c4 << 24) | (c3 << 16) | (c2 << 8) | c1)
#define XN_DEPTH_NO_SAMPLE_VALUE   ((XnDepthPixel)0)
#define XN_FORMAT_NAME_ONI   "oni"
#define XN_MAX_CREATION_INFO_LENGTH   255
#define XN_MAX_LICENSE_LENGTH   255
#define XN_MAX_NAME_LENGTH   80
#define XN_NODE_WAIT_FOR_DATA_TIMEOUT   2000
#define XN_QQVGA_X_RES   160
#define XN_QQVGA_Y_RES   120
#define XN_QVGA_X_RES   320
#define XN_QVGA_Y_RES   240
#define XN_SVGA_X_RES   800
#define XN_SVGA_Y_RES   600
#define XN_SXGA_X_RES   1280
#define XN_SXGA_Y_RES   1024
#define XN_UXGA_X_RES   1600
#define XN_UXGA_Y_RES   1200
#define XN_VENDOR_OPEN_NI   "OpenNI"
#define XN_VGA_X_RES   640
#define XN_VGA_Y_RES   480
#define XN_XGA_X_RES   1024
#define XN_XGA_Y_RES   768

Typedefs

typedef struct XnAudioMetaData XnAudioMetaData
typedef struct XnBoundingBox3D XnBoundingBox3D
typedef void(XN_CALLBACK_TYPEXnCalibrationEnd )(XnNodeHandle hNode, XnUserID user, XnBool bSuccess, void *pCookie)
typedef void(XN_CALLBACK_TYPEXnCalibrationStart )(XnNodeHandle hNode, XnUserID user, void *pCookie)
typedef voidXnCallbackHandle
typedef XnUInt32 XnCodecID
typedef XnFloat XnConfidence
typedef struct XnContext XnContext
typedef struct XnCropping XnCropping
typedef struct XnDepthMetaData XnDepthMetaData
typedef XnUInt16 XnDepthPixel
typedef struct XnEnumerationErrors XnEnumerationErrors
typedef void(XN_CALLBACK_TYPEXnErrorStateChangedHandler )(XnStatus errorState, void *pCookie)
typedef struct XnFieldOfView XnFieldOfView
typedef void(XN_CALLBACK_TYPEXnGestureProgress )(XnNodeHandle hNode, const XnChar *strGesture, const XnPoint3D *pPosition, XnFloat fProgress, void *pCookie)
typedef void(XN_CALLBACK_TYPEXnGestureRecognized )(XnNodeHandle hNode, const XnChar *strGesture, const XnPoint3D *pIDPosition, const XnPoint3D *pEndPosition, void *pCookie)
typedef XnUInt16 XnGrayscale16Pixel
typedef XnUInt8 XnGrayscale8Pixel
typedef void(XN_CALLBACK_TYPEXnHandCreate )(XnNodeHandle hNode, XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, void *pCookie)
typedef void(XN_CALLBACK_TYPEXnHandDestroy )(XnNodeHandle hNode, XnUserID user, XnFloat fTime, void *pCookie)
typedef void(XN_CALLBACK_TYPEXnHandUpdate )(XnNodeHandle hNode, XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, void *pCookie)
typedef struct XnImageMetaData XnImageMetaData
typedef struct XnIRMetaData XnIRMetaData
typedef XnGrayscale16Pixel XnIRPixel
typedef XnUInt16 XnLabel
typedef struct XnLicense XnLicense
typedef XnUInt32 XnLockHandle
typedef struct XnMapMetaData XnMapMetaData
typedef struct XnMapOutputMode XnMapOutputMode
typedef struct XnMatrix3X3 XnMatrix3X3
typedef struct
XnModuleExportedProductionNodeInterface 
XnModuleExportedProductionNodeInterface
typedef voidXnModuleNodeHandle
typedef struct XnInternalNodeData * XnNodeHandle
typedef struct XnNodeInfo XnNodeInfo
typedef struct XnNodeInfoList XnNodeInfoList
typedef struct
XnNodeInfoListIterator 
XnNodeInfoListIterator
typedef struct XnNodeInfoListNode XnNodeInfoListNode
typedef struct XnNodeNotifications XnNodeNotifications
typedef struct XnNodeQuery XnNodeQuery
typedef struct XnOutputMetaData XnOutputMetaData
typedef enum XnPixelFormat XnPixelFormat
typedef struct XnPlane3D XnPlane3D
typedef struct
XnPlayerInputStreamInterface 
XnPlayerInputStreamInterface
typedef enum XnPlayerSeekOrigin XnPlayerSeekOrigin
typedef XnVector3D XnPoint3D
typedef void(XN_CALLBACK_TYPEXnPoseDetectionCallback )(XnNodeHandle hNode, const XnChar *strPose, XnUserID user, void *pCookie)
typedef struct
XnProductionNodeDescription 
XnProductionNodeDescription
typedef enum XnProductionNodeType XnProductionNodeType
typedef struct
XnRecorderOutputStreamInterface 
XnRecorderOutputStreamInterface
typedef enum XnRecordMedium XnRecordMedium
typedef enum XnResolution XnResolution
typedef struct XnRGB24Pixel XnRGB24Pixel
typedef enum XnSampleRate XnSampleRate
typedef struct XnSceneMetaData XnSceneMetaData
typedef enum XnSkeletonJoint XnSkeletonJoint
typedef struct
XnSkeletonJointOrientation 
XnSkeletonJointOrientation
typedef struct
XnSkeletonJointPosition 
XnSkeletonJointPosition
typedef struct
XnSkeletonJointTransformation 
XnSkeletonJointTransformation
typedef enum XnSkeletonProfile XnSkeletonProfile
typedef void(XN_CALLBACK_TYPEXnStateChangedHandler )(XnNodeHandle hNode, void *pCookie)
typedef struct
XnSupportedPixelFormats 
XnSupportedPixelFormats
typedef struct XnUInt32XYPair XnUInt32XYPair
typedef void(XN_CALLBACK_TYPEXnUserHandler )(XnNodeHandle hNode, XnUserID user, void *pCookie)
typedef XnUInt32 XnUserID
typedef struct XnVector3D XnVector3D
typedef struct XnVersion XnVersion
typedef struct XnWaveOutputMode XnWaveOutputMode
typedef struct XnYUV422DoublePixel XnYUV422DoublePixel

Enumerations

enum  XnPixelFormat { XN_PIXEL_FORMAT_RGB24 = 1, XN_PIXEL_FORMAT_YUV422 = 2, XN_PIXEL_FORMAT_GRAYSCALE_8_BIT = 3, XN_PIXEL_FORMAT_GRAYSCALE_16_BIT = 4 }
enum  XnPlayerSeekOrigin { XN_PLAYER_SEEK_SET = 0, XN_PLAYER_SEEK_CUR = 1, XN_PLAYER_SEEK_END = 2 }
enum  XnProductionNodeType {
  XN_NODE_TYPE_DEVICE = 1, XN_NODE_TYPE_DEPTH = 2, XN_NODE_TYPE_IMAGE = 3, XN_NODE_TYPE_AUDIO = 4,
  XN_NODE_TYPE_IR = 5, XN_NODE_TYPE_USER = 6, XN_NODE_TYPE_RECORDER = 7, XN_NODE_TYPE_PLAYER = 8,
  XN_NODE_TYPE_GESTURE = 9, XN_NODE_TYPE_SCENE = 10, XN_NODE_TYPE_HANDS = 11, XN_NODE_TYPE_CODEC = 12
}
enum  XnRecordMedium { XN_RECORD_MEDIUM_FILE = 0 }
enum  XnResolution {
  XN_RES_CUSTOM = 0, XN_RES_QQVGA = 1, XN_RES_CGA = 2, XN_RES_QVGA = 3,
  XN_RES_VGA = 4, XN_RES_SVGA = 5, XN_RES_XGA = 6, XN_RES_720P = 7,
  XN_RES_SXGA = 8, XN_RES_UXGA = 9, XN_RES_1080P = 10
}
enum  XnSampleRate {
  XN_SAMPLE_RATE_8K = 8000, XN_SAMPLE_RATE_11K = 11025, XN_SAMPLE_RATE_12K = 12000, XN_SAMPLE_RATE_16K = 16000,
  XN_SAMPLE_RATE_22K = 22050, XN_SAMPLE_RATE_24K = 24000, XN_SAMPLE_RATE_32K = 32000, XN_SAMPLE_RATE_44K = 44100,
  XN_SAMPLE_RATE_48K = 48000
}
enum  XnSkeletonJoint {
  XN_SKEL_HEAD = 1, XN_SKEL_NECK = 2, XN_SKEL_TORSO = 3, XN_SKEL_WAIST = 4,
  XN_SKEL_LEFT_COLLAR = 5, XN_SKEL_LEFT_SHOULDER = 6, XN_SKEL_LEFT_ELBOW = 7, XN_SKEL_LEFT_WRIST = 8,
  XN_SKEL_LEFT_HAND = 9, XN_SKEL_LEFT_FINGERTIP = 10, XN_SKEL_RIGHT_COLLAR = 11, XN_SKEL_RIGHT_SHOULDER = 12,
  XN_SKEL_RIGHT_ELBOW = 13, XN_SKEL_RIGHT_WRIST = 14, XN_SKEL_RIGHT_HAND = 15, XN_SKEL_RIGHT_FINGERTIP = 16,
  XN_SKEL_LEFT_HIP = 17, XN_SKEL_LEFT_KNEE = 18, XN_SKEL_LEFT_ANKLE = 19, XN_SKEL_LEFT_FOOT = 20,
  XN_SKEL_RIGHT_HIP = 21, XN_SKEL_RIGHT_KNEE = 22, XN_SKEL_RIGHT_ANKLE = 23, XN_SKEL_RIGHT_FOOT = 24
}
enum  XnSkeletonProfile {
  XN_SKEL_PROFILE_NONE = 1, XN_SKEL_PROFILE_ALL = 2, XN_SKEL_PROFILE_UPPER = 3, XN_SKEL_PROFILE_LOWER = 4,
  XN_SKEL_PROFILE_HEAD_HANDS = 5
}

Define Documentation

#define XN_1080P_X_RES   1920

Definition at line 301 of file XnTypes.h.

#define XN_1080P_Y_RES   1080

Definition at line 302 of file XnTypes.h.

#define XN_720P_X_RES   1280

Definition at line 292 of file XnTypes.h.

#define XN_720P_Y_RES   720

Definition at line 293 of file XnTypes.h.

#define XN_CAPABILITY_ALTERNATIVE_VIEW_POINT   "AlternativeViewPoint"

Definition at line 261 of file XnTypes.h.

#define XN_CAPABILITY_CROPPING   "Cropping"

Definition at line 262 of file XnTypes.h.

#define XN_CAPABILITY_ERROR_STATE   "ErrorState"

Definition at line 267 of file XnTypes.h.

#define XN_CAPABILITY_EXTENDED_SERIALIZATION   "ExtendedSerialization"

Definition at line 259 of file XnTypes.h.

#define XN_CAPABILITY_FRAME_SYNC   "FrameSync"

Definition at line 268 of file XnTypes.h.

#define XN_CAPABILITY_LOCK_AWARE   "LockAware"

Definition at line 266 of file XnTypes.h.

#define XN_CAPABILITY_MIRROR   "Mirror"

Definition at line 260 of file XnTypes.h.

#define XN_CAPABILITY_POSE_DETECTION   "User::PoseDetection"

Definition at line 265 of file XnTypes.h.

#define XN_CAPABILITY_SKELETON   "User::Skeleton"

Definition at line 264 of file XnTypes.h.

#define XN_CAPABILITY_USER_POSITION   "UserPosition"

Definition at line 263 of file XnTypes.h.

#define XN_CGA_X_RES   320

Definition at line 277 of file XnTypes.h.

#define XN_CGA_Y_RES   200

Definition at line 278 of file XnTypes.h.

#define XN_CODEC_ID (   c1,
  c2,
  c3,
  c4 
)    (XnCodecID)((c4 << 24) | (c3 << 16) | (c2 << 8) | c1)

Define a Codec ID by 4 characters, e.g. XN_CODEC_ID('J','P','E','G')

Definition at line 657 of file XnTypes.h.

Defines the value of a no-sample depth pixel.

Definition at line 225 of file XnTypes.h.

#define XN_FORMAT_NAME_ONI   "oni"

The name of the OpenNI recording format.

Definition at line 53 of file XnTypes.h.

#define XN_MAX_CREATION_INFO_LENGTH   255

The maximum length of a creation info string

Definition at line 41 of file XnTypes.h.

#define XN_MAX_LICENSE_LENGTH   255

The maxumim length of a license key

Definition at line 44 of file XnTypes.h.

#define XN_MAX_NAME_LENGTH   80

The maximum length of names of objects in OpenNI

Definition at line 38 of file XnTypes.h.

#define XN_NODE_WAIT_FOR_DATA_TIMEOUT   2000

The maximum time to wait for node new data with the xnWaitXXXUpdateXXX functions

Definition at line 47 of file XnTypes.h.

#define XN_QQVGA_X_RES   160

Definition at line 274 of file XnTypes.h.

#define XN_QQVGA_Y_RES   120

Definition at line 275 of file XnTypes.h.

#define XN_QVGA_X_RES   320

Definition at line 280 of file XnTypes.h.

#define XN_QVGA_Y_RES   240

Definition at line 281 of file XnTypes.h.

#define XN_SVGA_X_RES   800

Definition at line 286 of file XnTypes.h.

#define XN_SVGA_Y_RES   600

Definition at line 287 of file XnTypes.h.

#define XN_SXGA_X_RES   1280

Definition at line 295 of file XnTypes.h.

#define XN_SXGA_Y_RES   1024

Definition at line 296 of file XnTypes.h.

#define XN_UXGA_X_RES   1600

Definition at line 298 of file XnTypes.h.

#define XN_UXGA_Y_RES   1200

Definition at line 299 of file XnTypes.h.

#define XN_VENDOR_OPEN_NI   "OpenNI"

OpenNI vendor ID, used by nodes supplied by OpenNI itself.

Definition at line 50 of file XnTypes.h.

#define XN_VGA_X_RES   640

Definition at line 283 of file XnTypes.h.

#define XN_VGA_Y_RES   480

Definition at line 284 of file XnTypes.h.

#define XN_XGA_X_RES   1024

Definition at line 289 of file XnTypes.h.

#define XN_XGA_Y_RES   768

Definition at line 290 of file XnTypes.h.


Typedef Documentation

Representation of an axis-aligned box in 3D space

typedef void(XN_CALLBACK_TYPE* XnCalibrationEnd)(XnNodeHandle hNode, XnUserID user, XnBool bSuccess, void *pCookie)

Callback for indication that a specific user's skeleton has now completed the calibration process

Parameters:
hNode[in] A handle to the skeleton capability that raised this event.
user[in] The id of the user for which calibration was attempted.
bSuccess[in] An indication of whether or not the calibration attempt succeeded.
pCookie[in] A user-provided cookie that was given when registering to this event.

Definition at line 625 of file XnTypes.h.

Callback for indication that a specific user's skeleton is now starting the calibration process

Parameters:
hNode[in] A handle to the skeleton capability that raised this event.
user[in] The id of the user that's being calibrated.
pCookie[in] A user-provided cookie that was given when registering to this event.

Definition at line 616 of file XnTypes.h.

Handle to a registered callback function.

Definition at line 213 of file XnTypes.h.

An ID of a codec. See xnCreateCodec.

Definition at line 654 of file XnTypes.h.

Definition at line 428 of file XnTypes.h.

typedef struct XnContext XnContext

The context of an OpenNI library.

Definition at line 69 of file XnTypes.h.

typedef struct XnCropping XnCropping

Cropping configuration

Holds information about a frame of depth.

Defines the depth values type (16-bit values).

Definition at line 222 of file XnTypes.h.

Prototype for error state change callback function.

Parameters:
errorState[in] The new error state. A value of XN_STATUS_OK means there is no longer an error.
pCookie[in] A user-provided cookie that was given when registering to the event.

Definition at line 210 of file XnTypes.h.

typedef struct XnFieldOfView XnFieldOfView

Field-Of-View

typedef void(XN_CALLBACK_TYPE* XnGestureProgress)(XnNodeHandle hNode, const XnChar *strGesture, const XnPoint3D *pPosition, XnFloat fProgress, void *pCookie)

Callback for indication that a certain gesture is in progress

Parameters:
hNode[in] A handle to the gesture generator that raised this event.
strGesture[in] The gesture that is on its way to being recognized.
pPosition[in] The current position of the hand that is performing the gesture.
fProgress[in] The percentage of the gesture that was already performed.
pCookie[in] A user-provided cookie that was given when registering to this event.

Definition at line 606 of file XnTypes.h.

typedef void(XN_CALLBACK_TYPE* XnGestureRecognized)(XnNodeHandle hNode, const XnChar *strGesture, const XnPoint3D *pIDPosition, const XnPoint3D *pEndPosition, void *pCookie)

Callback for the recognition of a gesture

Parameters:
hNode[in] A handle to the gesture generator that raised this event.
strGesture[in] The gesture that was recognized.
pIDPosition[in] The position in which the gesture was identified.
pEndPosition[in] The position of the hand that performed the gesture at the end of the gesture.
pCookie[in] A user-provided cookie that was given when registering to this event.

Definition at line 596 of file XnTypes.h.

Defines the image Grayscale16 pixel type.

Definition at line 248 of file XnTypes.h.

Defines the image Grayscale8 pixel type.

Definition at line 245 of file XnTypes.h.

typedef void(XN_CALLBACK_TYPE* XnHandCreate)(XnNodeHandle hNode, XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, void *pCookie)

Callback for the creation of a new hand.

Parameters:
hNode[in] A handle to the hands generator that raised this event.
user[in] The id of the new hand.
pPosition[in] The position in which the hand was created.
fTime[in] Timestamp, in seconds.
pCookie[in] A user-provided cookie that was given when registering to this event.

Definition at line 563 of file XnTypes.h.

typedef void(XN_CALLBACK_TYPE* XnHandDestroy)(XnNodeHandle hNode, XnUserID user, XnFloat fTime, void *pCookie)

Callback for the disappearance of a hand.

Parameters:
hNode[in] A handle to the hands generator that raised this event.
user[in] The id of the hand that disappeared.
fTime[in] Timestamp, in seconds.
pCookie[in] A user-provided cookie that was given when registering to this event.

Definition at line 584 of file XnTypes.h.

typedef void(XN_CALLBACK_TYPE* XnHandUpdate)(XnNodeHandle hNode, XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, void *pCookie)

Callback for a new position of an already-existing hand.

Parameters:
hNode[in] A handle to the hands generator that raised this event.
user[in] The id of the hand that moved.
pPosition[in] The new position of the relevant hand.
fTime[in] Timestamp, in seconds.
pCookie[in] A user-provided cookie that was given when registering to this event.

Definition at line 574 of file XnTypes.h.

Holds information about an image frame.

typedef struct XnIRMetaData XnIRMetaData

Holds information about an IR frame.

Defines the IR values type (16-bit grayscale).

Definition at line 251 of file XnTypes.h.

typedef XnUInt16 XnLabel

Defines the label type

Definition at line 254 of file XnTypes.h.

typedef struct XnLicense XnLicense

A license key.

A handle to a lock. A value of NULL represents an invalid handle.

Definition at line 79 of file XnTypes.h.

typedef struct XnMapMetaData XnMapMetaData

Holds information about a frame of data that has a map format.

The output mode of a map generator.

typedef struct XnMatrix3X3 XnMatrix3X3

A 3x3 matrix of floating point values

Definition at line 215 of file XnTypes.h.

A handle to an instance of a generator.

Definition at line 194 of file XnTypes.h.

typedef struct XnInternalNodeData* XnNodeHandle

A handle to a production node in the OpenNI context. A value of NULL represents an invalid handle.

Definition at line 74 of file XnTypes.h.

typedef struct XnNodeInfo XnNodeInfo

Information about a single production node.

Definition at line 152 of file XnTypes.h.

A (linked) list of production node info objects.

Definition at line 162 of file XnTypes.h.

An iterator in a linked list of production node info objects.

A single node in a node info list.

Definition at line 157 of file XnTypes.h.

An interface that is used for notifications about node events.

typedef struct XnNodeQuery XnNodeQuery

Definition at line 172 of file XnTypes.h.

Holds information about a general frame of data.

typedef struct XnPlane3D XnPlane3D

A representation of a 3D plane. A plane is described by a point on it and a normal

An interface used for communication between OpenNI and a player module. This interface is used by a player module to receive recorded data from OpenNI, which knows where to get them according to one of the values of XnRecordMedium.

Definition at line 362 of file XnTypes.h.

typedef void(XN_CALLBACK_TYPE* XnPoseDetectionCallback)(XnNodeHandle hNode, const XnChar *strPose, XnUserID user, void *pCookie)

Callback for indication that a specific user has entered a pose, or left it.

Parameters:
hNode[in] A handle to the pose capability that raised this event.
strPose[in] The pose that is relevant to the callback.
user[in] The id of the user that entered the pose or left it.
pCookie[in] A user-provided cookie that was given when registering to this event.

Definition at line 636 of file XnTypes.h.

An exported generator description.

Type of the production node.

An interface used for communication between OpenNI and a recorder module. This interface is used by a recorder module to send recorded data to OpenNI, which then knows how to store them according to one of the values of XnRecordMedium.

typedef enum XnResolution XnResolution
typedef struct XnRGB24Pixel XnRGB24Pixel

Defines the image RGB24 pixel type.

typedef enum XnSampleRate XnSampleRate

A full list of available joints.

Orientation of a specific joint. A joint orientation is described by its actual rotation and the confidence we have in that rotation The first column is the X orientation, where the value increases from left to right. The second column is the Y orientation, where the value increases from bottom to top. The third column is the Z orientation, where the value increases from near to far.

Position of a specific joint. A joint position is described by its actual position and the confidence we have in that position.

Transformation of a specific joint is its full description: both its position and orientation.

A configuration of joints to be used by skeleton (see xnSetSkeletonProfile)

Prototype for state change callback function.

Parameters:
hNode[in] A handle to the node that raised the event.
pCookie[in] A user-provided cookie that was given when registering to the event.

Definition at line 202 of file XnTypes.h.

A pair of 32-bit unsigned values.

typedef void(XN_CALLBACK_TYPE* XnUserHandler)(XnNodeHandle hNode, XnUserID user, void *pCookie)

Callback for a general user-related event. It is used for either creation or destruction of users.

Parameters:
hNode[in] A handle to the user generator that raised this event.
user[in] The id of the user that is relevant to this event.
pCookie[in] A user-provided cookie that was given when registering to this event.

Definition at line 551 of file XnTypes.h.

typedef XnUInt32 XnUserID

Definition at line 427 of file XnTypes.h.

typedef struct XnVector3D XnVector3D

Representation of a vector in 3D space

typedef struct XnVersion XnVersion

A Version.

Defines the image YUV422 double-pixel type.


Enumeration Type Documentation

Enumerator:
XN_PIXEL_FORMAT_RGB24 
XN_PIXEL_FORMAT_YUV422 
XN_PIXEL_FORMAT_GRAYSCALE_8_BIT 
XN_PIXEL_FORMAT_GRAYSCALE_16_BIT 

Definition at line 401 of file XnTypes.h.

Enumerator:
XN_PLAYER_SEEK_SET 
XN_PLAYER_SEEK_CUR 
XN_PLAYER_SEEK_END 

Definition at line 419 of file XnTypes.h.

Type of the production node.

Enumerator:
XN_NODE_TYPE_DEVICE 

A device node

XN_NODE_TYPE_DEPTH 

A depth generator

XN_NODE_TYPE_IMAGE 

An image generator

XN_NODE_TYPE_AUDIO 

An audio generator

XN_NODE_TYPE_IR 

An IR generator

XN_NODE_TYPE_USER 

A user generator

XN_NODE_TYPE_RECORDER 

A recorder

XN_NODE_TYPE_PLAYER 

A player

XN_NODE_TYPE_GESTURE 

A gesture generator

XN_NODE_TYPE_SCENE 

A scene analyzer

XN_NODE_TYPE_HANDS 

A hands generator

XN_NODE_TYPE_CODEC 

A Codec

Definition at line 84 of file XnTypes.h.

Enumerator:
XN_RES_CUSTOM 
XN_RES_QQVGA 
XN_RES_CGA 
XN_RES_QVGA 
XN_RES_VGA 
XN_RES_SVGA 
XN_RES_XGA 
XN_RES_720P 
XN_RES_SXGA 
XN_RES_UXGA 
XN_RES_1080P 

Definition at line 304 of file XnTypes.h.

Enumerator:
XN_SAMPLE_RATE_8K 
XN_SAMPLE_RATE_11K 
XN_SAMPLE_RATE_12K 
XN_SAMPLE_RATE_16K 
XN_SAMPLE_RATE_22K 
XN_SAMPLE_RATE_24K 
XN_SAMPLE_RATE_32K 
XN_SAMPLE_RATE_44K 
XN_SAMPLE_RATE_48K 

Definition at line 332 of file XnTypes.h.

A full list of available joints.

Enumerator:
XN_SKEL_HEAD 
XN_SKEL_NECK 
XN_SKEL_TORSO 
XN_SKEL_WAIST 
XN_SKEL_LEFT_COLLAR 
XN_SKEL_LEFT_SHOULDER 
XN_SKEL_LEFT_ELBOW 
XN_SKEL_LEFT_WRIST 
XN_SKEL_LEFT_HAND 
XN_SKEL_LEFT_FINGERTIP 
XN_SKEL_RIGHT_COLLAR 
XN_SKEL_RIGHT_SHOULDER 
XN_SKEL_RIGHT_ELBOW 
XN_SKEL_RIGHT_WRIST 
XN_SKEL_RIGHT_HAND 
XN_SKEL_RIGHT_FINGERTIP 
XN_SKEL_LEFT_HIP 
XN_SKEL_LEFT_KNEE 
XN_SKEL_LEFT_ANKLE 
XN_SKEL_LEFT_FOOT 
XN_SKEL_RIGHT_HIP 
XN_SKEL_RIGHT_KNEE 
XN_SKEL_RIGHT_ANKLE 
XN_SKEL_RIGHT_FOOT 

Definition at line 492 of file XnTypes.h.

A configuration of joints to be used by skeleton (see xnSetSkeletonProfile)

Enumerator:
XN_SKEL_PROFILE_NONE 

No joints at all

XN_SKEL_PROFILE_ALL 

All joints

XN_SKEL_PROFILE_UPPER 

All the joints in the upper body (torso and upwards)

XN_SKEL_PROFILE_LOWER 

All the joints in the lower body (torso and downwards)

XN_SKEL_PROFILE_HEAD_HANDS 

The head and the hands

Definition at line 525 of file XnTypes.h.



nao_openni
Author(s): Bener SUAY
autogenerated on Mon Jan 6 2014 11:27:51