BitmapToolkit Scol plugin
Public Member Functions | List of all members
CameraInputAndroid Class Reference

Concrete implementation of ICameraInput using Android API. More...

#include <CameraInputAndroid-old.h>

Inheritance diagram for CameraInputAndroid:
ICameraInput ICameraInput

Public Member Functions

 CameraInputAndroid (int index)
 
 ~CameraInputAndroid ()
 
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)
 
virtual void RenderToScreen ()
 
virtual bool SetFocusPoint (int x, int y)
 
virtual void SetTorchState (bool state)
 
 CameraInputAndroid (int index)
 
 ~CameraInputAndroid ()
 
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)
 
virtual void RenderToScreen ()
 
virtual bool SetFocusPoint (int x, int y)
 
virtual void SetTorchState (bool state)
 
- Public Member Functions inherited from ICameraInput
 ICameraInput (int index)
 
virtual ~ICameraInput ()
 
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 Android API.

Definition at line 68 of file CameraInputAndroid-old.h.

Constructor & Destructor Documentation

◆ CameraInputAndroid() [1/2]

CameraInputAndroid::CameraInputAndroid ( int  index)

Definition at line 493 of file CameraInputAndroid-napi.cpp.

◆ ~CameraInputAndroid() [1/2]

CameraInputAndroid::~CameraInputAndroid ( )

Definition at line 526 of file CameraInputAndroid-napi.cpp.

◆ CameraInputAndroid() [2/2]

CameraInputAndroid::CameraInputAndroid ( int  index)

◆ ~CameraInputAndroid() [2/2]

CameraInputAndroid::~CameraInputAndroid ( )

Member Function Documentation

◆ Close() [1/2]

void CameraInputAndroid::Close ( )
virtual

Implements ICameraInput.

Definition at line 520 of file CameraInputAndroid-napi.cpp.

◆ Close() [2/2]

virtual void CameraInputAndroid::Close ( )
virtual

Implements ICameraInput.

◆ GetHeight() [1/2]

int CameraInputAndroid::GetHeight ( )
virtual

Implements ICameraInput.

Definition at line 556 of file CameraInputAndroid-napi.cpp.

◆ GetHeight() [2/2]

virtual int CameraInputAndroid::GetHeight ( )
virtual

Implements ICameraInput.

◆ GetWidth() [1/2]

int CameraInputAndroid::GetWidth ( )
virtual

Implements ICameraInput.

Definition at line 551 of file CameraInputAndroid-napi.cpp.

◆ GetWidth() [2/2]

virtual int CameraInputAndroid::GetWidth ( )
virtual

Implements ICameraInput.

◆ Initialize() [1/2]

bool CameraInputAndroid::Initialize ( )
virtual

Implements ICameraInput.

Definition at line 502 of file CameraInputAndroid-napi.cpp.

◆ Initialize() [2/2]

virtual bool CameraInputAndroid::Initialize ( )
virtual

Implements ICameraInput.

◆ IsOpened() [1/2]

bool CameraInputAndroid::IsOpened ( )
virtual

Implements ICameraInput.

Definition at line 533 of file CameraInputAndroid-napi.cpp.

◆ IsOpened() [2/2]

virtual bool CameraInputAndroid::IsOpened ( )
virtual

Implements ICameraInput.

◆ RenderToScreen() [1/2]

void CameraInputAndroid::RenderToScreen ( )
virtual

Reimplemented from ICameraInput.

Definition at line 612 of file CameraInputAndroid-napi.cpp.

◆ RenderToScreen() [2/2]

virtual void CameraInputAndroid::RenderToScreen ( )
virtual

Reimplemented from ICameraInput.

◆ SetFocusPoint() [1/2]

bool CameraInputAndroid::SetFocusPoint ( int  x,
int  y 
)
virtual

Reimplemented from ICameraInput.

Definition at line 666 of file CameraInputAndroid-napi.cpp.

◆ SetFocusPoint() [2/2]

virtual bool CameraInputAndroid::SetFocusPoint ( int  x,
int  y 
)
virtual

Reimplemented from ICameraInput.

◆ SetSize() [1/2]

void CameraInputAndroid::SetSize ( int  width,
int  height 
)
virtual

Implements ICameraInput.

Definition at line 561 of file CameraInputAndroid-napi.cpp.

◆ SetSize() [2/2]

virtual void CameraInputAndroid::SetSize ( int  width,
int  height 
)
virtual

Implements ICameraInput.

◆ SetTorchState() [1/2]

void CameraInputAndroid::SetTorchState ( bool  state)
virtual

Reimplemented from ICameraInput.

Definition at line 671 of file CameraInputAndroid-napi.cpp.

◆ SetTorchState() [2/2]

virtual void CameraInputAndroid::SetTorchState ( bool  state)
virtual

Reimplemented from ICameraInput.

◆ TakeSnapshot() [1/2]

bool CameraInputAndroid::TakeSnapshot ( std::string  path)
virtual

Reimplemented from ICameraInput.

Definition at line 586 of file CameraInputAndroid-napi.cpp.

◆ TakeSnapshot() [2/2]

virtual bool CameraInputAndroid::TakeSnapshot ( std::string  path)
virtual

Reimplemented from ICameraInput.

◆ UpdateImage() [1/2]

cv::Mat CameraInputAndroid::UpdateImage ( )
virtual

Implements ICameraInput.

Definition at line 538 of file CameraInputAndroid-napi.cpp.

◆ UpdateImage() [2/2]

virtual cv::Mat CameraInputAndroid::UpdateImage ( )
virtual

Implements ICameraInput.


The documentation for this class was generated from the following files: