C# Class CCT.NUI.Visual.WpfClusterLayer

Inheritance: UIElement, IWpfLayer
Show file Open project: an83/KinectTouch2

Public Methods

Method Description
Activate ( System.Windows.Controls.Canvas canvas ) : void
Dispose ( ) : void
WpfClusterLayer ( IClusterDataSource dataSource ) : System

Protected Methods

Method Description
OnRender ( System.Windows.Media.DrawingContext drawingContext ) : void

Private Methods

Method Description
DrawCenter ( Cluster cluster, System.Windows.Media.DrawingContext drawingContext ) : void
DrawClusterPoints ( Cluster cluster, System.Windows.Media.Brush brush, System.Windows.Media.DrawingContext drawingContext ) : void
dataSource_NewDataAvailable ( ClusterCollection clusters ) : void

Method Details

Activate() public method

public Activate ( System.Windows.Controls.Canvas canvas ) : void
canvas System.Windows.Controls.Canvas
return void

Dispose() public method

public Dispose ( ) : void
return void

OnRender() protected method

protected OnRender ( System.Windows.Media.DrawingContext drawingContext ) : void
drawingContext System.Windows.Media.DrawingContext
return void

WpfClusterLayer() public method

public WpfClusterLayer ( IClusterDataSource dataSource ) : System
dataSource IClusterDataSource
return System