C# Class ZForge.Motion.Controls.CameraView

Inheritance: System.Windows.Forms.UserControl, IVideoView, IGlobalization
Show file Open project: zhuangyy/Motion Class Usage Examples

Private Properties

Property Type Description
CameraClass_ItemValueChanged void
CloseVideoSource void
InitializeComponent void
OpenVideoSource void
PlugIn_Instance_FeedImage void
PlugIn_Instance_Log void
SetStatus void
StopAlarm void
StopCapture void
camera_Alarm void
camera_NewFrame void
source_VideoSourceError void
timer_Elapsed void
toolStripButtonAlarmClean_Click void
toolStripButtonBanner_CheckStateChanged void
toolStripButtonClose_Click void
toolStripButtonFlip_CheckedChanged void
toolStripButtonKit_Click void
toolStripButtonMirror_CheckedChanged void
toolStripButtonPause_CheckedChanged void
toolStripButtonRegionClear_Click void
toolStripButtonRegionEdit_CheckedChanged void
toolStripButtonRegionReverse_Click void
toolStripButtonRegion_CheckedChanged void
toolStripButtonShowMotionRect_CheckStateChanged void
toolStripButtonSnag_Click void
toolStripButtonStart_Click void
toolStripButtonStop_Click void
toolStripButtonZoomIn_Click void
toolStripButtonZoomOut_Click void
toolStripComboBoxResolution_SelectedIndexChanged void
toolStripMenuItemCaptureAlways_Click void
toolStripMenuItemCaptureNone_Click void
toolStripMenuItemCaptureOnAlarm_Click void
toolStripMenuItemDetectModeMotion_Click void
toolStripMenuItemDetectModeStillness_Click void
trackBarDifferenceThreshold_ValueChanged void
trackBarElapse_ValueChanged void
trackBarSensi_ValueChanged void

Public Methods

Method Description
CameraView ( ) : System
IsRunning ( ) : bool
Pause ( bool on ) : void
Remove ( ) : bool
SetDimension ( float ratio ) : void
Start ( ) : void
Stop ( ) : void
UpdateCulture ( ) : void
UpdateUI ( ) : void
UpdateUIWithFrame ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnCameraViewAlarmCountChangedEvent ( CameraViewAlarmCountChangedEventArgs e ) : void
OnCameraViewBeforeStartEvent ( CameraViewBeforeStartEventArgs e ) : void
OnCameraViewLog ( CameraViewLogEventArgs e ) : void
OnCameraViewRecordFinished ( CameraViewCaptureEventArgs e ) : void
OnCameraViewRecordStarted ( CameraViewCaptureEventArgs e ) : void
OnCameraViewStatusChangedEvent ( CameraViewStatusChangedEventArgs e ) : void

Private Methods

Method Description
CameraClass_ItemValueChanged ( object sender, EventArgs e ) : void
CloseVideoSource ( ) : void
InitializeComponent ( ) : void

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

OpenVideoSource ( IVideoSource source ) : void
PlugIn_Instance_FeedImage ( object sender, EventArgs e ) : void
PlugIn_Instance_Log ( object sender, ZForge e ) : void
SetStatus ( int s, bool set ) : void
StopAlarm ( ) : void
StopCapture ( ) : void
camera_Alarm ( object sender, System e ) : void
camera_NewFrame ( object sender, System e ) : void
source_VideoSourceError ( object sender, VideoSourceErrorEventArgs e ) : void
timer_Elapsed ( object sender, System e ) : void
toolStripButtonAlarmClean_Click ( object sender, EventArgs e ) : void
toolStripButtonBanner_CheckStateChanged ( object sender, EventArgs e ) : void
toolStripButtonClose_Click ( object sender, EventArgs e ) : void
toolStripButtonFlip_CheckedChanged ( object sender, EventArgs e ) : void
toolStripButtonKit_Click ( object sender, EventArgs e ) : void
toolStripButtonMirror_CheckedChanged ( object sender, EventArgs e ) : void
toolStripButtonPause_CheckedChanged ( object sender, EventArgs e ) : void
toolStripButtonRegionClear_Click ( object sender, EventArgs e ) : void
toolStripButtonRegionEdit_CheckedChanged ( object sender, EventArgs e ) : void
toolStripButtonRegionReverse_Click ( object sender, EventArgs e ) : void
toolStripButtonRegion_CheckedChanged ( object sender, EventArgs e ) : void
toolStripButtonShowMotionRect_CheckStateChanged ( object sender, EventArgs e ) : void
toolStripButtonSnag_Click ( object sender, EventArgs e ) : void
toolStripButtonStart_Click ( object sender, EventArgs e ) : void
toolStripButtonStop_Click ( object sender, EventArgs e ) : void
toolStripButtonZoomIn_Click ( object sender, EventArgs e ) : void
toolStripButtonZoomOut_Click ( object sender, EventArgs e ) : void
toolStripComboBoxResolution_SelectedIndexChanged ( object sender, EventArgs e ) : void
toolStripMenuItemCaptureAlways_Click ( object sender, EventArgs e ) : void
toolStripMenuItemCaptureNone_Click ( object sender, EventArgs e ) : void
toolStripMenuItemCaptureOnAlarm_Click ( object sender, EventArgs e ) : void
toolStripMenuItemDetectModeMotion_Click ( object sender, EventArgs e ) : void
toolStripMenuItemDetectModeStillness_Click ( object sender, EventArgs e ) : void
trackBarDifferenceThreshold_ValueChanged ( object sender, EventArgs e ) : void
trackBarElapse_ValueChanged ( object sender, EventArgs e ) : void
trackBarSensi_ValueChanged ( object sender, EventArgs e ) : void

Method Details

CameraView() public method

public CameraView ( ) : System
return System

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

IsRunning() public method

public IsRunning ( ) : bool
return bool

OnCameraViewAlarmCountChangedEvent() protected method

protected OnCameraViewAlarmCountChangedEvent ( CameraViewAlarmCountChangedEventArgs e ) : void
e CameraViewAlarmCountChangedEventArgs
return void

OnCameraViewBeforeStartEvent() protected method

protected OnCameraViewBeforeStartEvent ( CameraViewBeforeStartEventArgs e ) : void
e CameraViewBeforeStartEventArgs
return void

OnCameraViewLog() protected method

protected OnCameraViewLog ( CameraViewLogEventArgs e ) : void
e CameraViewLogEventArgs
return void

OnCameraViewRecordFinished() protected method

protected OnCameraViewRecordFinished ( CameraViewCaptureEventArgs e ) : void
e CameraViewCaptureEventArgs
return void

OnCameraViewRecordStarted() protected method

protected OnCameraViewRecordStarted ( CameraViewCaptureEventArgs e ) : void
e CameraViewCaptureEventArgs
return void

OnCameraViewStatusChangedEvent() protected method

protected OnCameraViewStatusChangedEvent ( CameraViewStatusChangedEventArgs e ) : void
e CameraViewStatusChangedEventArgs
return void

Pause() public method

public Pause ( bool on ) : void
on bool
return void

Remove() public method

public Remove ( ) : bool
return bool

SetDimension() public method

public SetDimension ( float ratio ) : void
ratio float
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

UpdateCulture() public method

public UpdateCulture ( ) : void
return void

UpdateUI() public method

public UpdateUI ( ) : void
return void

UpdateUIWithFrame() public method

public UpdateUIWithFrame ( ) : void
return void