#include <VFWCapture.h>
Public Member Functions | |
bool | CaptureImage (CByteImage **ppImages) |
void | CloseCamera () |
CVFWCapture (int nDriverIndex) | |
bool | GetDriverName (int nDriverIndex, std::string &sName) |
int | GetHeight () |
int | GetNumberOfCameras () |
CByteImage::ImageType | GetType () |
int | GetWidth () |
bool | OpenCamera () |
void | SetDriverIndex (int nDriverIndex) |
void | ShowVideoFormatDialog () |
void | ShowVideoSourceDialog () |
~CVFWCapture () | |
Private Member Functions | |
void | UpdateInformation () |
Private Attributes | |
bool | m_bCameraOpened |
bool | m_bFlipY |
int | m_clip [1024] |
HWND | m_hCaptureWnd |
int | m_nBitsPerPixel |
unsigned long | m_nCompression |
int | m_nDriverIndex |
int | m_nHeight |
int | m_nWidth |
CByteImage::ImageType | m_type |
Definition at line 61 of file VFWCapture.h.
CVFWCapture::CVFWCapture | ( | int | nDriverIndex | ) |
Definition at line 116 of file VFWCapture.cpp.
Definition at line 137 of file VFWCapture.cpp.
bool CVFWCapture::CaptureImage | ( | CByteImage ** | ppImages | ) | [virtual] |
Implements CVideoCaptureInterface.
Definition at line 335 of file VFWCapture.cpp.
void CVFWCapture::CloseCamera | ( | ) | [virtual] |
Implements CVideoCaptureInterface.
Definition at line 224 of file VFWCapture.cpp.
bool CVFWCapture::GetDriverName | ( | int | nDriverIndex, |
std::string & | sName | ||
) |
Definition at line 240 of file VFWCapture.cpp.
int CVFWCapture::GetHeight | ( | ) | [inline, virtual] |
Implements CVideoCaptureInterface.
Definition at line 83 of file VFWCapture.h.
int CVFWCapture::GetNumberOfCameras | ( | ) | [inline, virtual] |
Implements CVideoCaptureInterface.
Definition at line 85 of file VFWCapture.h.
CByteImage::ImageType CVFWCapture::GetType | ( | ) | [inline, virtual] |
Implements CVideoCaptureInterface.
Definition at line 84 of file VFWCapture.h.
int CVFWCapture::GetWidth | ( | ) | [inline, virtual] |
Implements CVideoCaptureInterface.
Definition at line 82 of file VFWCapture.h.
bool CVFWCapture::OpenCamera | ( | ) | [virtual] |
Implements CVideoCaptureInterface.
Definition at line 158 of file VFWCapture.cpp.
void CVFWCapture::SetDriverIndex | ( | int | nDriverIndex | ) | [inline] |
Definition at line 72 of file VFWCapture.h.
Definition at line 254 of file VFWCapture.cpp.
Definition at line 273 of file VFWCapture.cpp.
void CVFWCapture::UpdateInformation | ( | ) | [private] |
Definition at line 288 of file VFWCapture.cpp.
bool CVFWCapture::m_bCameraOpened [private] |
Definition at line 102 of file VFWCapture.h.
bool CVFWCapture::m_bFlipY [private] |
Definition at line 104 of file VFWCapture.h.
int CVFWCapture::m_clip[1024] [private] |
Definition at line 106 of file VFWCapture.h.
HWND CVFWCapture::m_hCaptureWnd [private] |
Definition at line 93 of file VFWCapture.h.
int CVFWCapture::m_nBitsPerPixel [private] |
Definition at line 97 of file VFWCapture.h.
unsigned long CVFWCapture::m_nCompression [private] |
Definition at line 98 of file VFWCapture.h.
int CVFWCapture::m_nDriverIndex [private] |
Definition at line 101 of file VFWCapture.h.
int CVFWCapture::m_nHeight [private] |
Definition at line 96 of file VFWCapture.h.
int CVFWCapture::m_nWidth [private] |
Definition at line 95 of file VFWCapture.h.
CByteImage::ImageType CVFWCapture::m_type [private] |
Definition at line 99 of file VFWCapture.h.