C# Class CCT.NUI.Visual.HandLayer

Inheritance: LayerBase
Show file Open project: an83/KinectTouch2 Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
HandLayer ( IHandDataSource dataSource ) : System
HandLayer ( IHandDataSource dataSource, float zoomFactor ) : System
Paint ( Graphics g ) : void
SetTargetSize ( System size ) : void
SetZoomFactor ( float zoomFactor ) : void
SetZoomHandFactor ( float zoomFactor ) : void

Protected Methods

Method Description
DrawCenter ( HandData hand, Graphics g ) : void
DrawFingerPoints ( HandData hand, Graphics g ) : void
PaintContour ( HandData hand, Graphics g ) : void
PaintCovexHull ( HandData hand, Graphics g ) : void

Private Methods

Method Description
PaintFingerPoint ( Graphics g, FingerPoint point ) : void
PaintHand ( Graphics g, HandData hand ) : void
dataSource_NewDataAvailable ( HandCollection handData ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

DrawCenter() protected method

protected DrawCenter ( HandData hand, Graphics g ) : void
hand CCT.NUI.HandTracking.HandData
g System.Drawing.Graphics
return void

DrawFingerPoints() protected method

protected DrawFingerPoints ( HandData hand, Graphics g ) : void
hand CCT.NUI.HandTracking.HandData
g System.Drawing.Graphics
return void

HandLayer() public method

public HandLayer ( IHandDataSource dataSource ) : System
dataSource IHandDataSource
return System

HandLayer() public method

public HandLayer ( IHandDataSource dataSource, float zoomFactor ) : System
dataSource IHandDataSource
zoomFactor float
return System

Paint() public method

public Paint ( Graphics g ) : void
g System.Drawing.Graphics
return void

PaintContour() protected method

protected PaintContour ( HandData hand, Graphics g ) : void
hand CCT.NUI.HandTracking.HandData
g System.Drawing.Graphics
return void

PaintCovexHull() protected method

protected PaintCovexHull ( HandData hand, Graphics g ) : void
hand CCT.NUI.HandTracking.HandData
g System.Drawing.Graphics
return void

SetTargetSize() public method

public SetTargetSize ( System size ) : void
size System
return void

SetZoomFactor() public method

public SetZoomFactor ( float zoomFactor ) : void
zoomFactor float
return void

SetZoomHandFactor() public method

public SetZoomHandFactor ( float zoomFactor ) : void
zoomFactor float
return void