This container class holds properties and settings of a camera. More...
#include <Camera.h>
Public Member Functions | |
| Camera (std::string deviceDescription="", int formatId=0, int subFormatId=0, float horizontalViewAngle=0, std::string customProperties="", bool rotateImage=false) | |
| The constructor. | |
| std::map< std::string, double > | getCustomProperties () |
| std::string | getDeviceDescription () |
| int | getFormatId () |
| float | getHorizontalViewAngle () |
| float | getHorizontalViewAngle (float diagonalViewAngle) |
| calculates the horizontal view angle from the diagonal view angle, width and height | |
| int | getRotateImage () |
| int | getSubFormatId () |
| ~Camera () | |
Private Attributes | |
| std::map< std::string, double > | m_CustomProperties |
| std::string | m_DeviceDescription |
| Member variables holding data (see above) | |
| int | m_FormatId |
| float | m_HorizontalViewAngle |
| Stores the horizontal view angle of the cam. | |
| bool | m_RotateImage |
| int | m_SubFormatId |
This container class holds properties and settings of a camera.
| Camera::Camera | ( | std::string | deviceDescription = "", |
| int | formatId = 0, |
||
| int | subFormatId = 0, |
||
| float | horizontalViewAngle = 0, |
||
| std::string | customProperties = "", |
||
| bool | rotateImage = false |
||
| ) |
The constructor.
| deviceDescription | Used to identify the camera |
| imageWidth,imageHeight | Size of the camera image |
| horizontalViewAngle | opening angle of the camera |
| rotateImage | If true, the image will be rotated 90° counter-clockwise |
| Camera::~Camera | ( | ) | [inline] |
| std::map<std::string,double> Camera::getCustomProperties | ( | ) | [inline] |
| std::string Camera::getDeviceDescription | ( | ) | [inline] |
| int Camera::getFormatId | ( | ) | [inline] |
| float Camera::getHorizontalViewAngle | ( | ) | [inline] |
| float Camera::getHorizontalViewAngle | ( | float | diagonalViewAngle | ) |
calculates the horizontal view angle from the diagonal view angle, width and height
| int Camera::getRotateImage | ( | ) | [inline] |
| int Camera::getSubFormatId | ( | ) | [inline] |
std::map<std::string,double> Camera::m_CustomProperties [private] |
std::string Camera::m_DeviceDescription [private] |
int Camera::m_FormatId [private] |
float Camera::m_HorizontalViewAngle [private] |
bool Camera::m_RotateImage [private] |
int Camera::m_SubFormatId [private] |