#include <XnVSessionGenerator.h>
List of all members.
Detailed Description
A Session Generator generates Session Messages and calls SessionListener's callbacks
Definition at line 19 of file XnVSessionGenerator.h.
Constructor & Destructor Documentation
XnVSessionGenerator::XnVSessionGenerator |
( |
const XnChar * |
strName = "XnVSessionGenerator" |
) |
|
Constructor. Create a new Session Generator
- Parameters:
-
[in] | strName | A name, for Log use |
virtual XnVSessionGenerator::~XnVSessionGenerator |
( |
|
) |
[virtual] |
Member Function Documentation
virtual XnStatus XnVSessionGenerator::EndSession |
( |
|
) |
[pure virtual] |
virtual XnStatus XnVSessionGenerator::ForceSession |
( |
const XnPoint3D & |
ptFocus |
) |
[pure virtual] |
XnStatus XnVSessionGenerator::GetFocusPoint |
( |
XnPoint3D & |
ptFocus |
) |
const |
XnBool XnVSessionGenerator::IsInSession |
( |
|
) |
const |
Tells if currently in Session
- Returns:
- TRUE if in Session (Started but never Stopped), FALSE otherwise
Reimplemented in XnVSessionManager.
virtual XnStatus XnVSessionGenerator::LosePoint |
( |
XnUInt32 |
nID |
) |
[pure virtual] |
virtual XnStatus XnVSessionGenerator::LosePoints |
( |
|
) |
[pure virtual] |
Add a listener for Session events
- Parameters:
-
[in] | pListener | The listener to be called on session events |
- Returns:
- A handle, allowing unregistering.
Add a functions to be called on Session events, with a specific context
- Parameters:
-
[in] | cxt | The context to use when calling the functions |
[in] | StartCB | The function to call when a new Session has started |
[in] | EndCB | The function to call when the Session has ended |
[in] | MidCB | The (optional) function to call when a focus gesture started |
- Returns:
- A handle, allowing unregistering.
virtual void XnVSessionGenerator::SessionMidGesture |
( |
const XnChar * |
strFocus, |
|
|
const XnPoint3D & |
ptFocus, |
|
|
XnFloat |
fProgress | |
|
) |
| | [protected, virtual] |
virtual void XnVSessionGenerator::SessionStart |
( |
const XnPoint3D & |
ptPosition |
) |
[protected, virtual] |
virtual void XnVSessionGenerator::SessionStop |
( |
|
) |
[protected, virtual] |
virtual XnStatus XnVSessionGenerator::TrackPoint |
( |
const XnPoint3D & |
pt |
) |
[pure virtual] |
Unregister a previously registered Session Listener
- Parameters:
-
[in] | pSessionListener | The session listener that was registered |
void XnVSessionGenerator::UnregisterSession |
( |
XnVHandle |
nHandle |
) |
|
Unregister previously registered Session Listener or functions, by handle
- Parameters:
-
[in] | nHandle | The handle received on registration |
Member Data Documentation
The documentation for this class was generated from the following file: