BitmapToolkit Scol plugin
|
Interface for camera management. Concrete classes are written for Windows, Android and OpenCV native camera wrapper. More...
#include <ICameraInput.h>
Public Member Functions | |
ICameraInput (int index) | |
virtual | ~ICameraInput () |
virtual bool | Initialize ()=0 |
virtual void | Close ()=0 |
virtual bool | IsOpened ()=0 |
virtual cv::Mat | UpdateImage ()=0 |
virtual int | GetWidth ()=0 |
virtual int | GetHeight ()=0 |
virtual void | SetSize (int width, int height)=0 |
virtual bool | TakeSnapshot (std::string path) |
virtual void | RenderToScreen () |
virtual bool | SetFocusPoint (int x, int y) |
virtual void | SetTorchState (bool state) |
bool | GetMirrorMode () |
void | SetMirrorMode (bool mode) |
Static Public Member Functions | |
static std::vector< std::string > | GetDevicesList () |
static void | SetCameraInputsState (bool state) |
Protected Attributes | |
int | mIndex |
bool | mMirrorMode |
cv::Size | mBufferSize |
Static Protected Attributes | |
static std::list< ICameraInput * > | cameraInputsList |
Interface for camera management. Concrete classes are written for Windows, Android and OpenCV native camera wrapper.
Definition at line 39 of file ICameraInput.h.
ICameraInput::ICameraInput | ( | int | index | ) |
Definition at line 37 of file ICameraInput.cpp.
|
virtual |
Definition at line 44 of file ICameraInput.cpp.
|
pure virtual |
Implemented in CameraInputAndroid, CameraInputAndroid, CameraInputOpenCV, and CameraInputWindows.
|
static |
Definition at line 59 of file ICameraInput.cpp.
|
pure virtual |
Implemented in CameraInputAndroid, CameraInputAndroid, CameraInputOpenCV, and CameraInputWindows.
bool ICameraInput::GetMirrorMode | ( | ) |
Definition at line 49 of file ICameraInput.cpp.
|
pure virtual |
Implemented in CameraInputAndroid, CameraInputAndroid, CameraInputOpenCV, and CameraInputWindows.
|
pure virtual |
Implemented in CameraInputAndroid, CameraInputAndroid, CameraInputOpenCV, and CameraInputWindows.
|
pure virtual |
Implemented in CameraInputAndroid, CameraInputAndroid, CameraInputOpenCV, and CameraInputWindows.
|
virtual |
Reimplemented in CameraInputAndroid, and CameraInputAndroid.
Definition at line 231 of file ICameraInput.cpp.
|
static |
Definition at line 196 of file ICameraInput.cpp.
|
virtual |
Reimplemented in CameraInputAndroid, and CameraInputAndroid.
Definition at line 219 of file ICameraInput.cpp.
void ICameraInput::SetMirrorMode | ( | bool | mode | ) |
Definition at line 54 of file ICameraInput.cpp.
|
pure virtual |
Implemented in CameraInputAndroid, CameraInputAndroid, CameraInputOpenCV, and CameraInputWindows.
|
virtual |
Reimplemented in CameraInputAndroid, and CameraInputAndroid.
Definition at line 224 of file ICameraInput.cpp.
|
virtual |
Reimplemented in CameraInputAndroid, CameraInputAndroid, CameraInputOpenCV, and CameraInputWindows.
Definition at line 215 of file ICameraInput.cpp.
|
pure virtual |
Implemented in CameraInputAndroid, CameraInputAndroid, CameraInputOpenCV, and CameraInputWindows.
|
staticprotected |
Definition at line 48 of file ICameraInput.h.
|
protected |
Definition at line 53 of file ICameraInput.h.
|
protected |
Definition at line 51 of file ICameraInput.h.
|
protected |
Definition at line 52 of file ICameraInput.h.