Public Member Functions | Protected Member Functions | Private Attributes
rtabmap::Camera Class Reference

#include <Camera.h>

Inheritance diagram for rtabmap::Camera:
Inheritance graph
[legend]

List of all members.

Public Member Functions

float getImageRate () const
void getImageSize (unsigned int &width, unsigned int &height)
virtual bool init ()=0
bool isMirroringEnabled () const
void resetCalibration ()
void setCalibration (const std::string &fileName)
void setCalibration (const cv::Mat &cameraMatrix, const cv::Mat &distorsionCoefficients)
void setImageRate (float imageRate)
void setImageSize (unsigned int width, unsigned int height)
void setMirroringEnabled (bool enabled)
cv::Mat takeImage ()
virtual ~Camera ()

Protected Member Functions

 Camera (float imageRate=0, unsigned int imageWidth=0, unsigned int imageHeight=0)
virtual cv::Mat captureImage ()=0

Private Attributes

cv::Mat _d
UTimer_frameRateTimer
unsigned int _imageHeight
float _imageRate
unsigned int _imageWidth
cv::Mat _k
bool _mirroring

Detailed Description

Class Camera

Definition at line 49 of file Camera.h.


Constructor & Destructor Documentation

rtabmap::Camera::~Camera ( ) [virtual]

Definition at line 58 of file Camera.cpp.

rtabmap::Camera::Camera ( float  imageRate = 0,
unsigned int  imageWidth = 0,
unsigned int  imageHeight = 0 
) [protected]

Constructor

Parameters:
imageRate: image/second , 0 for fast as the camera can

Definition at line 47 of file Camera.cpp.


Member Function Documentation

virtual cv::Mat rtabmap::Camera::captureImage ( ) [protected, pure virtual]
float rtabmap::Camera::getImageRate ( ) const [inline]

Definition at line 58 of file Camera.h.

void rtabmap::Camera::getImageSize ( unsigned int &  width,
unsigned int &  height 
)

Definition at line 72 of file Camera.cpp.

virtual bool rtabmap::Camera::init ( ) [pure virtual]
bool rtabmap::Camera::isMirroringEnabled ( ) const [inline]

Definition at line 59 of file Camera.h.

Definition at line 145 of file Camera.cpp.

void rtabmap::Camera::setCalibration ( const std::string &  fileName)

Definition at line 78 of file Camera.cpp.

void rtabmap::Camera::setCalibration ( const cv::Mat &  cameraMatrix,
const cv::Mat &  distorsionCoefficients 
)

Definition at line 132 of file Camera.cpp.

void rtabmap::Camera::setImageRate ( float  imageRate) [inline]

Definition at line 62 of file Camera.h.

void rtabmap::Camera::setImageSize ( unsigned int  width,
unsigned int  height 
)

Definition at line 66 of file Camera.cpp.

void rtabmap::Camera::setMirroringEnabled ( bool  enabled) [inline]

Definition at line 64 of file Camera.h.

Definition at line 151 of file Camera.cpp.


Member Data Documentation

cv::Mat rtabmap::Camera::_d [private]

Definition at line 89 of file Camera.h.

Definition at line 87 of file Camera.h.

unsigned int rtabmap::Camera::_imageHeight [private]

Definition at line 85 of file Camera.h.

float rtabmap::Camera::_imageRate [private]

Definition at line 83 of file Camera.h.

unsigned int rtabmap::Camera::_imageWidth [private]

Definition at line 84 of file Camera.h.

cv::Mat rtabmap::Camera::_k [private]

Definition at line 88 of file Camera.h.

Definition at line 86 of file Camera.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Fri Aug 28 2015 12:51:43