C# Class SetVision.TreeViz

Interaction logic for TreeViz.xaml
Inheritance: System.Windows.Window, INotifyPropertyChanged
Mostra file Open project: LoyVanBeek/SetVision Class Usage Examples

Public Methods

Method Description
FillTree ( ContourNode tree ) : void
Populate ( ContourNode tree ) : void
ToBitmapSource ( IImage image ) : System.Windows.Media.Imaging.BitmapSource

Convert an IImage to a WPF BitmapSource. The result can be used in the Set Property of Image.Source

TreeViz ( ) : System
VizualizeTree ( ContourNode tree ) : void

Private Methods

Method Description
DeleteObject ( IntPtr o ) : int
NotifyPropertyChanged ( string propertyName ) : void
Populate ( ContourNode tree, System.Windows.Controls.TreeViewItem parentItem ) : void

Method Details

FillTree() public method

public FillTree ( ContourNode tree ) : void
tree SetVision.Vision.ContourNode
return void

Populate() public method

public Populate ( ContourNode tree ) : void
tree SetVision.Vision.ContourNode
return void

ToBitmapSource() public static method

Convert an IImage to a WPF BitmapSource. The result can be used in the Set Property of Image.Source
public static ToBitmapSource ( IImage image ) : System.Windows.Media.Imaging.BitmapSource
image IImage The Emgu CV Image
return System.Windows.Media.Imaging.BitmapSource

TreeViz() public method

public TreeViz ( ) : System
return System

VizualizeTree() public static method

public static VizualizeTree ( ContourNode tree ) : void
tree SetVision.Vision.ContourNode
return void