Project

General

Profile

BitmapToolkit Scol plugin
CameraInputWindows Class Reference

Concrete implementation of ICameraInput using Windows API. More...

#include <CameraInputWindows.h>

Inheritance diagram for CameraInputWindows:
ICameraInput

Public Member Functions

 CameraInputWindows (int index)
 
 ~CameraInputWindows ()
 
bool Initialize ()
 
void Close ()
 
bool IsOpened ()
 
cv::Mat UpdateImage ()
 
int GetWidth ()
 
int GetHeight ()
 
void SetSize (int width, int height)
 
bool TakeSnapshot (std::string path)
 
- Public Member Functions inherited from ICameraInput
 ICameraInput (int index)
 
virtual ~ICameraInput ()
 
virtual void RenderToScreen ()
 
virtual bool SetFocusPoint (int x, int y)
 
virtual void SetTorchState (bool state)
 
bool GetMirrorMode ()
 
void SetMirrorMode (bool mode)
 

Additional Inherited Members

- Static Public Member Functions inherited from ICameraInput
static std::vector< std::string > GetDevicesList ()
 
static void SetCameraInputsState (bool state)
 
- Protected Attributes inherited from ICameraInput
int mIndex
 
bool mMirrorMode
 
cv::Size mBufferSize
 
- Static Protected Attributes inherited from ICameraInput
static std::list< ICameraInput * > cameraInputsList
 

Detailed Description

Concrete implementation of ICameraInput using Windows API.

Definition at line 12 of file CameraInputWindows.h.

Constructor & Destructor Documentation

◆ CameraInputWindows()

CameraInputWindows::CameraInputWindows ( int  index)

Definition at line 29 of file CameraInputWindows.cpp.

◆ ~CameraInputWindows()

CameraInputWindows::~CameraInputWindows ( )

Definition at line 54 of file CameraInputWindows.cpp.

Member Function Documentation

◆ Close()

void CameraInputWindows::Close ( )
virtual

Implements ICameraInput.

Definition at line 49 of file CameraInputWindows.cpp.

◆ GetHeight()

int CameraInputWindows::GetHeight ( )
virtual

Implements ICameraInput.

Definition at line 91 of file CameraInputWindows.cpp.

◆ GetWidth()

int CameraInputWindows::GetWidth ( )
virtual

Implements ICameraInput.

Definition at line 83 of file CameraInputWindows.cpp.

◆ Initialize()

bool CameraInputWindows::Initialize ( )
virtual

Implements ICameraInput.

Definition at line 35 of file CameraInputWindows.cpp.

◆ IsOpened()

bool CameraInputWindows::IsOpened ( )
virtual

Implements ICameraInput.

Definition at line 60 of file CameraInputWindows.cpp.

◆ SetSize()

void CameraInputWindows::SetSize ( int  width,
int  height 
)
virtual

Implements ICameraInput.

Definition at line 99 of file CameraInputWindows.cpp.

◆ TakeSnapshot()

bool CameraInputWindows::TakeSnapshot ( std::string  path)
virtual

Reimplemented from ICameraInput.

Definition at line 114 of file CameraInputWindows.cpp.

◆ UpdateImage()

cv::Mat CameraInputWindows::UpdateImage ( )
virtual

Implements ICameraInput.

Definition at line 65 of file CameraInputWindows.cpp.


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