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 |
Concrete implementation of ICameraInput using OpenCV utility.
Definition at line 17 of file CameraInputOpenCV.h.
CameraInputOpenCV::CameraInputOpenCV | ( | int | index | ) |
Definition at line 75 of file CameraInputOpenCV.cpp.
CameraInputOpenCV::~CameraInputOpenCV | ( | ) |
Definition at line 133 of file CameraInputOpenCV.cpp.
|
virtual |
Implements ICameraInput.
Definition at line 120 of file CameraInputOpenCV.cpp.
|
virtual |
Implements ICameraInput.
Definition at line 288 of file CameraInputOpenCV.cpp.
|
virtual |
Implements ICameraInput.
Definition at line 270 of file CameraInputOpenCV.cpp.
|
virtual |
Implements ICameraInput.
Definition at line 96 of file CameraInputOpenCV.cpp.
|
virtual |
Implements ICameraInput.
Definition at line 143 of file CameraInputOpenCV.cpp.
|
virtual |
Implements ICameraInput.
Definition at line 306 of file CameraInputOpenCV.cpp.
|
virtual |
Reimplemented from ICameraInput.
Definition at line 403 of file CameraInputOpenCV.cpp.
|
virtual |
Implements ICameraInput.
Definition at line 234 of file CameraInputOpenCV.cpp.
void CameraInputOpenCV::UpdateThread | ( | ) |
Definition at line 152 of file CameraInputOpenCV.cpp.