CodeVis.com SourceForge.net Logo

CVidCapGuiTestDlg Class Reference

#include <VidCapGuiTestDlg.h>

List of all members.

Public Types

  • enum { IDD = IDD_VIDCAPGUITEST_DIALOG }

Public Member Functions

Public Attributes

Protected Member Functions

Static Protected Member Functions

Protected Attributes


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 27 of file VidCapGuiTestDlg.h.


Constructor & Destructor Documentation

CVidCapGuiTestDlg::CVidCapGuiTestDlg CWnd *  pParent = NULL  ) 
 

Definition at line 22 of file VidCapGuiTestDlg.cpp.

References IDR_MAINFRAME, m_captureRate, m_frameNumber, m_frameNumStr, m_frameTimes, m_hIcon, and m_lastFrameTime.


Member Function Documentation

bool CVidCapGuiTestDlg::CaptureCallback CVRES  status,
CVImage imagePtr,
void *  userParam
[static, protected]
 

Definition at line 411 of file VidCapGuiTestDlg.cpp.

References kNUMFRAMESAVG, m_frameNumber, m_frameTimes, m_lastFrameTime, and VIDCAPGUI_REFRESH.

Referenced by OnSelchangeModelist().

void CVidCapGuiTestDlg::DoDataExchange CDataExchange *  pDX  )  [protected, virtual]
 

Definition at line 36 of file VidCapGuiTestDlg.cpp.

References IDC_BRIGHTSLIDER, IDC_CAPTURERATE, IDC_CONTRASTSLIDER, IDC_DEVICELIST, IDC_FRAMENUM, IDC_GAINSLIDER, IDC_GAMMASLIDER, IDC_HUESLIDER, IDC_MODELIST, IDC_SATURATIONSLIDER, IDC_SHARPSLIDER, IDC_WHITESLIDER, m_captureRate, m_deviceList, m_frameNumStr, m_modeList, m_sliderBright, m_sliderContrast, m_sliderGain, m_sliderGamma, m_sliderHue, m_sliderSat, m_sliderSharp, and m_sliderWhite.

void CVidCapGuiTestDlg::InitSlider CSliderCtrl *  slider,
CVVidCapture::CAMERA_PROPERTY  property,
long  labelId
[protected]
 

Definition at line 389 of file VidCapGuiTestDlg.cpp.

References CVFAILED, CVRES, CVVidCapture::GetPropertyInfo(), and m_VidCapture.

Referenced by OnSelchangeDevicelist().

void CVidCapGuiTestDlg::OnDestroy  )  [protected]
 

Definition at line 271 of file VidCapGuiTestDlg.cpp.

References CVVidCapture::Disconnect(), CVPlatform::GetPlatform(), CVVidCapture::IsConnected(), CVVidCapture::IsInitialized(), CVVidCapture::IsStarted(), m_VidCapture, CVPlatform::Release(), CVVidCapture::Stop(), and CVVidCapture::Uninit().

void CVidCapGuiTestDlg::OnHScroll UINT  nSBCode,
UINT  nPos,
CScrollBar *  pScrollBar
[protected]
 

Definition at line 335 of file VidCapGuiTestDlg.cpp.

References CVVidCapture::CAMERAPROP_BRIGHT, CVVidCapture::CAMERAPROP_CONTRAST, CVVidCapture::CAMERAPROP_GAIN, CVVidCapture::CAMERAPROP_GAMMA, CVVidCapture::CAMERAPROP_HUE, CVVidCapture::CAMERAPROP_SAT, CVVidCapture::CAMERAPROP_SHARP, CVVidCapture::CAMERAPROP_WHITEBALANCE, CVVidCapture::IsConnected(), m_sliderBright, m_sliderContrast, m_sliderGain, m_sliderGamma, m_sliderHue, m_sliderSat, m_sliderSharp, m_sliderWhite, m_VidCapture, and OnSlider().

BOOL CVidCapGuiTestDlg::OnInitDialog  )  [protected, virtual]
 

Definition at line 69 of file VidCapGuiTestDlg.cpp.

References CVPlatform::AcquireVideoCapture(), CVFAILED, CVPlatform::GetPlatform(), CVVidCapture::Init(), m_hIcon, m_VidCapture, RefreshDevices(), and CVPlatform::Release().

void CVidCapGuiTestDlg::OnPaint  )  [protected]
 

Definition at line 102 of file VidCapGuiTestDlg.cpp.

References m_hIcon.

HCURSOR CVidCapGuiTestDlg::OnQueryDragIcon  )  [protected]
 

Definition at line 129 of file VidCapGuiTestDlg.cpp.

References m_hIcon.

void CVidCapGuiTestDlg::OnSelchangeDevicelist  )  [protected]
 

Definition at line 158 of file VidCapGuiTestDlg.cpp.

References CVVidCapture::CAMERAPROP_BRIGHT, CVVidCapture::CAMERAPROP_CONTRAST, CVVidCapture::CAMERAPROP_GAIN, CVVidCapture::CAMERAPROP_GAMMA, CVVidCapture::CAMERAPROP_HUE, CVVidCapture::CAMERAPROP_SAT, CVVidCapture::CAMERAPROP_SHARP, CVVidCapture::CAMERAPROP_WHITEBALANCE, CVVidCapture::Connect(), CVFAILED, CVVidCapture::Disconnect(), IDC_BRIGHTLABEL, IDC_CONTRASTLABEL, IDC_GAINLABEL, IDC_GAMMALABEL, IDC_HUELABEL, IDC_SATLABEL, IDC_SHARPLABEL, IDC_WHITELABEL, InitSlider(), CVVidCapture::IsConnected(), CVVidCapture::IsStarted(), m_deviceList, m_frameNumber, m_frameTimes, m_lastFrameTime, m_modeList, m_sliderBright, m_sliderContrast, m_sliderGain, m_sliderGamma, m_sliderHue, m_sliderSat, m_sliderSharp, m_sliderWhite, m_VidCapture, RefreshModeList(), and CVVidCapture::Stop().

void CVidCapGuiTestDlg::OnSelchangeModelist  )  [protected]
 

Definition at line 239 of file VidCapGuiTestDlg.cpp.

References CaptureCallback(), CVFAILED, CVImage::CVIMAGE_RGB24, CVVidCapture::IsStarted(), m_frameNumber, m_frameTimes, m_lastFrameTime, m_modeList, m_VidCapture, CVVidCapture::SetMode(), CVVidCapture::StartImageCap(), and CVVidCapture::Stop().

void CVidCapGuiTestDlg::OnSlider CSliderCtrl *  slider,
CVVidCapture::CAMERA_PROPERTY  property
[protected]
 

Definition at line 383 of file VidCapGuiTestDlg.cpp.

References m_VidCapture, and CVVidCapture::SetProperty().

Referenced by OnHScroll().

void CVidCapGuiTestDlg::RefreshDevices  )  [protected]
 

Definition at line 134 of file VidCapGuiTestDlg.cpp.

References CVFAILED, CVSUCCESS, CVVidCapture::VIDCAP_DEVICE::DeviceString, CVVidCapture::GetDeviceInfo(), CVVidCapture::GetNumDevices(), m_deviceList, m_modeList, m_VidCapture, and CVVidCapture::RefreshDeviceList().

Referenced by OnInitDialog().

void CVidCapGuiTestDlg::RefreshModeList  )  [protected]
 

Definition at line 202 of file VidCapGuiTestDlg.cpp.

References CVFAILED, CVSUCCESS, CVVidCapture::VIDCAP_MODE::EstFrameRate, CVVidCapture::GetFormatModeName(), CVVidCapture::GetModeInfo(), CVVidCapture::GetNumSupportedModes(), CVVidCapture::VIDCAP_MODE::InputFormat, CVVidCapture::IsConnected(), m_modeList, m_VidCapture, CVVidCapture::VIDCAP_MODE::XRes, and CVVidCapture::VIDCAP_MODE::YRes.

Referenced by OnSelchangeDevicelist().

void CVidCapGuiTestDlg::SetMode int  index  )  [protected]
 

LRESULT CVidCapGuiTestDlg::WindowProc UINT  message,
WPARAM  wParam,
LPARAM  lParam
[protected, virtual]
 

Definition at line 296 of file VidCapGuiTestDlg.cpp.

References kNUMFRAMESAVG, m_captureRate, m_frameNumber, m_frameNumStr, m_frameTimes, and VIDCAPGUI_REFRESH.


Member Data Documentation

CString CVidCapGuiTestDlg::m_captureRate
 

Definition at line 39 of file VidCapGuiTestDlg.h.

Referenced by CVidCapGuiTestDlg(), DoDataExchange(), and WindowProc().

CBitmap CVidCapGuiTestDlg::m_curBmp [protected]
 

Definition at line 51 of file VidCapGuiTestDlg.h.

