#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=".", const std::string &cameraName="") |
virtual bool | isCalibrated () const |
virtual | ~CameraFreenect () |
Static Public Member Functions | |
static bool | available () |
Protected Member Functions | |
virtual SensorData | captureImage (CameraInfo *info=0) |
Private Attributes | |
freenect_context * | ctx_ |
int | deviceId_ |
FreenectDevice * | freenectDevice_ |
Definition at line 189 of file CameraRGBD.h.
rtabmap::CameraFreenect::CameraFreenect | ( | int | deviceId = 0 , |
float | imageRate = 0.0f , |
||
const Transform & | localTransform = Transform::getIdentity() |
||
) |
Definition at line 955 of file CameraRGBD.cpp.
rtabmap::CameraFreenect::~CameraFreenect | ( | ) | [virtual] |
Definition at line 968 of file CameraRGBD.cpp.
bool rtabmap::CameraFreenect::available | ( | ) | [static] |
Definition at line 946 of file CameraRGBD.cpp.
SensorData rtabmap::CameraFreenect::captureImage | ( | CameraInfo * | info = 0 | ) | [protected, virtual] |
returned rgb and depth images should be already rectified if calibration was loaded
Implements rtabmap::Camera.
Definition at line 1036 of file CameraRGBD.cpp.
std::string rtabmap::CameraFreenect::getSerial | ( | ) | const [virtual] |
Implements rtabmap::Camera.
Definition at line 1025 of file CameraRGBD.cpp.
bool rtabmap::CameraFreenect::init | ( | const std::string & | calibrationFolder = "." , |
const std::string & | cameraName = "" |
||
) | [virtual] |
Implements rtabmap::Camera.
Definition at line 984 of file CameraRGBD.cpp.
bool rtabmap::CameraFreenect::isCalibrated | ( | ) | const [virtual] |
Implements rtabmap::Camera.
Definition at line 1020 of file CameraRGBD.cpp.
freenect_context* rtabmap::CameraFreenect::ctx_ [private] |
Definition at line 211 of file CameraRGBD.h.
int rtabmap::CameraFreenect::deviceId_ [private] |
Definition at line 210 of file CameraRGBD.h.
FreenectDevice* rtabmap::CameraFreenect::freenectDevice_ [private] |
Definition at line 212 of file CameraRGBD.h.