C# Class Rover.LocalCameraDevice

Inheritance: AbstractCameraDevice
Show file Open project: jpadillak/Concordia_Capstone2013-14 Class Usage Examples

Public Methods

Method Description
GetAverageFrameRate ( int ConfigIndex ) : int
GetCapabilities ( Size Resolution ) : VideoCapabilities
GetCapabilities ( int ConfigIndex ) : VideoCapabilities
GetFrameNumber ( ) : int
GetID ( ) : int
GetMaximumFrameRate ( int ConfigIndex ) : int
GetName ( ) : string
GetNumberOfConfiguration ( ) : int
GetSupportedFrameSize ( int ConfigIndex ) : Size
LocalCameraDevice ( string aCameraName, string MonikerString, int aCameraID ) : System
PrintConfigurationInfo ( ) : void
RegisterBitmapAcquiredCB ( NewBitmapAcquiredCBType aNewBitmapAcquiredCBHandler ) : void
ResetFrameNumber ( ) : void
SetLatestFrame ( Bitmap aBitmap ) : void
Start ( VideoCapabilities Capability ) : void
Start ( int DesiredFrameRate, Size FrameSize ) : void
Stop ( ) : void

Private Methods

Method Description
NewFrameAcquired ( object sender, NewFrameEventArgs eventArgs ) : void

Method Details

GetAverageFrameRate() public method

public GetAverageFrameRate ( int ConfigIndex ) : int
ConfigIndex int
return int

GetCapabilities() public method

public GetCapabilities ( Size Resolution ) : VideoCapabilities
Resolution System.Drawing.Size
return AForge.Video.DirectShow.VideoCapabilities

GetCapabilities() public method

public GetCapabilities ( int ConfigIndex ) : VideoCapabilities
ConfigIndex int
return AForge.Video.DirectShow.VideoCapabilities

GetFrameNumber() public method

public GetFrameNumber ( ) : int
return int

GetID() public method

public GetID ( ) : int
return int

GetMaximumFrameRate() public method

public GetMaximumFrameRate ( int ConfigIndex ) : int
ConfigIndex int
return int

GetName() public method

public GetName ( ) : string
return string

GetNumberOfConfiguration() public method

public GetNumberOfConfiguration ( ) : int
return int

GetSupportedFrameSize() public method

public GetSupportedFrameSize ( int ConfigIndex ) : Size
ConfigIndex int
return System.Drawing.Size

LocalCameraDevice() public method

public LocalCameraDevice ( string aCameraName, string MonikerString, int aCameraID ) : System
aCameraName string
MonikerString string
aCameraID int
return System

PrintConfigurationInfo() public method

public PrintConfigurationInfo ( ) : void
return void

RegisterBitmapAcquiredCB() public method

public RegisterBitmapAcquiredCB ( NewBitmapAcquiredCBType aNewBitmapAcquiredCBHandler ) : void
aNewBitmapAcquiredCBHandler NewBitmapAcquiredCBType
return void

ResetFrameNumber() public method

public ResetFrameNumber ( ) : void
return void

SetLatestFrame() public method

public SetLatestFrame ( Bitmap aBitmap ) : void
aBitmap System.Drawing.Bitmap
return void

Start() public method

public Start ( VideoCapabilities Capability ) : void
Capability AForge.Video.DirectShow.VideoCapabilities
return void

Start() public method

public Start ( int DesiredFrameRate, Size FrameSize ) : void
DesiredFrameRate int
FrameSize System.Drawing.Size
return void

Stop() public method

public Stop ( ) : void
return void