Public Member Functions | Private Attributes
Camera Class Reference

This container class holds properties and settings of a camera. More...

#include <Camera.h>

List of all members.

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

Detailed Description

This container class holds properties and settings of a camera.

Author:
David Gossow (RX)

Definition at line 25 of file Camera.h.


Constructor & Destructor Documentation

Camera::Camera ( std::string  deviceDescription = "",
int  formatId = 0,
int  subFormatId = 0,
float  horizontalViewAngle = 0,
std::string  customProperties = "",
bool  rotateImage = false 
)

The constructor.

Parameters:
deviceDescriptionUsed to identify the camera
imageWidth,imageHeightSize of the camera image
horizontalViewAngleopening angle of the camera
rotateImageIf true, the image will be rotated 90° counter-clockwise
Camera::~Camera ( ) [inline]

Definition at line 38 of file Camera.h.


Member Function Documentation

std::map<std::string,double> Camera::getCustomProperties ( ) [inline]

Definition at line 54 of file Camera.h.

std::string Camera::getDeviceDescription ( ) [inline]
Returns:
Device description (needed for Puma2Grabber)

Definition at line 41 of file Camera.h.

int Camera::getFormatId ( ) [inline]
Returns:
Format indices as needed by setFormat()

Definition at line 49 of file Camera.h.

float Camera::getHorizontalViewAngle ( ) [inline]

Definition at line 43 of file Camera.h.

float Camera::getHorizontalViewAngle ( float  diagonalViewAngle)

calculates the horizontal view angle from the diagonal view angle, width and height

int Camera::getRotateImage ( ) [inline]

Definition at line 52 of file Camera.h.

int Camera::getSubFormatId ( ) [inline]

Definition at line 50 of file Camera.h.


Member Data Documentation

std::map<std::string,double> Camera::m_CustomProperties [private]

Definition at line 64 of file Camera.h.

std::string Camera::m_DeviceDescription [private]

Member variables holding data (see above)

Definition at line 59 of file Camera.h.

int Camera::m_FormatId [private]

Definition at line 61 of file Camera.h.

Stores the horizontal view angle of the cam.

Definition at line 67 of file Camera.h.

bool Camera::m_RotateImage [private]

Definition at line 69 of file Camera.h.

int Camera::m_SubFormatId [private]

Definition at line 62 of file Camera.h.


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


obj_rec_gui
Author(s): AGAS/agas@uni-koblenz.de
autogenerated on Mon Oct 6 2014 02:53:43