OpenNI 1.5.7
Public Attributes | List of all members
XnModuleUserPositionCapabilityInterface Struct Reference

#include <XnModuleInterface.h>

Public Attributes

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

Detailed Description

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

Member Data Documentation

XnModuleNodeHandle XnModuleStateChangedHandler XnModuleUserPositionCapabilityInterface::handler
XnModuleNodeHandle XnCallbackHandle XnModuleUserPositionCapabilityInterface::hCallback
XnModuleNodeHandle XnModuleUserPositionCapabilityInterface::hGenerator

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.

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.
XnModuleNodeHandle XnUInt32 XnModuleUserPositionCapabilityInterface::nIndex
XnModuleNodeHandle XnModuleStateChangedHandler void* XnModuleUserPositionCapabilityInterface::pCookie
XnModuleNodeHandle XnModuleStateChangedHandler void XnCallbackHandle* XnModuleUserPositionCapabilityInterface::phCallback
XnModuleNodeHandle XnUInt32 XnBoundingBox3D* XnModuleUserPositionCapabilityInterface::pPosition
XnStatus(* XnModuleUserPositionCapabilityInterface::SetUserPosition)(XnModuleNodeHandle hGenerator, XnUInt32 nIndex, const XnBoundingBox3D *pPosition)

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.

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