#include <OpenCVCapture.h>
Public Member Functions | |
bool | CaptureImage (CByteImage **ppImages) |
void | CloseCamera () |
COpenCVCapture (int nIndex, const char *pFilename=0) | |
int | GetHeight () |
int | GetNumberOfCameras () |
CByteImage::ImageType | GetType () |
int | GetWidth () |
bool | OpenCamera () |
~COpenCVCapture () | |
Private Attributes | |
const int | m_nIndex |
CvCapture * | m_pCapture |
_IplImage * | m_pIplImage |
std::string | m_sFilename |
Definition at line 64 of file OpenCVCapture.h.
COpenCVCapture::COpenCVCapture | ( | int | nIndex, |
const char * | pFilename = 0 |
||
) |
Definition at line 52 of file OpenCVCapture.cpp.
Definition at line 63 of file OpenCVCapture.cpp.
bool COpenCVCapture::CaptureImage | ( | CByteImage ** | ppImages | ) | [virtual] |
Implements CVideoCaptureInterface.
Definition at line 99 of file OpenCVCapture.cpp.
void COpenCVCapture::CloseCamera | ( | ) | [virtual] |
Implements CVideoCaptureInterface.
Definition at line 93 of file OpenCVCapture.cpp.
int COpenCVCapture::GetHeight | ( | ) | [virtual] |
Implements CVideoCaptureInterface.
Definition at line 149 of file OpenCVCapture.cpp.
int COpenCVCapture::GetNumberOfCameras | ( | ) | [inline, virtual] |
Implements CVideoCaptureInterface.
Definition at line 82 of file OpenCVCapture.h.
CByteImage::ImageType COpenCVCapture::GetType | ( | ) | [virtual] |
Implements CVideoCaptureInterface.
Definition at line 154 of file OpenCVCapture.cpp.
int COpenCVCapture::GetWidth | ( | ) | [virtual] |
Implements CVideoCaptureInterface.
Definition at line 144 of file OpenCVCapture.cpp.
bool COpenCVCapture::OpenCamera | ( | ) | [virtual] |
Implements CVideoCaptureInterface.
Definition at line 73 of file OpenCVCapture.cpp.
const int COpenCVCapture::m_nIndex [private] |
Definition at line 89 of file OpenCVCapture.h.
CvCapture* COpenCVCapture::m_pCapture [private] |
Definition at line 87 of file OpenCVCapture.h.
_IplImage* COpenCVCapture::m_pIplImage [private] |
Definition at line 88 of file OpenCVCapture.h.
std::string COpenCVCapture::m_sFilename [private] |
Definition at line 91 of file OpenCVCapture.h.