BitmapToolkit Scol plugin
|
Concrete implementation of ICameraInput using OpenCV utility. More...
#include <CameraInputOpenCV.h>
Public Member Functions | |
CameraInputOpenCV (int index) | |
~CameraInputOpenCV () | |
virtual bool | Initialize () |
virtual void | Close () |
virtual bool | IsOpened () |
virtual cv::Mat | UpdateImage () |
virtual int | GetWidth () |
virtual int | GetHeight () |
virtual void | SetSize (int width, int height) |
virtual bool | TakeSnapshot (std::string path) |
void | UpdateThread () |
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 OpenCV utility.
Definition at line 17 of file CameraInputOpenCV.h.
Constructor & Destructor Documentation
◆ CameraInputOpenCV()
CameraInputOpenCV::CameraInputOpenCV | ( | int | index | ) |
Definition at line 75 of file CameraInputOpenCV.cpp.
◆ ~CameraInputOpenCV()
CameraInputOpenCV::~CameraInputOpenCV | ( | ) |
Definition at line 133 of file CameraInputOpenCV.cpp.
Member Function Documentation
◆ Close()
|
virtual |
Implements ICameraInput.
Definition at line 120 of file CameraInputOpenCV.cpp.
◆ GetHeight()
|
virtual |
Implements ICameraInput.
Definition at line 288 of file CameraInputOpenCV.cpp.
◆ GetWidth()
|
virtual |
Implements ICameraInput.
Definition at line 270 of file CameraInputOpenCV.cpp.
◆ Initialize()
|
virtual |
Implements ICameraInput.
Definition at line 96 of file CameraInputOpenCV.cpp.
◆ IsOpened()
|
virtual |
Implements ICameraInput.
Definition at line 143 of file CameraInputOpenCV.cpp.
◆ SetSize()
|
virtual |
Implements ICameraInput.
Definition at line 306 of file CameraInputOpenCV.cpp.
◆ TakeSnapshot()
|
virtual |
Reimplemented from ICameraInput.
Definition at line 403 of file CameraInputOpenCV.cpp.
◆ UpdateImage()
|
virtual |
Implements ICameraInput.
Definition at line 234 of file CameraInputOpenCV.cpp.
◆ UpdateThread()
void CameraInputOpenCV::UpdateThread | ( | ) |
Definition at line 152 of file CameraInputOpenCV.cpp.
The documentation for this class was generated from the following files:
- include/CameraInputOpenCV.h
- src/CameraInputOpenCV.cpp
Generated by 1.9.8