OpenNI 1.3.2
Classes | Public Types | Public Member Functions | List of all members
xn::HandTouchingFOVEdgeCapability Class Reference

#include <XnCppWrapper.h>

Inheritance diagram for xn::HandTouchingFOVEdgeCapability:
Inheritance graph

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)
 
- Public Member Functions inherited from xn::Capability
 Capability (XnNodeHandle hNode)
 
 Capability (const NodeWrapper &node)
 
- Public Member Functions inherited from xn::NodeWrapper
 NodeWrapper (XnNodeHandle hNode)
 
 NodeWrapper (const NodeWrapper &other)
 
NodeWrapperoperator= (const NodeWrapper &other)
 
 ~NodeWrapper ()
 
 operator XnNodeHandle () const
 
XnNodeHandle GetHandle () const
 
XnBool operator== (const NodeWrapper &other)
 
XnBool operator!= (const NodeWrapper &other)
 
XnBool IsValid () const
 
const XnChar * GetName () const
 
XnStatus AddRef ()
 
void Release ()
 
XnStatus Ref ()
 
void Unref ()
 
void SetHandle (XnNodeHandle hNode)
 
void TakeOwnership (XnNodeHandle hNode)
 

Detailed Description

Allows access to Hand touching FOV edge capability functions. see HandTouchingFOVEdgeCapability for additional details.

Member Typedef Documentation

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

Parameters
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.

Constructor & Destructor Documentation

xn::HandTouchingFOVEdgeCapability::HandTouchingFOVEdgeCapability ( XnNodeHandle  hNode)
inline

Ctor

Parameters
hNode[in] Node handle
xn::HandTouchingFOVEdgeCapability::HandTouchingFOVEdgeCapability ( const NodeWrapper node)
inline

Member Function Documentation

XnStatus xn::HandTouchingFOVEdgeCapability::RegisterToHandTouchingFOVEdge ( HandTouchingFOVEdge  handler,
void *  pCookie,
XnCallbackHandle hCallback 
)
inline

Register to when a hand is approaching the edge of the FOV.

void xn::HandTouchingFOVEdgeCapability::UnregisterFromHandTouchingFOVEdge ( XnCallbackHandle  hCallback)
inline

Unregister from hand approaching the edge of the FOV.


The documentation for this class was generated from the following file: