| 
    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 | 
Detailed Description
Interface for camera management. Concrete classes are written for Windows, Android and OpenCV native camera wrapper.
Definition at line 39 of file ICameraInput.h.
Constructor & Destructor Documentation
◆ ICameraInput()
| ICameraInput::ICameraInput | ( | int | index | ) | 
Definition at line 37 of file ICameraInput.cpp.
◆ ~ICameraInput()
      
  | 
  virtual | 
Definition at line 44 of file ICameraInput.cpp.
Member Function Documentation
◆ Close()
      
  | 
  pure virtual | 
Implemented in CameraInputAndroid, CameraInputAndroid, CameraInputOpenCV, and CameraInputWindows.
◆ GetDevicesList()
      
  | 
  static | 
Definition at line 59 of file ICameraInput.cpp.
◆ GetHeight()
      
  | 
  pure virtual | 
Implemented in CameraInputAndroid, CameraInputAndroid, CameraInputOpenCV, and CameraInputWindows.
◆ GetMirrorMode()
| bool ICameraInput::GetMirrorMode | ( | ) | 
Definition at line 49 of file ICameraInput.cpp.
◆ GetWidth()
      
  | 
  pure virtual | 
Implemented in CameraInputAndroid, CameraInputAndroid, CameraInputOpenCV, and CameraInputWindows.
◆ Initialize()
      
  | 
  pure virtual | 
Implemented in CameraInputAndroid, CameraInputAndroid, CameraInputOpenCV, and CameraInputWindows.
◆ IsOpened()
      
  | 
  pure virtual | 
Implemented in CameraInputAndroid, CameraInputAndroid, CameraInputOpenCV, and CameraInputWindows.
◆ RenderToScreen()
      
  | 
  virtual | 
Reimplemented in CameraInputAndroid, and CameraInputAndroid.
Definition at line 231 of file ICameraInput.cpp.
◆ SetCameraInputsState()
      
  | 
  static | 
Definition at line 196 of file ICameraInput.cpp.
◆ SetFocusPoint()
      
  | 
  virtual | 
Reimplemented in CameraInputAndroid, and CameraInputAndroid.
Definition at line 219 of file ICameraInput.cpp.
◆ SetMirrorMode()
| void ICameraInput::SetMirrorMode | ( | bool | mode | ) | 
Definition at line 54 of file ICameraInput.cpp.
◆ SetSize()
      
  | 
  pure virtual | 
Implemented in CameraInputAndroid, CameraInputAndroid, CameraInputOpenCV, and CameraInputWindows.
◆ SetTorchState()
      
  | 
  virtual | 
Reimplemented in CameraInputAndroid, and CameraInputAndroid.
Definition at line 224 of file ICameraInput.cpp.
◆ TakeSnapshot()
      
  | 
  virtual | 
Reimplemented in CameraInputAndroid, CameraInputAndroid, CameraInputOpenCV, and CameraInputWindows.
Definition at line 215 of file ICameraInput.cpp.
◆ UpdateImage()
      
  | 
  pure virtual | 
Implemented in CameraInputAndroid, CameraInputAndroid, CameraInputOpenCV, and CameraInputWindows.
Member Data Documentation
◆ cameraInputsList
      
  | 
  staticprotected | 
Definition at line 48 of file ICameraInput.h.
◆ mBufferSize
      
  | 
  protected | 
Definition at line 53 of file ICameraInput.h.
◆ mIndex
      
  | 
  protected | 
Definition at line 51 of file ICameraInput.h.
◆ mMirrorMode
      
  | 
  protected | 
Definition at line 52 of file ICameraInput.h.
The documentation for this class was generated from the following files:
- include/ICameraInput.h
 - src/ICameraInput.cpp
 
Generated by