Defines | Functions
KinectController.cpp File Reference
#include <XnOpenNI.h>
#include <XnCodecIDs.h>
#include "KinectController.h"
Include dependency graph for KinectController.cpp:

Go to the source code of this file.

Defines

#define CHECK_RC(nRetVal, what)

Functions

void XN_CALLBACK_TYPE User_LostUser (xn::UserGenerator &generator, XnUserID nId, void *pCookie)
void XN_CALLBACK_TYPE User_NewUser (xn::UserGenerator &generator, XnUserID nId, void *pCookie)
void XN_CALLBACK_TYPE UserCalibration_CalibrationEnd (xn::SkeletonCapability &capability, XnUserID nId, XnBool bSuccess, void *pCookie)
void XN_CALLBACK_TYPE UserCalibration_CalibrationStart (xn::SkeletonCapability &capability, XnUserID nId, void *pCookie)
void XN_CALLBACK_TYPE UserPose_PoseDetected (xn::PoseDetectionCapability &capability, const XnChar *strPose, XnUserID nId, void *pCookie)

Define Documentation

#define CHECK_RC (   nRetVal,
  what 
)
Value:
if (nRetVal != XN_STATUS_OK)                                                                    \
        {                                                                                                                               \
                printf("%s failed: %s\n", what, xnGetStatusString(nRetVal));\
                return nRetVal;                                                                                         \
        }

Definition at line 6 of file KinectController.cpp.


Function Documentation

void XN_CALLBACK_TYPE User_LostUser ( xn::UserGenerator &  generator,
XnUserID  nId,
void *  pCookie 
)

Definition at line 56 of file KinectController.cpp.

void XN_CALLBACK_TYPE User_NewUser ( xn::UserGenerator &  generator,
XnUserID  nId,
void *  pCookie 
)

Definition at line 41 of file KinectController.cpp.

void XN_CALLBACK_TYPE UserCalibration_CalibrationEnd ( xn::SkeletonCapability &  capability,
XnUserID  nId,
XnBool  bSuccess,
void *  pCookie 
)

Definition at line 76 of file KinectController.cpp.

void XN_CALLBACK_TYPE UserCalibration_CalibrationStart ( xn::SkeletonCapability &  capability,
XnUserID  nId,
void *  pCookie 
)

Definition at line 70 of file KinectController.cpp.

void XN_CALLBACK_TYPE UserPose_PoseDetected ( xn::PoseDetectionCapability &  capability,
const XnChar *  strPose,
XnUserID  nId,
void *  pCookie 
)

Definition at line 62 of file KinectController.cpp.



skeleton_markers
Author(s): Patrick Goebel
autogenerated on Thu Jun 6 2019 21:19:39