BitmapToolkit Scol plugin
|
Concrete implementation of ICameraInput using Windows API. More...
#include <CameraInputWindows.h>
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()
|
virtual |
Implements ICameraInput.
Definition at line 49 of file CameraInputWindows.cpp.
◆ GetHeight()
|
virtual |
Implements ICameraInput.
Definition at line 91 of file CameraInputWindows.cpp.
◆ GetWidth()
|
virtual |
Implements ICameraInput.
Definition at line 83 of file CameraInputWindows.cpp.
◆ Initialize()
|
virtual |
Implements ICameraInput.
Definition at line 35 of file CameraInputWindows.cpp.
◆ IsOpened()
|
virtual |
Implements ICameraInput.
Definition at line 60 of file CameraInputWindows.cpp.
◆ SetSize()
|
virtual |
Implements ICameraInput.
Definition at line 99 of file CameraInputWindows.cpp.
◆ TakeSnapshot()
|
virtual |
Reimplemented from ICameraInput.
Definition at line 114 of file CameraInputWindows.cpp.
◆ UpdateImage()
|
virtual |
Implements ICameraInput.
Definition at line 65 of file CameraInputWindows.cpp.
The documentation for this class was generated from the following files:
- include/CameraInputWindows.h
- src/CameraInputWindows.cpp
Generated by 1.9.8