![]() |
OpenNI 1.5.7
|
#include <XnCppWrapper.h>
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) |
![]() | |
Capability (XnNodeHandle hNode) | |
Capability (const NodeWrapper &node) | |
![]() | |
NodeWrapper (XnNodeHandle hNode) | |
NodeWrapper (const NodeWrapper &other) | |
NodeWrapper & | operator= (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 () |
void | SetHandle (XnNodeHandle hNode) |
void | TakeOwnership (XnNodeHandle hNode) |
Allows access to Hand touching FOV edge capability functions.
Usage: Do not instantiate directly. Instead, use HandsGenerator::GetHandTouchingFOVEdgeCap() to obtain an instance.
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
[in] | touchingfov | the hand touching fov edge capability that raised this event. |
[in] | user | ID of the hand that disappeared. |
[in] | pPosition | Position of the hand. |
[in] | fTime | Timestamp, in seconds. |
[in] | eDir | Direction of the FOV touched |
[in] | pCookie | User-provided cookie that was given when registering to this event. |
|
inline |
Ctor
[in] | hNode | Node handle |
|
inline |
|
inline |
Registers an event handler for the 'Hand Touching FOV Edge' event.
[in] | handler | Callback function to be invoked when the event is raised. |
[in] | pCookie | User's cookie, to be delivered to the callback. |
[out] | hCallback | Handle to the callback to be used for unregistering it. |
For full details and usage of the parameters, see Registering to Events.
|
inline |
Unregisters an event handler for the 'Hand Touching FOV Edge' event.
[in] | hCallback | Handle received from registration. |
For full details and usage of the parameter, see Unregistering from Events .