SLProject  4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
CVCamera Class Reference

#include <CVCamera.h>

Public Member Functions

 CVCamera (CVCameraType type)
 
bool mirrorH ()
 
bool mirrorV ()
 
CVCameraType type ()
 
void showUndistorted (bool su)
 
bool showUndistorted ()
 
int camSizeIndex ()
 
void camSizeIndex (int index)
 
void toggleMirrorH ()
 
void toggleMirrorV ()
 

Public Attributes

CVCalibration calibration
 

Private Attributes

bool _showUndistorted = false
 Flag if image should be undistorted. More...
 
CVCameraType _type
 
bool _mirrorH = false
 
bool _mirrorV = false
 
int _camSizeIndex = -1
 

Detailed Description

Definition at line 17 of file CVCamera.h.

Constructor & Destructor Documentation

◆ CVCamera()

CVCamera::CVCamera ( CVCameraType  type)

Definition at line 3 of file CVCamera.cpp.

4  : _type(type),
5  calibration(type, "")
6 {
7 }
CVCalibration calibration
Definition: CVCamera.h:36
CVCameraType type()
Definition: CVCamera.h:24
CVCameraType _type
Definition: CVCamera.h:40

Member Function Documentation

◆ camSizeIndex() [1/2]

int CVCamera::camSizeIndex ( )
inline

Definition at line 27 of file CVCamera.h.

27 { return _camSizeIndex; }
int _camSizeIndex
Definition: CVCamera.h:44

◆ camSizeIndex() [2/2]

void CVCamera::camSizeIndex ( int  index)
inline

Definition at line 29 of file CVCamera.h.

30  {
31  _camSizeIndex = index;
32  }

◆ mirrorH()

bool CVCamera::mirrorH ( )
inline

Definition at line 22 of file CVCamera.h.

22 { return _mirrorH; }
bool _mirrorH
Definition: CVCamera.h:41

◆ mirrorV()

bool CVCamera::mirrorV ( )
inline

Definition at line 23 of file CVCamera.h.

23 { return _mirrorV; }
bool _mirrorV
Definition: CVCamera.h:42

◆ showUndistorted() [1/2]

bool CVCamera::showUndistorted ( )
inline

Definition at line 26 of file CVCamera.h.

26 { return _showUndistorted; }
bool _showUndistorted
Flag if image should be undistorted.
Definition: CVCamera.h:39

◆ showUndistorted() [2/2]

void CVCamera::showUndistorted ( bool  su)
inline

Definition at line 25 of file CVCamera.h.

25 { _showUndistorted = su; }

◆ toggleMirrorH()

void CVCamera::toggleMirrorH ( )
inline

Definition at line 33 of file CVCamera.h.

33 { _mirrorH = !_mirrorH; }

◆ toggleMirrorV()

void CVCamera::toggleMirrorV ( )
inline

Definition at line 34 of file CVCamera.h.

34 { _mirrorV = !_mirrorV; }

◆ type()

CVCameraType CVCamera::type ( )
inline

Definition at line 24 of file CVCamera.h.

24 { return _type; }

Member Data Documentation

◆ _camSizeIndex

int CVCamera::_camSizeIndex = -1
private

Definition at line 44 of file CVCamera.h.

◆ _mirrorH

bool CVCamera::_mirrorH = false
private

Definition at line 41 of file CVCamera.h.

◆ _mirrorV

bool CVCamera::_mirrorV = false
private

Definition at line 42 of file CVCamera.h.

◆ _showUndistorted

bool CVCamera::_showUndistorted = false
private

Flag if image should be undistorted.

Definition at line 39 of file CVCamera.h.

◆ _type

CVCameraType CVCamera::_type
private

Definition at line 40 of file CVCamera.h.

◆ calibration

CVCalibration CVCamera::calibration

Definition at line 36 of file CVCamera.h.


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