OpenNI 1.3.2
|
#include <XnCppWrapper.h>
Classes | |
struct | HandTouchingFOVEdgeCookie |
Public Types | |
typedef void(* | HandTouchingFOVEdge )(HandTouchingFOVEdgeCapability &touchingfov, XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, XnDirection eDir, void *pCookie) |
Public Member Functions | |
HandTouchingFOVEdgeCapability (XnNodeHandle hNode) | |
HandTouchingFOVEdgeCapability (const NodeWrapper &node) | |
XnStatus | RegisterToHandTouchingFOVEdge (HandTouchingFOVEdge handler, void *pCookie, XnCallbackHandle &hCallback) |
void | UnregisterFromHandTouchingFOVEdge (XnCallbackHandle hCallback) |
Allows access to Hand touching FOV edge capability functions. see HandTouchingFOVEdgeCapability for additional details.
typedef void(* xn::HandTouchingFOVEdgeCapability::HandTouchingFOVEdge)(HandTouchingFOVEdgeCapability &touchingfov, XnUserID user, const XnPoint3D *pPosition, XnFloat fTime, XnDirection eDir, void *pCookie) |
Callback for the hand getting close to the edge of the FOV
touchingfov | [in] the hand touching fov edge capability that raised this event. |
user | [in] The id of the hand that disappeared. |
pPosition | [in] The position of the hand. |
fTime | [in] Timestamp, in seconds. |
eDir | [in] Direction of the FOV touched |
pCookie | [in] A user-provided cookie that was given when registering to this event. |
xn::HandTouchingFOVEdgeCapability::HandTouchingFOVEdgeCapability | ( | XnNodeHandle | hNode | ) | [inline] |
Ctor
hNode | [in] Node handle |
xn::HandTouchingFOVEdgeCapability::HandTouchingFOVEdgeCapability | ( | const NodeWrapper & | node | ) | [inline] |
XnStatus xn::HandTouchingFOVEdgeCapability::RegisterToHandTouchingFOVEdge | ( | HandTouchingFOVEdge | handler, |
void * | pCookie, | ||
XnCallbackHandle & | hCallback | ||
) | [inline] |
Register to when a hand is approaching the edge of the FOV.
For full details and usage, see xnRegisterToHandTouchingFOVEdgevoid xn::HandTouchingFOVEdgeCapability::UnregisterFromHandTouchingFOVEdge | ( | XnCallbackHandle | hCallback | ) | [inline] |
Unregister from hand approaching the edge of the FOV.
For full details and usage, see xnUnregisterFromHandTouchingFOVEdge