Public Member Functions | Private Member Functions | Private Attributes | List of all members
CVFWCapture Class Reference

#include <VFWCapture.h>

Inheritance diagram for CVFWCapture:
Inheritance graph
[legend]

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 ()
 
- Public Member Functions inherited from CVideoCaptureInterface
virtual bool SetExposureTime (int nExposureInUS)
 
virtual ~CVideoCaptureInterface ()
 

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
 

Additional Inherited Members

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

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.

void CVFWCapture::UpdateInformation ( )
private

Definition at line 288 of file VFWCapture.cpp.

Member Data Documentation

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.


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


asr_ivt
Author(s): Allgeyer Tobias, Hutmacher Robin, Kleinert Daniel, Meißner Pascal, Scholz Jonas, Stöckle Patrick
autogenerated on Mon Dec 2 2019 03:47:28