C# Class iSpyApplication.Controls.Camera

Camera class
Exibir arquivo Open project: ispysoftware/iSpy Class Usage Examples

Public Properties

Property Type Description
CW CameraWindow
Framerate double
MotionDetected bool
MotionLevel float
MotionZoneRectangles System.Drawing.Rectangle[]
PluginRunning bool
RealFramerate double
VideoSource IVideoSource
ZFactor float

Private Properties

Property Type Description
AddTimestamp void
ApplyMask void
ApplyMotionDetector bool
CalculateFramerates void
PiP void
ProcessAutoTracking void
ResizeBmOrig System.Drawing.Bitmap
RunPlugin System.Drawing.Bitmap
SetMaskImage void
TriggerDetect void
TriggerPlugin void
VideoNewFrame void

Public Methods

Method Description
Camera ( ) : System
Camera ( IVideoSource source ) : System
Camera ( IVideoSource source, MotionDetector detector ) : System
ClearMotionZones ( ) : void
DisconnectNewFrameEvent ( ) : void
Dispose ( ) : void
FilterChanged ( ) : void
SetMotionZones ( objectsCameraDetectorZone zones ) : bool
SignalToStop ( ) : void
Start ( ) : void
UpdateResources ( ) : void
VideoSourcePlayingFinished ( object sender, PlayingFinishedEventArgs e ) : void
WaitForStop ( ) : void

Private Methods

Method Description
AddTimestamp ( Bitmap bmp ) : void
ApplyMask ( Bitmap bmOrig ) : void
ApplyMotionDetector ( UnmanagedImage lfu ) : bool
CalculateFramerates ( ) : void
PiP ( Bitmap bmp ) : void
ProcessAutoTracking ( ) : void
ResizeBmOrig ( Bitmap f ) : Bitmap
RunPlugin ( Bitmap bmOrig ) : Bitmap
SetMaskImage ( ) : void
TriggerDetect ( object sender ) : void
TriggerPlugin ( ) : void
VideoNewFrame ( object sender, NewFrameEventArgs e ) : void

Method Details

Camera() public method

public Camera ( ) : System
return System

Camera() public method

public Camera ( IVideoSource source ) : System
source IVideoSource
return System

Camera() public method

public Camera ( IVideoSource source, MotionDetector detector ) : System
source IVideoSource
detector AForge.Vision.Motion.MotionDetector
return System

ClearMotionZones() public method

public ClearMotionZones ( ) : void
return void

DisconnectNewFrameEvent() public method

public DisconnectNewFrameEvent ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

FilterChanged() public method

public FilterChanged ( ) : void
return void

SetMotionZones() public method

public SetMotionZones ( objectsCameraDetectorZone zones ) : bool
zones objectsCameraDetectorZone
return bool

SignalToStop() public method

public SignalToStop ( ) : void
return void

Start() public method

public Start ( ) : void
return void

UpdateResources() public method

public UpdateResources ( ) : void
return void

VideoSourcePlayingFinished() public method

public VideoSourcePlayingFinished ( object sender, PlayingFinishedEventArgs e ) : void
sender object
e PlayingFinishedEventArgs
return void

WaitForStop() public method

public WaitForStop ( ) : void
return void

Property Details

CW public_oe property

public CameraWindow,iSpyApplication.Controls CW
return CameraWindow

Framerate public_oe property

public double Framerate
return double

MotionDetected public_oe property

public bool MotionDetected
return bool

MotionLevel public_oe property

public float MotionLevel
return float

MotionZoneRectangles public_oe property

public Rectangle[],System.Drawing MotionZoneRectangles
return System.Drawing.Rectangle[]

PluginRunning public_oe property

public bool PluginRunning
return bool

RealFramerate public_oe property

public double RealFramerate
return double

VideoSource public_oe property

public IVideoSource VideoSource
return IVideoSource

ZFactor public_oe property

public float ZFactor
return float