#include <CameraRGBD.h>
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_context * | ctx_ |
int | deviceId_ |
FreenectDevice * | freenectDevice_ |
Definition at line 242 of file CameraRGBD.h.
rtabmap::CameraFreenect::CameraFreenect | ( | int | deviceId = 0 , |
float | imageRate = 0.0f , |
||
const Transform & | localTransform = Transform::getIdentity() |
||
) |
Definition at line 983 of file CameraRGBD.cpp.
rtabmap::CameraFreenect::~CameraFreenect | ( | ) | [virtual] |
Definition at line 996 of file CameraRGBD.cpp.
bool rtabmap::CameraFreenect::available | ( | ) | [static] |
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.
freenect_context* rtabmap::CameraFreenect::ctx_ [private] |
Definition at line 264 of file CameraRGBD.h.
int rtabmap::CameraFreenect::deviceId_ [private] |
Definition at line 263 of file CameraRGBD.h.
FreenectDevice* rtabmap::CameraFreenect::freenectDevice_ [private] |
Definition at line 265 of file CameraRGBD.h.