C# Class iSpyApplication.Controls.CameraWindow

Summary description for CameraWindow.
Inheritance: AForge.Controls.PictureBox
ファイルを表示 Open project: ispysoftware/iSpy Class Usage Examples

Public Properties

Property Type Description
AbortedAudio bool
Alerted bool
Buffer ConcurrentQueue
CalibrateCount double
Camobject objectsCamera
CurrentFrame System.Drawing.Graphics
FlashCounter System.DateTime
InactiveRecord double
IsEdit bool
IsReconnect bool
MovementCount double
MovementDetected bool
NeedMotionZones bool
NeedSizeUpdate bool
PTZ PTZController
PTZNavigate bool
PTZReference Point
ResizeParent bool
RestoreRect System.Drawing.Rectangle
Seekable bool
ShuttingDown bool
TimeLapseVideoFileName string
TimelapseStart System.DateTime
VideoFileName string
VideoSourceErrorMessage string
VideoSourceErrorState bool
VolumeControl VolumeLevel
XimeaSource AForge.Video.Ximea.XimeaVideoSource

Private Properties

Property Type Description
ActionSchedule void
AddAudioStream void
AddSeekOverlay void
AlertThread void
CWCameraDisabled void
CWCameraEnabled void
CWCameraReconnect void
CWCameraReconnected void
CalcBitRate int
CameraNewFrame void
CameraWindowLocationChanged void
CameraWindowResize void
CameraWindow_AlertHandler void
CameraWindow_ErrorHandler void
CheckAlert void
CheckDisconnect void
CheckFTP void
CheckPTZSchedule void
CheckReconnect bool
CheckReconnectInterval void
CheckRecord void
CheckSaveFrame void
CheckSchedule bool
CheckStopPTZTracking void
CheckTimeLapse void
CheckVLCTimeStamp void
ClearBuffer void
CloseTimeLapseWriter void
DoAlert void
DoCalibrate void
DrawButton void
DrawDetectionGraph void
DrawOverlay void
FtpFrame void
FtpRecording void
GenerateFileList void
GetButtonByIndex System.Drawing.Rectangle
GetButtonIndexByLocation int
GetMousePos MousePos
InitializeComponent void
LogToPlugin void
MailMerge string
OpenTimeLapseWriter bool
OpenVideoSource void
OpenVideoSource void
ProcessAlertEvent void
ProcessAlertFromPlugin void
Record void
ResizeBitmap System.Drawing.Bitmap
RunPTZ void
ScanFiles void
ScanForMissingFiles void
SetErrorState void
SetPluginGroups void
SetVideoSourceProperty void
StopSaving void
ThumbnailCallback bool
VLAudioDeviceEnabled void
VideoDeviceVideoFinished void
VideoSourceHasAudioStream void
WriteFrame void
ZeroPad string

Public Methods

