Nuitrack  1.11.2
3D Skeleton Tracking Middleware
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Groups Pages
nuitrack.GestureRecognizer Class Referenceabstract

Represents the interface to the capabilities of the Nuitrack Gesture Recognizer module. More...

Inherits nuitrack.Module.

Public Member Functions

delegate void OnNewGestures (GestureData gestures)
 
delegate void OnUserStateChange (UserStateData usersStateChangesData)
 
delegate void OnUpdate (UserGesturesStateData gestureUpdateData)
 
GestureData GetGestureData ()
 Get the gesture data. More...
 
abstract float GetProcessingTime ()
 Get the average processing time. More...
 
abstract void SetControlGesturesStatus (bool status)
 Turn on/off the control of gestures (swipes/push) More...
 
- Public Member Functions inherited from nuitrack.Module
String GetPerformanceInfo ()
 
virtual void Release ()
 
void subscribe ()
 

Static Public Member Functions

static GestureRecognizer Create ()
 Initializes a new instance of the nuitrack.GestureRecognizer class.
 

Protected Member Functions

void SignalOnNewGestures (GestureData gestures)
 
void SignalOnUserStateChange (UserStateData usersStateChangesData)
 
void SignalOnUpdate (UserGesturesStateData data)
 
- Protected Member Functions inherited from nuitrack.Module
void unsubscribe ()
 
abstract void subscribeImpl ()
 
abstract void unsubscribeImpl ()
 

Protected Attributes

GestureData gestureData
 
UserStateData userStateData
 
UserGesturesStateData userGesturesStateData
 
- Protected Attributes inherited from nuitrack.Module
System.IntPtr ptr
 
int usageCount
 
int isSubscribed
 
long lastCall
 

Properties

OnNewGestures OnNewGesturesEvent
 Raised when new gestures are recognized.
 
OnUserStateChange OnUsersStateChangedEvent
 Raised when the user state has changed.
 
OnUpdate OnUpdateEvent
 Raised when the module data is updated.
 
- Properties inherited from nuitrack.Module
System.IntPtr Ptr [get]
 Gets the native ptr. More...
 

Detailed Description

Represents the interface to the capabilities of the Nuitrack Gesture Recognizer module.

To enable the module, you must create an instance of this class. To create the instance, use GestureRecognizer Create() method. This instance is called GestureRecognizer module object.

Member Function Documentation

GestureData nuitrack.GestureRecognizer.GetGestureData ( )
inline

Get the gesture data.

Returns
The gesture data.
abstract float nuitrack.GestureRecognizer.GetProcessingTime ( )
pure virtual

Get the average processing time.

Returns
The average processing time in ms.
abstract void nuitrack.GestureRecognizer.SetControlGesturesStatus ( bool  status)
pure virtual

Turn on/off the control of gestures (swipes/push)

Parameters
[in]statusTurn on if set to true. Turn off if set to false
void nuitrack.GestureRecognizer.SignalOnNewGestures ( GestureData  gestures)
inlineprotected
Warning
For internal use only.
void nuitrack.GestureRecognizer.SignalOnUpdate ( UserGesturesStateData  data)
inlineprotected
Warning
For internal use only.
void nuitrack.GestureRecognizer.SignalOnUserStateChange ( UserStateData  usersStateChangesData)
inlineprotected
Warning
For internal use only.

Member Data Documentation

GestureData nuitrack.GestureRecognizer.gestureData
protected
Warning
For internal use only.
UserGesturesStateData nuitrack.GestureRecognizer.userGesturesStateData
protected
Warning
For internal use only.
UserStateData nuitrack.GestureRecognizer.userStateData
protected
Warning
For internal use only.