C# Класс Detector.Motion.Form1

Показать файл Открыть проект

Открытые методы

Метод Описание
Form1 ( ) : System
Scale ( double value, double min1, double max1, double min2, double max2 ) : double

Scale a value between one set and the other

SetServoPos ( int Yaw, int Pitch ) : void

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
Form1_Load ( object senderr, EventArgs ee ) : void
GetFile ( ObjectTracked obj ) : string
GetImage ( Bitmap &frame, ObjectTracked obj ) : Bitmap
InitializeComponent ( ) : void

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

SaveBMP ( Bitmap bmp, string path ) : void
SaveImageThread ( AnimationHandeler hand, bool removeAndReturn ) : void
btnCalLoad_Click ( object sender, EventArgs e ) : void
btnShowPorts_Click ( object sender, EventArgs e ) : void
cbOn_CheckedChanged ( object sender, EventArgs e ) : void
pbCurrent_Click ( object sender, EventArgs e ) : void
pbCurrent_MouseMove ( object sender, MouseEventArgs e ) : void
pbIgnoreMotion_MouseDoubleClick ( object sender, MouseEventArgs e ) : void
pbIgnoreMotion_MouseDown ( object sender, MouseEventArgs e ) : void
pbIgnoreMotion_MouseUp ( object sender, MouseEventArgs e ) : void
tabPage2_Click ( object sender, EventArgs e ) : void
tbDifference_Scroll ( object sender, EventArgs e ) : void
tbDifference_Validating ( object sender, CancelEventArgs e ) : void
tbMaxY_Scroll ( object sender, EventArgs e ) : void
tbMinX_Scroll ( object sender, EventArgs e ) : void
tbMinY_Scroll ( object sender, EventArgs e ) : void
tbSpeed_Validating ( object sender, CancelEventArgs e ) : void
tmrCheckMotion_Tick ( object sender, EventArgs e ) : void
trackBar4_Scroll ( object sender, EventArgs e ) : void

Описание методов

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

Form1() публичный Метод

public Form1 ( ) : System
Результат System

Scale() публичный Метод

Scale a value between one set and the other
public Scale ( double value, double min1, double max1, double min2, double max2 ) : double
value double The value you want to scale
min1 double This is its minimum value
max1 double This is its maximum value
min2 double The minimum you want
max2 double The maximum you want
Результат double

SetServoPos() публичный Метод

public SetServoPos ( int Yaw, int Pitch ) : void
Yaw int
Pitch int
Результат void