Method Description
AddFile ( FilesFile f ) : void
Alarm ( object sender, EventArgs e ) : void
Apply ( ) : void
ApplySchedule ( ) : bool
CameraWindow ( objectsCamera cam, MainForm mainForm ) : System
ClearFileList ( ) : void
ConfigurePlugin ( ) : void
Disable ( bool stopSource = true ) : void
Enable ( ) : void
ExecutePluginCommand ( string command ) : void
ExecutePluginShortcut ( string shortcut ) : bool
GetFiles ( ) : void
Listen ( ) : void
Nv ( string name ) : string
Nv ( string csv, string name ) : string
OpenWebInterface ( ) : void
RecordSwitch ( bool record ) : string
ReloadSchedule ( ) : void
RemoveFile ( string filename ) : void
SaveFileList ( ) : void
SaveFrame ( Bitmap bmp = null ) : string
SetDetector ( ) : void
SetMotionZones ( ) : void
SetProcessor ( ) : void
SetVideoSize ( ) : void
SetVideoSourceProperties ( ) : void
SetVolumeLevel ( int micid ) : void
SetVolumeLevelLocation ( ) : void
Snapshot ( ) : void
StartSaving ( ) : void
Talk ( IWin32Window f = null ) : void
TextToSpeech ( IWin32Window f = null ) : void
Tick ( ) : void
UpdateFloorplans ( bool isAlert ) : void
UpdatePosition ( int width, int height ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnGotFocus ( EventArgs e ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnKeyUp ( KeyEventArgs e ) : void
OnLostFocus ( EventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnMouseWheel ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs pe ) : void
OnPreviewKeyDown ( PreviewKeyDownEventArgs e ) : void
OnResize ( EventArgs eventargs ) : void

Private Methods

Method Description
ActionSchedule ( objectsScheduleEntry en, bool &enable, bool &disable ) : void
AddAudioStream ( ) : void
AddSeekOverlay ( Graphics gCam ) : void
AlertThread ( string mode, string msg, int oid ) : void
CWCameraDisabled ( object sender, EventArgs e ) : void
CWCameraEnabled ( object sender, EventArgs e ) : void
CWCameraReconnect ( object sender, EventArgs e ) : void
CWCameraReconnected ( object sender, EventArgs e ) : void
CalcBitRate ( int q ) : int
CameraNewFrame ( object sender, NewFrameEventArgs e ) : void
CameraWindowLocationChanged ( object sender, EventArgs e ) : void
CameraWindowResize ( object sender, EventArgs e ) : void
CameraWindow_AlertHandler ( object sender, AlertEventArgs eventArgs ) : void
CameraWindow_ErrorHandler ( string message ) : void
CheckAlert ( double since ) : void
CheckDisconnect ( ) : void
CheckFTP ( ) : void
CheckPTZSchedule ( ) : void
CheckReconnect ( ) : bool
CheckReconnectInterval ( double since ) : void
CheckRecord ( ) : void
CheckSaveFrame ( ) : void
CheckSchedule ( ) : bool
CheckStopPTZTracking ( ) : void
CheckTimeLapse ( double since ) : void
CheckVLCTimeStamp ( ) : void
ClearBuffer ( ) : void
CloseTimeLapseWriter ( ) : void
DoAlert ( string type, string msg = "" ) : void
DoCalibrate ( double since ) : void
DrawButton ( Graphics gCam, int buttonIndex ) : void
DrawDetectionGraph ( Graphics gCam, SolidBrush sb, Pen pline, Rectangle rc ) : void
DrawOverlay ( Graphics gCam ) : void
FtpFrame ( Bitmap bmp = null ) : void
FtpRecording ( string path ) : void
GenerateFileList ( ) : void
GetButtonByIndex ( int buttonIndex, Rectangle &destRect ) : Rectangle
GetButtonIndexByLocation ( Point xy ) : int
GetMousePos ( Point location ) : MousePos
InitializeComponent ( ) : void
LogToPlugin ( string message ) : void
MailMerge ( string s, string mode, bool recorded = false, string pluginMessage = "" ) : string
OpenTimeLapseWriter ( ) : bool
OpenVideoSource ( CameraWindow cw ) : void
OpenVideoSource ( IVideoSource source, bool @override ) : void
ProcessAlertEvent ( string mode, byte rawgrab, string pluginmessage, string type, string param1, string param2, string param3, string param4 ) : void
ProcessAlertFromPlugin ( string a, string description ) : void
Record ( ) : void
ResizeBitmap ( Bitmap frame ) : Bitmap
RunPTZ ( Graphics gCam ) : void
ScanFiles ( ) : void
ScanForMissingFiles ( ) : void
SetErrorState ( string reason ) : void
SetPluginGroups ( Type o ) : void
SetVideoSourceProperty ( VideoCaptureDevice device, VideoProcAmpProperty prop, string n ) : void
StopSaving ( ) : void
ThumbnailCallback ( ) : bool
VLAudioDeviceEnabled ( object sender, EventArgs e ) : void
VideoDeviceVideoFinished ( object sender, PlayingFinishedEventArgs e ) : void
VideoSourceHasAudioStream ( object sender, EventArgs eventArgs ) : void
WriteFrame ( Helper fa, System.DateTime recordingStart, long &lastvideopts, double &maxAlarm, Helper &peakFrame, long &lastaudiopts ) : void
ZeroPad ( int counter, int countermax ) : string

Method Details

AddFile() public method

public AddFile ( FilesFile f ) : void
f FilesFile
return void

Alarm() public method

public Alarm ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Apply() public method

public Apply ( ) : void
return void

ApplySchedule() public method

public ApplySchedule ( ) : bool
return bool

CameraWindow() public method

public CameraWindow ( objectsCamera cam, MainForm mainForm ) : System
cam objectsCamera
mainForm MainForm
return System

ClearFileList() public method

public ClearFileList ( ) : void
return void

ConfigurePlugin() public method

public ConfigurePlugin ( ) : void
return void

Disable() public method

public Disable ( bool stopSource = true ) : void
stopSource bool
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Enable() public method

public Enable ( ) : void
return void

ExecutePluginCommand() public method

public ExecutePluginCommand ( string command ) : void
command string
return void

ExecutePluginShortcut() public method

public ExecutePluginShortcut ( string shortcut ) : bool
shortcut string
return bool

GetFiles() public method

public GetFiles ( ) : void
return void

Listen() public method

public Listen ( ) : void
return void

Nv() public method

public Nv ( string name ) : string
name string
return string

Nv() public method

public Nv ( string csv, string name ) : string
csv string
name string
return string

OnGotFocus() protected method

protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs
return void

OnKeyDown() protected method

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

OnKeyUp() protected method

protected OnKeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

OnLostFocus() protected method

protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs
return void

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseEnter() protected method

protected OnMouseEnter ( EventArgs e ) : void
e System.EventArgs
return void

OnMouseLeave() protected method

protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseWheel() protected method

protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs pe ) : void
pe PaintEventArgs
return void

OnPreviewKeyDown() protected method

protected OnPreviewKeyDown ( PreviewKeyDownEventArgs e ) : void
e System.Windows.Forms.PreviewKeyDownEventArgs
return void

OnResize() protected method

protected OnResize ( EventArgs eventargs ) : void
eventargs System.EventArgs
return void

OpenWebInterface() public method

public OpenWebInterface ( ) : void
return void

RecordSwitch() public method

public RecordSwitch ( bool record ) : string
record bool
return string

ReloadSchedule() public method

public ReloadSchedule ( ) : void
return void

RemoveFile() public method

public RemoveFile ( string filename ) : void
filename string
return void

SaveFileList() public method

public SaveFileList ( ) : void
return void

SaveFrame() public method

public SaveFrame ( Bitmap bmp = null ) : string
bmp System.Drawing.Bitmap
return string

SetDetector() public method

public SetDetector ( ) : void
return void

SetMotionZones() public method

public SetMotionZones ( ) : void
return void

SetProcessor() public method

public SetProcessor ( ) : void
return void

SetVideoSize() public method

public SetVideoSize ( ) : void
return void

SetVideoSourceProperties() public method

public SetVideoSourceProperties ( ) : void
return void

SetVolumeLevel() public method

public SetVolumeLevel ( int micid ) : void
micid int
return void

SetVolumeLevelLocation() public method

public SetVolumeLevelLocation ( ) : void
return void

Snapshot() public method

public Snapshot ( ) : void
return void

StartSaving() public method

public StartSaving ( ) : void
return void

Talk() public method

public Talk ( IWin32Window f = null ) : void
f IWin32Window
return void

TextToSpeech() public method

public TextToSpeech ( IWin32Window f = null ) : void
f IWin32Window
return void

Tick() public method

public Tick ( ) : void
return void

UpdateFloorplans() public method

public UpdateFloorplans ( bool isAlert ) : void
isAlert bool
return void

UpdatePosition() public method

public UpdatePosition ( int width, int height ) : void
width int
height int
return void

Property Details

AbortedAudio public_oe property

public bool AbortedAudio
return bool

Alerted public_oe property

public bool Alerted
return bool

Buffer public_oe property

public ConcurrentQueue Buffer
return ConcurrentQueue

CalibrateCount public_oe property

public double CalibrateCount
return double

Camobject public_oe property

public objectsCamera Camobject
return objectsCamera

CurrentFrame public_oe property

public Graphics,System.Drawing CurrentFrame
return System.Drawing.Graphics

FlashCounter public_oe property

public DateTime,System FlashCounter
return System.DateTime

InactiveRecord public_oe property

public double InactiveRecord
return double

IsEdit public_oe property

public bool IsEdit
return bool

IsReconnect public_oe property

public bool IsReconnect
return bool

MovementCount public_oe property

public double MovementCount
return double

MovementDetected public_oe property

public bool MovementDetected
return bool

NeedMotionZones public_oe property

public bool NeedMotionZones
return bool

NeedSizeUpdate public_oe property

public bool NeedSizeUpdate
return bool

PTZ public_oe property

public PTZController PTZ
return PTZController

PTZNavigate public_oe property

public bool PTZNavigate
return bool

PTZReference public_oe property

public Point PTZReference
return Point

ResizeParent public_oe property

public bool ResizeParent
return bool

RestoreRect public_oe property

public Rectangle,System.Drawing RestoreRect
return System.Drawing.Rectangle

Seekable public_oe property

public bool Seekable
return bool

ShuttingDown public_oe property

public bool ShuttingDown
return bool

TimeLapseVideoFileName public_oe property

public string TimeLapseVideoFileName
return string

TimelapseStart public_oe property

public DateTime,System TimelapseStart
return System.DateTime

VideoFileName public_oe property

public string VideoFileName
return string

VideoSourceErrorMessage public_oe property

public string VideoSourceErrorMessage
return string

VideoSourceErrorState public_oe property

public bool VideoSourceErrorState
return bool

VolumeControl public_oe property

public VolumeLevel,iSpyApplication.Controls VolumeControl
return VolumeLevel

XimeaSource public_oe property

public XimeaVideoSource,AForge.Video.Ximea XimeaSource
return AForge.Video.Ximea.XimeaVideoSource