#include <XnVWaveDetector.h>
List of all members.
Detailed Description
Definition at line 17 of file XnVWaveDetector.h.
Member Typedef Documentation
Constructor & Destructor Documentation
XnVWaveDetector::XnVWaveDetector |
( |
const XnChar * |
strName = "XnVWaveDetector" |
) |
|
Create the wave control
- Parameters:
-
[in] | strName | Name of the control, for log purposes. |
XnVWaveDetector::~XnVWaveDetector |
( |
|
) |
|
Member Function Documentation
XnInt32 XnVWaveDetector::GetFlipCount |
( |
|
) |
const |
XnInt32 XnVWaveDetector::GetMaxDeviation |
( |
|
) |
const |
XnInt32 XnVWaveDetector::GetMinLength |
( |
|
) |
const |
void XnVWaveDetector::OnPrimaryPointCreate |
( |
const XnVHandPointContext * |
pContext, |
|
|
const XnPoint3D & |
ptFocus | |
|
) |
| | [virtual] |
Called when the primary point is created.
- Parameters:
-
[in] | pContext | The hand context of the newly created primary point |
[in] | ptFocus | The point in which the session has started. |
Reimplemented from XnVPointControl.
void XnVWaveDetector::OnPrimaryPointDestroy |
( |
XnUInt32 |
nID |
) |
[virtual] |
Called when the primary point is destroyed
- Parameters:
-
[in] | nID | The ID of the hand that was the primary point |
Reimplemented from XnVPointControl.
void XnVWaveDetector::OnPrimaryPointReplace |
( |
XnUInt32 |
nOldId, |
|
|
const XnVHandPointContext * |
pContext | |
|
) |
| | [virtual] |
Called when the primary point is replaced by another. This will reinitialize the algorithm for the new hand
- Parameters:
-
[in] | nOldId | The ID of the old primary point |
[in] | pContext | The hand context of the new primary point |
Reimplemented from XnVPointControl.
Called when the primary point is updated. This will cause the algorithm to look for waves.
- Parameters:
-
[in] | pContext | The hand context of the updated primary point |
Reimplemented from XnVPointControl.
XnCallbackHandle XnVWaveDetector::RegisterWave |
( |
void * |
cxt, |
|
|
WaveCB |
pCB | |
|
) |
| | |
Register for the wave event
- Parameters:
-
[in] | cxt | User's context |
[in] | pCB | The Callback to call when the event is invoked. |
- Returns:
- A handle, to allow unregistration.
void XnVWaveDetector::Reset |
( |
|
) |
|
void XnVWaveDetector::SetFlipCount |
( |
XnInt32 |
nFlipCount |
) |
|
void XnVWaveDetector::SetMaxDeviation |
( |
XnInt32 |
nMaxDeviation |
) |
|
void XnVWaveDetector::SetMinLength |
( |
XnInt32 |
nMinLength |
) |
|
void XnVWaveDetector::UnregisterWave |
( |
XnCallbackHandle |
handle |
) |
|
Unregister from the wave event
- Parameters:
-
[in] | handle | The handle provided on registration. |
Member Data Documentation
The documentation for this class was generated from the following file: