Public Member Functions

XnVPointFilter Class Reference

#include <XnVPointFilter.h>

Inheritance diagram for XnVPointFilter:
Inheritance graph
[legend]
Collaboration diagram for XnVPointFilter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 XnVPointFilter (const XnChar *strName="XnVPointFilter")
void Update (XnVMessage *pMessage)
void ClearQueue ()
void GenerateReplaced (XnVMessage *pMessage, XnVMultipleHands &newHands)
void OverridePrimary (XnUInt32 nNewPrimary)

Detailed Description

A filter (listener/generator) which expects its messages to be PointMessages.

Definition at line 18 of file XnVPointFilter.h.


Constructor & Destructor Documentation

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

Creation.

Parameters:
[in] strName Name of the control, for log purposes.

Member Function Documentation

void XnVPointFilter::ClearQueue (  )  [virtual]

Clear the Multi-threading queue

Reimplemented from XnVMessageListener.

void XnVPointFilter::GenerateReplaced ( XnVMessage pMessage,
XnVMultipleHands newHands 
)

Replace the point part of the message, and generate it

Parameters:
[in] pMessage The message now handling (expects a PointMessage or a ComplexMessage with an internal PointMessage)
[in] newHands The hands that are to replace the ones in the original message
void XnVPointFilter::OverridePrimary ( XnUInt32  nNewPrimary  ) 

Change the primary ID. If the new primary doesn't exist, it will be turned off. This takes affect inside the GenerateReplaced function.

Parameters:
[in] nNewPrimary The ID that is to be the new primary. Use 0 to return to default
void XnVPointFilter::Update ( XnVMessage pMessage  )  [virtual]

Send the receives message as-is, allowing Point based callbacks.

Reimplemented from XnVPointControl.

Reimplemented in XnVPointArea, XnVPointDenoiser, and XnVVirtualCoordinates.


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