NITE 1.5.1 - API Reference

XnVPointTracker Class Reference

#include <XnVPointTracker.h>

Inheritance diagram for XnVPointTracker:
Collaboration diagram for XnVPointTracker:

List of all members.

Public Member Functions

 XnVPointTracker (const XnChar *strName="XnVPointTracker")
virtual ~XnVPointTracker ()
virtual XnStatus StartTracking (const XnPoint3D &ptPosition)
virtual XnStatus StopTracking (const XnUInt32 nID)
virtual XnStatus StopTracking ()
virtual void Clear ()

Protected Attributes

XnVIntList * m_pLostPoints

Detailed Description

A XnVPointTracker is a Context Filter, which is a Context Control and a Message Generator. It receives Context Messages (as a Context Control), and creates Point Messages to send on

Definition at line 21 of file XnVPointTracker.h.


Constructor & Destructor Documentation

XnVPointTracker::XnVPointTracker ( const XnChar *  strName = "XnVPointTracker")

Constructor. Create a new Point Tracker

Parameters:
[in]strNameA name, for Log use
virtual XnVPointTracker::~XnVPointTracker ( ) [virtual]

Member Function Documentation

virtual void XnVPointTracker::Clear ( ) [virtual]

Clear state

virtual XnStatus XnVPointTracker::StartTracking ( const XnPoint3D &  ptPosition) [virtual]

Start tracking, with the first hand at a certain position

Parameters:
[in]ptPositionThe initial position of the first hand
virtual XnStatus XnVPointTracker::StopTracking ( ) [virtual]

Stop tracking all existing hands

virtual XnStatus XnVPointTracker::StopTracking ( const XnUInt32  nID) [virtual]

Stop tracking a certain hand

Parameters:
[in]nIDThe ID of the hand that should no longer be tracked

Member Data Documentation

XnVIntList* XnVPointTracker::m_pLostPoints [protected]

Definition at line 55 of file XnVPointTracker.h.


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