C# Class CCT.NUI.Visual.VideoControl

Show file Open project: an83/KinectTouch2

Public Methods

Method Description
AddLayer ( ILayer layer ) : void
Clear ( ) : void
ClearLayers ( ) : void
SetImage ( Bitmap newImage ) : void
SetImageSource ( IBitmapDataSource imageSource ) : void
VideoControl ( ) : System
VideoControl ( IBitmapDataSource imageSource ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
GetTargetArea ( ) : Rectangle
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

VideoControl_MouseMove ( object sender, MouseEventArgs e ) : void
VideoControl_Paint ( object sender, PaintEventArgs e ) : void
imageSource_NewImageAvailable ( Bitmap newImage ) : void
layer_RequestRefresh ( object sender, EventArgs e ) : void

Method Details

AddLayer() public method

public AddLayer ( ILayer layer ) : void
layer ILayer
return void

Clear() public method

public Clear ( ) : void
return void

ClearLayers() public method

public ClearLayers ( ) : void
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

SetImage() public method

public SetImage ( Bitmap newImage ) : void
newImage Bitmap
return void

SetImageSource() public method

public SetImageSource ( IBitmapDataSource imageSource ) : void
imageSource IBitmapDataSource
return void

VideoControl() public method

public VideoControl ( ) : System
return System

VideoControl() public method

public VideoControl ( IBitmapDataSource imageSource ) : System
imageSource IBitmapDataSource
return System