OpenNI 1.5.4: XnModuleUserPositionCapabilityInterface Struct Reference

OpenNI

XnModuleUserPositionCapabilityInterface Struct Reference

#include <XnModuleInterface.h>

List of all members.

Public Attributes

XnUInt32(* GetSupportedUserPositionsCount )(XnModuleNodeHandle hGenerator)
XnStatus(* SetUserPosition )(XnModuleNodeHandle hGenerator, XnUInt32 nIndex, const XnBoundingBox3D *pPosition)
XnStatus(* GetUserPosition )(XnModuleNodeHandle hGenerator, XnUInt32 nIndex, XnBoundingBox3D *pPosition)
XnStatus(* RegisterToUserPositionChange )(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
void(* UnregisterFromUserPositionChange )(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback)

Detailed Description

A set of functions supported by depth generators who supports the User Position capability.


Member Data Documentation

Gets the number of user positions supported by this generator.

Parameters:
hGenerator[in] A handle to the instance.

Gets the current user position.

Parameters:
hGenerator[in] A handle to the instance.
nIndex[in] The user position to get.
pPosition[out] Current user position.

Registers a callback function to user position changes.

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

Sets the current user position.

Parameters:
hGenerator[in] A handle to the instance.
nIndex[in] The user position to set.
pPosition[in] The user position in the frame.

Unregisters a callback function which was registered using RegisterToUserPositionChange.

Parameters:
hGenerator[in] A handle to the instance.
hCallback[in] The handle to the callback returned from RegisterToUserPositionChange.

The documentation for this struct was generated from the following file:
Generated on Wed May 16 2012 10:16:06 for OpenNI 1.5.4 by   doxygen 1.7.5.1