CListBox CVidCapGuiTestDlg::m_deviceList
 

Definition at line 37 of file VidCapGuiTestDlg.h.

Referenced by DoDataExchange(), OnSelchangeDevicelist(), and RefreshDevices().

int CVidCapGuiTestDlg::m_frameNumber [protected]
 

Definition at line 54 of file VidCapGuiTestDlg.h.

Referenced by CaptureCallback(), CVidCapGuiTestDlg(), OnSelchangeDevicelist(), OnSelchangeModelist(), and WindowProc().

CString CVidCapGuiTestDlg::m_frameNumStr
 

Definition at line 38 of file VidCapGuiTestDlg.h.

Referenced by CVidCapGuiTestDlg(), DoDataExchange(), and WindowProc().

int CVidCapGuiTestDlg::m_frameTimes[kNUMFRAMESAVG] [protected]
 

Definition at line 55 of file VidCapGuiTestDlg.h.

Referenced by CaptureCallback(), CVidCapGuiTestDlg(), OnSelchangeDevicelist(), OnSelchangeModelist(), and WindowProc().

HICON CVidCapGuiTestDlg::m_hIcon [protected]
 

Definition at line 52 of file VidCapGuiTestDlg.h.

Referenced by CVidCapGuiTestDlg(), OnInitDialog(), OnPaint(), and OnQueryDragIcon().

int CVidCapGuiTestDlg::m_lastFrameTime [protected]
 

Definition at line 56 of file VidCapGuiTestDlg.h.

Referenced by CaptureCallback(), CVidCapGuiTestDlg(), OnSelchangeDevicelist(), and OnSelchangeModelist().

CListBox CVidCapGuiTestDlg::m_modeList
 

Definition at line 36 of file VidCapGuiTestDlg.h.

Referenced by DoDataExchange(), OnSelchangeDevicelist(), OnSelchangeModelist(), RefreshDevices(), and RefreshModeList().

CSliderCtrl CVidCapGuiTestDlg::m_sliderBright
 

Definition at line 35 of file VidCapGuiTestDlg.h.

Referenced by DoDataExchange(), OnHScroll(), and OnSelchangeDevicelist().

CSliderCtrl CVidCapGuiTestDlg::m_sliderContrast
 

Definition at line 34 of file VidCapGuiTestDlg.h.

Referenced by DoDataExchange(), OnHScroll(), and OnSelchangeDevicelist().

CSliderCtrl CVidCapGuiTestDlg::m_sliderGain
 

Definition at line 31 of file VidCapGuiTestDlg.h.

Referenced by DoDataExchange(), OnHScroll(), and OnSelchangeDevicelist().

CSliderCtrl CVidCapGuiTestDlg::m_sliderGamma
 

Definition at line 30 of file VidCapGuiTestDlg.h.

Referenced by DoDataExchange(), OnHScroll(), and OnSelchangeDevicelist().

CSliderCtrl CVidCapGuiTestDlg::m_sliderHue
 

Definition at line 33 of file VidCapGuiTestDlg.h.

Referenced by DoDataExchange(), OnHScroll(), and OnSelchangeDevicelist().

CSliderCtrl CVidCapGuiTestDlg::m_sliderSat
 

Definition at line 32 of file VidCapGuiTestDlg.h.

Referenced by DoDataExchange(), OnHScroll(), and OnSelchangeDevicelist().

CSliderCtrl CVidCapGuiTestDlg::m_sliderSharp
 

Definition at line 29 of file VidCapGuiTestDlg.h.

Referenced by DoDataExchange(), OnHScroll(), and OnSelchangeDevicelist().

CSliderCtrl CVidCapGuiTestDlg::m_sliderWhite
 

Definition at line 28 of file VidCapGuiTestDlg.h.

Referenced by DoDataExchange(), OnHScroll(), and OnSelchangeDevicelist().

CVVidCapture* CVidCapGuiTestDlg::m_VidCapture [protected]
 

Definition at line 53 of file VidCapGuiTestDlg.h.

Referenced by InitSlider(), OnDestroy(), OnHScroll(), OnInitDialog(), OnSelchangeDevicelist(), OnSelchangeModelist(), OnSlider(), RefreshDevices(), and RefreshModeList().


The documentation for this class was generated from the following files:

Generated on Mon Mar 1 13:27:13 2004 for VidCapture Library by doxygen 1.3.3
CodeVis VidCapture 0.2 Copyright © 2003-2004 by Michael Ellison.