C# 클래스 LitDev.LDWebCam

파일 보기 프로젝트 열기: litdev1/LitDev

공개 프로퍼티들

프로퍼티 타입 설명
bitmap System.Drawing.Bitmap
cam LitDev.Engines.Capture
dImg System.Drawing.Image
pEffect Primitive[]

공개 메소드들

메소드 설명
DoEffect ( System _dImg, eEffect _effect, Primitive parameter ) : System.Drawing.Image
End ( ) : void

End the webcam display, call this before removing the webcam shape.

Pause ( ) : void

Pause the webcam updates.

ResizeAbort ( ) : bool
Resume ( ) : void

Resume the webcam updates.

Snapshot ( ) : void

Take a snapshot and save it as a jpg with a SaveAs dialog.

SnapshotToFile ( Primitive fileName ) : void

Take a snapshot and save it to a file.

SnapshotToImageList ( ) : Primitive

Take a snapshot and save it to the ImageList (memory loaded image).

Start ( Primitive width, Primitive height ) : Primitive

Start a webcam display object (SmallBasic shape). If this is called more than once, multiple copies af the same webcam image are be generated. This object can be moved, zommed, rotated etc using the standard Shapes methods. Maximum resolution usually at 640 x 480 pixels, smaller may be faster.

비공개 메소드들

메소드 설명
CamThread ( ) : void
Connect ( ) : void
Disconnect ( ) : void
SendMessage ( IntPtr hWnd, UInt32 Msg, Int32 wParam, Int32 lParam ) : IntPtr
TakeSnapshot ( string fileName ) : string
UpdateImage ( ) : void
UpdateImage_Delegate ( ) : void
calc_shift ( double x1, double x2, double cx, double k ) : double
capCreateCaptureWindowA ( string lpszWindowName, int dwStyle, int X, int Y, int nWidth, int nHeight, IntPtr hwndParent, int nID ) : IntPtr
getRadialX ( double x, double y, double cx, double cy, double k ) : double
getRadialY ( double x, double y, double cx, double cy, double k ) : double
timer_Tick ( object sender, EventArgs e ) : void

메소드 상세

DoEffect() 공개 정적인 메소드

public static DoEffect ( System _dImg, eEffect _effect, Primitive parameter ) : System.Drawing.Image
_dImg System
_effect eEffect
parameter Primitive
리턴 System.Drawing.Image

End() 공개 정적인 메소드

End the webcam display, call this before removing the webcam shape.
public static End ( ) : void
리턴 void

Pause() 공개 정적인 메소드

Pause the webcam updates.
public static Pause ( ) : void
리턴 void

ResizeAbort() 공개 정적인 메소드

public static ResizeAbort ( ) : bool
리턴 bool

Resume() 공개 정적인 메소드

Resume the webcam updates.
public static Resume ( ) : void
리턴 void

Snapshot() 공개 정적인 메소드

Take a snapshot and save it as a jpg with a SaveAs dialog.
public static Snapshot ( ) : void
리턴 void

SnapshotToFile() 공개 정적인 메소드

Take a snapshot and save it to a file.
public static SnapshotToFile ( Primitive fileName ) : void
fileName Primitive File to save jpg snapshot to.
리턴 void

SnapshotToImageList() 공개 정적인 메소드

Take a snapshot and save it to the ImageList (memory loaded image).
public static SnapshotToImageList ( ) : Primitive
리턴 Primitive

Start() 공개 정적인 메소드

Start a webcam display object (SmallBasic shape). If this is called more than once, multiple copies af the same webcam image are be generated. This object can be moved, zommed, rotated etc using the standard Shapes methods. Maximum resolution usually at 640 x 480 pixels, smaller may be faster.
public static Start ( Primitive width, Primitive height ) : Primitive
width Primitive The width of the webcam display object.
height Primitive The height of the webcam display object.
리턴 Primitive

프로퍼티 상세

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

public static System.Drawing.Bitmap bitmap
리턴 System.Drawing.Bitmap

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

public static Capture,LitDev.Engines cam
리턴 LitDev.Engines.Capture

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

public static System.Drawing.Image dImg
리턴 System.Drawing.Image

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

public static Primitive[] pEffect
리턴 Primitive[]