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

Represents the interface to the capabilities of the Nuitrack Hand Tracker module. More...

Inheritance diagram for nuitrack.HandTracker:
Inheritance graph

Public Member Functions

delegate void OnUpdate (HandTrackerData handTrackerData)
 
HandTrackerData GetHandTrackerData ()
 Get the hand tracker data. More...
 
abstract float GetProcessingTime ()
 Get the average processing time. More...
 
- Public Member Functions inherited from nuitrack.Module
String GetPerformanceInfo ()
 
virtual void Release ()
 
void subscribe ()
 

Static Public Member Functions

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

Protected Member Functions

void SignalOnUpdate (HandTrackerData data)
 
- Protected Member Functions inherited from nuitrack.Module
void unsubscribe ()
 
abstract void subscribeImpl ()
 
abstract void unsubscribeImpl ()
 

Protected Attributes

HandTrackerData handTrackerData
 
- Protected Attributes inherited from nuitrack.Module
System.IntPtr ptr
 
int usageCount
 
int isSubscribed
 
long lastCall
 

Properties

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 Hand Tracker module.

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

Member Function Documentation

HandTrackerData nuitrack.HandTracker.GetHandTrackerData ( )
inline

Get the hand tracker data.

Returns
The hand tracker data.
abstract float nuitrack.HandTracker.GetProcessingTime ( )
pure virtual

Get the average processing time.

Returns
The average processing time in ms.
void nuitrack.HandTracker.SignalOnUpdate ( HandTrackerData  data)
inlineprotected
Warning
For internal use only.

Member Data Documentation

HandTrackerData nuitrack.HandTracker.handTrackerData
protected
Warning
For internal use only.