IVT
CVFWCapture Class Reference

#include <VFWCapture.h>

Inheritance diagram for CVFWCapture:
CVideoCaptureInterface

Public Member Functions

 CVFWCapture (int nDriverIndex)
 
 ~CVFWCapture ()
 
void SetDriverIndex (int nDriverIndex)
 
bool GetDriverName (int nDriverIndex, std::string &sName)
 
void ShowVideoFormatDialog ()
 
void ShowVideoSourceDialog ()
 
bool OpenCamera ()
 
void CloseCamera ()
 
bool CaptureImage (CByteImage **ppImages)
 
int GetWidth ()
 
int GetHeight ()
 
CByteImage::ImageType GetType ()
 
int GetNumberOfCameras ()
 
- Public Member Functions inherited from CVideoCaptureInterface
virtual ~CVideoCaptureInterface ()
 
virtual bool SetExposureTime (int nExposureInUS)
 

Additional Inherited Members

- Public Types inherited from CVideoCaptureInterface
enum  VideoMode {
  e320x240, e640x480, e800x600, e768x576,
  e1024x768, e1280x960, e1600x1200, eNone
}
 
enum  ColorMode { eRGB24, eBayerPatternToRGB24, eGrayScale, eYUV411ToRGB24 }
 
enum  FrameRate {
  e60fps, e30fps, e15fps, e7_5fps,
  e3_75fps, e1_875fps
}
 

Detailed Description

Definition at line 61 of file VFWCapture.h.

Constructor & Destructor Documentation

CVFWCapture::CVFWCapture ( int  nDriverIndex)

Definition at line 116 of file VFWCapture.cpp.

CVFWCapture::~CVFWCapture ( )

Definition at line 137 of file VFWCapture.cpp.

Member Function Documentation

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 ( )
inlinevirtual

Implements CVideoCaptureInterface.

Definition at line 83 of file VFWCapture.h.

int CVFWCapture::GetNumberOfCameras ( )
inlinevirtual

Implements CVideoCaptureInterface.

Definition at line 85 of file VFWCapture.h.

CByteImage::ImageType CVFWCapture::GetType ( )
inlinevirtual

Implements CVideoCaptureInterface.

Definition at line 84 of file VFWCapture.h.

int CVFWCapture::GetWidth ( )
inlinevirtual

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.

void CVFWCapture::ShowVideoFormatDialog ( )

Definition at line 254 of file VFWCapture.cpp.

void CVFWCapture::ShowVideoSourceDialog ( )

Definition at line 273 of file VFWCapture.cpp.


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