Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes
rtabmap::CameraFreenect Class Reference

#include <CameraRGBD.h>

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

List of all members.

Public Member Functions

 CameraFreenect (int deviceId=0, float imageRate=0.0f, const Transform &localTransform=Transform::getIdentity())
virtual std::string getSerial () const
virtual bool init (const std::string &calibrationFolder=".")
virtual bool isCalibrated () const
virtual ~CameraFreenect ()

Static Public Member Functions

static bool available ()

Protected Member Functions

virtual void captureImage (cv::Mat &rgb, cv::Mat &depth, float &fx, float &fy, float &cx, float &cy)

Private Attributes

freenect_contextctx_
int deviceId_
FreenectDevice * freenectDevice_

Detailed Description

Definition at line 242 of file CameraRGBD.h.


Constructor & Destructor Documentation

rtabmap::CameraFreenect::CameraFreenect ( int  deviceId = 0,
float  imageRate = 0.0f,
const Transform localTransform = Transform::getIdentity() 
)

Definition at line 983 of file CameraRGBD.cpp.

Definition at line 996 of file CameraRGBD.cpp.


Member Function Documentation

Definition at line 974 of file CameraRGBD.cpp.

void rtabmap::CameraFreenect::captureImage ( cv::Mat &  rgb,
cv::Mat &  depth,
float &  fx,
float &  fy,
float &  cx,
float &  cy 
) [protected, virtual]

returned rgb and depth images should be already rectified

Implements rtabmap::CameraRGBD.

Definition at line 1064 of file CameraRGBD.cpp.

std::string rtabmap::CameraFreenect::getSerial ( ) const [virtual]

Implements rtabmap::CameraRGBD.

Definition at line 1053 of file CameraRGBD.cpp.

bool rtabmap::CameraFreenect::init ( const std::string &  calibrationFolder = ".") [virtual]

Implements rtabmap::CameraRGBD.

Definition at line 1012 of file CameraRGBD.cpp.

bool rtabmap::CameraFreenect::isCalibrated ( ) const [virtual]

Implements rtabmap::CameraRGBD.

Definition at line 1048 of file CameraRGBD.cpp.


Member Data Documentation

Definition at line 264 of file CameraRGBD.h.

Definition at line 263 of file CameraRGBD.h.

FreenectDevice* rtabmap::CameraFreenect::freenectDevice_ [private]

Definition at line 265 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