|
NITE 1.5.1 - API Reference
|
#include <XnVVirtualCoordinates.h>


Public Member Functions | |
| XnVVirtualCoordinates (const XnChar *strINI, const XnChar *strName="XnVVirtualCoordintates") | |
| virtual | ~XnVVirtualCoordinates () |
| void | Update (XnVMessage *pMessage) |
| void | Update (const XnVMultipleHands &hands) |
| void | OnPointCreate (const XnVHandPointContext *pContext) |
| void | OnPointUpdate (const XnVHandPointContext *pContext) |
| void | OnPointDestroy (XnUInt32 nID) |
Protected Member Functions | |
| void | Clear () |
| virtual void | UpdateVirtualPoint (XnVVirtualCoordinatesInternal *pVC, const XnVHandPointContext *pContext, XnVHandPointContext *pLocalContext) |
| XnVVirtualCoordinatesInternal * | GetLocalContext (XnUInt32 nID) |
Protected Attributes | |
| XnVIntVCIHash * | m_pVCContexts |
| XnChar | m_strINI [XNV_VC_MAX_FILE_NAME] |
| XnVMultipleHands | m_Hands |
The virtual coordinates filter learns the user's virtual plane, and translates all points to coordinates relative to that plane
Definition at line 23 of file XnVVirtualCoordinates.h.
| XnVVirtualCoordinates::XnVVirtualCoordinates | ( | const XnChar * | strINI, |
| const XnChar * | strName = "XnVVirtualCoordintates" |
||
| ) |
Constructor: Create a new Virtual Coordinates Filter
| [in] | strINI | Initialization file |
| [in] | strName | Name of the control, for log purposes. |
| virtual XnVVirtualCoordinates::~XnVVirtualCoordinates | ( | ) | [virtual] |
| void XnVVirtualCoordinates::Clear | ( | ) | [protected] |
| XnVVirtualCoordinatesInternal* XnVVirtualCoordinates::GetLocalContext | ( | XnUInt32 | nID | ) | [protected] |
| void XnVVirtualCoordinates::OnPointCreate | ( | const XnVHandPointContext * | pContext | ) | [virtual] |
Called when a point is created.
| [in] | pContext | The hand context of the newly created point |
Reimplemented from XnVPointControl.
Reimplemented in XnVClickableVirtualPlane.
| void XnVVirtualCoordinates::OnPointDestroy | ( | XnUInt32 | nID | ) | [virtual] |
Called when a point is destroyed.
| [in] | nID | the ID of the destroyed point |
Reimplemented from XnVPointControl.
Reimplemented in XnVClickableVirtualPlane.
| void XnVVirtualCoordinates::OnPointUpdate | ( | const XnVHandPointContext * | pContext | ) | [virtual] |
Called when a point is updated.
| [in] | pContext | The hand context of the point |
Reimplemented from XnVPointControl.
| void XnVVirtualCoordinates::Update | ( | XnVMessage * | pMessage | ) | [virtual] |
Send the receives message as-is, allowing Point based callbacks.
Reimplemented from XnVPointFilter.
| void XnVVirtualCoordinates::Update | ( | const XnVMultipleHands & | hands | ) | [virtual] |
Translate a new batch of points
| [in] | hands | The current points |
Reimplemented from XnVPointControl.
| virtual void XnVVirtualCoordinates::UpdateVirtualPoint | ( | XnVVirtualCoordinatesInternal * | pVC, |
| const XnVHandPointContext * | pContext, | ||
| XnVHandPointContext * | pLocalContext | ||
| ) | [protected, virtual] |
Reimplemented in XnVClickableVirtualPlane.
XnVMultipleHands XnVVirtualCoordinates::m_Hands [protected] |
Definition at line 72 of file XnVVirtualCoordinates.h.
XnVIntVCIHash* XnVVirtualCoordinates::m_pVCContexts [protected] |
Definition at line 68 of file XnVVirtualCoordinates.h.
XnChar XnVVirtualCoordinates::m_strINI[XNV_VC_MAX_FILE_NAME] [protected] |
Definition at line 70 of file XnVVirtualCoordinates.h.
1.7.6.1