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

#include <CameraRGBD.h>

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

List of all members.

Public Member Functions

float getImageRate () const
const TransformgetLocalTransform () const
virtual std::string getSerial () const =0
virtual bool init (const std::string &calibrationFolder=".")=0
virtual bool isCalibrated () const =0
bool isColorOnly () const
bool isMirroringEnabled () const
void setColorOnly (bool colorOnly)
void setImageRate (float imageRate)
void setLocalTransform (const Transform &localTransform)
void setMirroringEnabled (bool mirroring)
void takeImage (cv::Mat &rgb, cv::Mat &depth, float &fx, float &fy, float &cx, float &cy)
virtual ~CameraRGBD ()

Protected Member Functions

 CameraRGBD (float imageRate=0, const Transform &localTransform=Transform::getIdentity())
virtual void captureImage (cv::Mat &rgb, cv::Mat &depth, float &fx, float &fy, float &cx, float &cy)=0

Private Attributes

bool _colorOnly
UTimer_frameRateTimer
float _imageRate
Transform _localTransform
bool _mirroring

Detailed Description

Class CameraRGBD

Definition at line 85 of file CameraRGBD.h.


Constructor & Destructor Documentation

Definition at line 85 of file CameraRGBD.cpp.

rtabmap::CameraRGBD::CameraRGBD ( float  imageRate = 0,
const Transform localTransform = Transform::getIdentity() 
) [protected]

Constructor

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

Definition at line 76 of file CameraRGBD.cpp.


Member Function Documentation

virtual void rtabmap::CameraRGBD::captureImage ( cv::Mat &  rgb,
cv::Mat &  depth,
float &  fx,
float &  fy,
float &  cx,
float &  cy 
) [protected, pure virtual]
float rtabmap::CameraRGBD::getImageRate ( ) const [inline]

Definition at line 96 of file CameraRGBD.h.

Definition at line 97 of file CameraRGBD.h.

virtual std::string rtabmap::CameraRGBD::getSerial ( ) const [pure virtual]
virtual bool rtabmap::CameraRGBD::init ( const std::string &  calibrationFolder = ".") [pure virtual]
virtual bool rtabmap::CameraRGBD::isCalibrated ( ) const [pure virtual]
bool rtabmap::CameraRGBD::isColorOnly ( ) const [inline]

Definition at line 99 of file CameraRGBD.h.

bool rtabmap::CameraRGBD::isMirroringEnabled ( ) const [inline]

Definition at line 98 of file CameraRGBD.h.

void rtabmap::CameraRGBD::setColorOnly ( bool  colorOnly) [inline]

Definition at line 105 of file CameraRGBD.h.

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

Definition at line 102 of file CameraRGBD.h.

void rtabmap::CameraRGBD::setLocalTransform ( const Transform localTransform) [inline]

Definition at line 103 of file CameraRGBD.h.

void rtabmap::CameraRGBD::setMirroringEnabled ( bool  mirroring) [inline]

Definition at line 104 of file CameraRGBD.h.

void rtabmap::CameraRGBD::takeImage ( cv::Mat &  rgb,
cv::Mat &  depth,
float &  fx,
float &  fy,
float &  cx,
float &  cy 
)

Definition at line 93 of file CameraRGBD.cpp.


Member Data Documentation

Definition at line 125 of file CameraRGBD.h.

Definition at line 126 of file CameraRGBD.h.

Definition at line 122 of file CameraRGBD.h.

Definition at line 123 of file CameraRGBD.h.

Definition at line 124 of file CameraRGBD.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