#include <XnModuleInterface.h>
Public Member Functions | |
void (XN_CALLBACK_TYPE *UnregisterFromUserPositionChange)(XnModuleNodeHandle hGenerator | |
XnStatus (XN_CALLBACK_TYPE *SetUserPosition)(XnModuleNodeHandle hGenerator | |
XnStatus (XN_CALLBACK_TYPE *GetUserPosition)(XnModuleNodeHandle hGenerator | |
XnStatus (XN_CALLBACK_TYPE *RegisterToUserPositionChange)(XnModuleNodeHandle hGenerator | |
XnUInt32 (XN_CALLBACK_TYPE *GetSupportedUserPositionsCount)(XnModuleNodeHandle hGenerator) | |
Public Attributes | |
XnModuleStateChangedHandler | handler |
XnCallbackHandle | hCallback |
XnUInt32 | nIndex |
XnModuleStateChangedHandler void * | pCookie |
XnModuleStateChangedHandler void XnCallbackHandle * | phCallback |
XnUInt32 const XnBoundingBox3D * | pPosition |
XnUInt32 XnBoundingBox3D * | pPosition |
A set of functions supported by depth generators who supports the User Position capability.
Definition at line 796 of file XnModuleInterface.h.
XnModuleUserPositionCapabilityInterface::void | ( | XN_CALLBACK_TYPE * | UnregisterFromUserPositionChange | ) |
Unregisters a callback function which was registered using RegisterToUserPositionChange.
hGenerator | [in] A handle to the instance. |
hCallback | [in] The handle to the callback returned from RegisterToUserPositionChange. |
XnModuleUserPositionCapabilityInterface::XnStatus | ( | XN_CALLBACK_TYPE * | SetUserPosition | ) |
Sets the current user position.
hGenerator | [in] A handle to the instance. |
nIndex | [in] The user position to set. |
pPosition | [in] The user position in the frame. |
XnModuleUserPositionCapabilityInterface::XnStatus | ( | XN_CALLBACK_TYPE * | GetUserPosition | ) |
Gets the current user position.
hGenerator | [in] A handle to the instance. |
nIndex | [in] The user position to get. |
pPosition | [out] Current user position. |
XnModuleUserPositionCapabilityInterface::XnStatus | ( | XN_CALLBACK_TYPE * | RegisterToUserPositionChange | ) |
Registers a callback function to user position changes.
hGenerator | [in] A handle to the instance. |
handler | [in] A pointer to a function that will be called when user position changes. |
pCookie | [in] A user cookie that will be passed to the callback function. |
phCallback | [out] Optional. Will be filled with a handle to be passed to UnregisterFromUserPositionChange. |
XnModuleUserPositionCapabilityInterface::XnUInt32 | ( | XN_CALLBACK_TYPE * | GetSupportedUserPositionsCount | ) |
Gets the number of user positions supported by this generator.
hGenerator | [in] A handle to the instance. |
Definition at line 837 of file XnModuleInterface.h.
Definition at line 847 of file XnModuleInterface.h.
Definition at line 815 of file XnModuleInterface.h.
Definition at line 837 of file XnModuleInterface.h.
XnModuleStateChangedHandler void XnCallbackHandle* XnModuleUserPositionCapabilityInterface::phCallback |
Definition at line 837 of file XnModuleInterface.h.
Definition at line 815 of file XnModuleInterface.h.
Definition at line 826 of file XnModuleInterface.h.