BitmapToolkit Scol plugin
Public Member Functions | Static Public Member Functions | Static Protected Attributes | List of all members
CameraInput Class Reference

#include <CameraInput.h>

Public Member Functions

 CameraInput (int index)
 
 ~CameraInput ()
 
bool Initialize ()
 
void Close ()
 
bool IsOpened ()
 
cv::Mat UpdateImage ()
 
int GetWidth ()
 
int GetHeight ()
 
void SetSize (int width, int height)
 
bool GetMirrorMode ()
 
void SetMirrorMode (bool mode)
 
bool TakeSnapshot (std::string path)
 
void RenderToScreen ()
 

Static Public Member Functions

static std::vector< std::string > GetDevicesList ()
 
static void SetCameraInputsState (bool state)
 

Static Protected Attributes

static std::list< CameraInput * > cameraInputsList
 

Detailed Description

Definition at line 38 of file CameraInput.h.

Constructor & Destructor Documentation

◆ CameraInput()

CameraInput::CameraInput ( int  index)

Definition at line 74 of file CameraInput.cpp.

◆ ~CameraInput()

CameraInput::~CameraInput ( )

Definition at line 132 of file CameraInput.cpp.

Member Function Documentation

◆ Close()

void CameraInput::Close ( )

Definition at line 123 of file CameraInput.cpp.

◆ GetDevicesList()

std::vector< std::string > CameraInput::GetDevicesList ( )
static

Definition at line 261 of file CameraInput.cpp.

◆ GetHeight()

int CameraInput::GetHeight ( )

Definition at line 195 of file CameraInput.cpp.

◆ GetMirrorMode()

bool CameraInput::GetMirrorMode ( )

Definition at line 251 of file CameraInput.cpp.

◆ GetWidth()

int CameraInput::GetWidth ( )

Definition at line 181 of file CameraInput.cpp.

◆ Initialize()

bool CameraInput::Initialize ( )

Definition at line 88 of file CameraInput.cpp.

◆ IsOpened()

bool CameraInput::IsOpened ( )

Definition at line 144 of file CameraInput.cpp.

◆ RenderToScreen()

void CameraInput::RenderToScreen ( )

Definition at line 398 of file CameraInput.cpp.

◆ SetCameraInputsState()

void CameraInput::SetCameraInputsState ( bool  state)
static

Definition at line 455 of file CameraInput.cpp.

◆ SetMirrorMode()

void CameraInput::SetMirrorMode ( bool  mode)

Definition at line 256 of file CameraInput.cpp.

◆ SetSize()

void CameraInput::SetSize ( int  width,
int  height 
)

Definition at line 209 of file CameraInput.cpp.

◆ TakeSnapshot()

bool CameraInput::TakeSnapshot ( std::string  path)

Definition at line 371 of file CameraInput.cpp.

◆ UpdateImage()

cv::Mat CameraInput::UpdateImage ( )

Definition at line 153 of file CameraInput.cpp.

Member Data Documentation

◆ cameraInputsList

std::list< CameraInput * > CameraInput::cameraInputsList
staticprotected

Definition at line 45 of file CameraInput.h.


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