Nuitrack  1.4.0
3D Skeleton Tracking Middleware
nuitrack.ColorSensor Class Reference

Represents the interface to the capabilities of the Nuitrack Color Sensor module. More...

Inheritance diagram for nuitrack.ColorSensor:
Inheritance graph

Public Member Functions

delegate void OnUpdate (ColorFrame frame)
 
OutputMode GetOutputMode ()
 Get the sensor output mode. More...
 
ColorFrame GetColorFrame ()
 Get the color frame. More...
 
- Public Member Functions inherited from nuitrack.Module
String GetPerformanceInfo ()
 
virtual void Release ()
 
void subscribe ()
 

Static Public Member Functions

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

Protected Member Functions

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

Protected Attributes

ColorFrame frame
 
OutputMode mode
 
- 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 Color Sensor module.

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

Member Function Documentation

ColorFrame nuitrack.ColorSensor.GetColorFrame ( )
inline

Get the color frame.

Returns
The color frame.
OutputMode nuitrack.ColorSensor.GetOutputMode ( )
inline

Get the sensor output mode.

Returns
The output mode.
void nuitrack.ColorSensor.SignalOnUpdate ( ColorFrame  frame)
inlineprotected
Warning
For internal use only.

Member Data Documentation

ColorFrame nuitrack.ColorSensor.frame
protected
Warning
For internal use only.