C# Class CCT.NUI.Visual.HandLayer

Inheritance: LayerBase
Afficher le fichier Open project: an83/KinectTouch2 Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

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

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

DrawCenter() protected méthode

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

DrawFingerPoints() protected méthode

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

HandLayer() public méthode

public HandLayer ( IHandDataSource dataSource ) : System
dataSource IHandDataSource
Résultat System

HandLayer() public méthode

public HandLayer ( IHandDataSource dataSource, float zoomFactor ) : System
dataSource IHandDataSource
zoomFactor float
Résultat System

Paint() public méthode

public Paint ( Graphics g ) : void
g System.Drawing.Graphics
Résultat void

PaintContour() protected méthode

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

PaintCovexHull() protected méthode

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

SetTargetSize() public méthode

public SetTargetSize ( System size ) : void
size System
Résultat void

SetZoomFactor() public méthode

public SetZoomFactor ( float zoomFactor ) : void
zoomFactor float
Résultat void

SetZoomHandFactor() public méthode

public SetZoomHandFactor ( float zoomFactor ) : void
zoomFactor float
Résultat void