C# 클래스 CatenaLogic.Windows.Presentation.WebcamPlayer.CapDevice

상속: System.Windows.DependencyObject, IDisposable
파일 보기 프로젝트 열기: raouldc/OptiDev 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BitmapSourceProperty System.Windows.DependencyProperty
FramerateProperty System.Windows.DependencyProperty
MonikerStringProperty System.Windows.DependencyProperty
NameProperty System.Windows.DependencyProperty
SystemDeviceEnum System.Guid
VideoInputDevice System.Guid

공개 메소드들

메소드 설명
CapDevice ( ) : System

Initializes the default capture device

CapDevice ( string moniker ) : System

Initializes a specific capture device

Dispose ( ) : void

Disposes the object

Start ( ) : void

; Starts grabbing images from the capture device

Stop ( ) : void

Stops grabbing images from the capture device

비공개 메소드들

메소드 설명
CreateFileMapping ( IntPtr hFile, IntPtr lpFileMappingAttributes, uint flProtect, uint dwMaximumSizeHigh, uint dwMaximumSizeLow, string lpName ) : IntPtr
CurrentApplication_Exit ( object sender, System.Windows.ExitEventArgs e ) : void

Invoked when the application exits

InitializeDeviceForMoniker ( string moniker ) : void

Initialize the device for a specific moniker

MapViewOfFile ( IntPtr hFileMappingObject, uint dwDesiredAccess, uint dwFileOffsetHigh, uint dwFileOffsetLow, uint dwNumberOfBytesToMap ) : IntPtr
MonikerString_Changed ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Invoked when the MonikerString dependency property has changed

Release ( ) : void

Releases the capture device

RunWorker ( ) : void

Worker thread that captures the images

UpdateFramerate ( ) : void

Updates the framerate

capGrabber_NewFrameArrived ( object sender, EventArgs e ) : void

Invoked when a new frame arrived

capGrabber_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Invoked when a property of the CapGrabber object has changed

메소드 상세

CapDevice() 공개 메소드

Initializes the default capture device
public CapDevice ( ) : System
리턴 System

CapDevice() 공개 메소드

Initializes a specific capture device
public CapDevice ( string moniker ) : System
moniker string Moniker string that represents a specific device
리턴 System

Dispose() 공개 메소드

Disposes the object
public Dispose ( ) : void
리턴 void

Start() 공개 메소드

; Starts grabbing images from the capture device
public Start ( ) : void
리턴 void

Stop() 공개 메소드

Stops grabbing images from the capture device
public Stop ( ) : void
리턴 void

프로퍼티 상세

BitmapSourceProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows BitmapSourceProperty
리턴 System.Windows.DependencyProperty

FramerateProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows FramerateProperty
리턴 System.Windows.DependencyProperty

MonikerStringProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows MonikerStringProperty
리턴 System.Windows.DependencyProperty

NameProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows NameProperty
리턴 System.Windows.DependencyProperty

SystemDeviceEnum 공개적으로 정적으로 프로퍼티

public static Guid,System SystemDeviceEnum
리턴 System.Guid

VideoInputDevice 공개적으로 정적으로 프로퍼티

public static Guid,System VideoInputDevice
리턴 System.Guid