#include <CameraRGBD.h>
Public Types | |
enum | Type { kTypeColorDepth, kTypeIRDepth } |
Public Member Functions | |
CameraFreenect (int deviceId=0, Type type=kTypeColorDepth, 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) |
Definition at line 229 of file CameraRGBD.h.
Definition at line 234 of file CameraRGBD.h.
rtabmap::CameraFreenect::CameraFreenect | ( | int | deviceId = 0 , |
Type | type = kTypeColorDepth , |
||
float | imageRate = 0.0f , |
||
const Transform & | localTransform = Transform::getIdentity() |
||
) |
Definition at line 1166 of file CameraRGBD.cpp.
rtabmap::CameraFreenect::~CameraFreenect | ( | ) | [virtual] |
Definition at line 1183 of file CameraRGBD.cpp.
bool rtabmap::CameraFreenect::available | ( | ) | [static] |
Definition at line 1157 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 1294 of file CameraRGBD.cpp.
std::string rtabmap::CameraFreenect::getSerial | ( | ) | const [virtual] |
Implements rtabmap::Camera.
Definition at line 1283 of file CameraRGBD.cpp.
bool rtabmap::CameraFreenect::init | ( | const std::string & | calibrationFolder = "." , |
const std::string & | cameraName = "" |
||
) | [virtual] |
Implements rtabmap::Camera.
Definition at line 1199 of file CameraRGBD.cpp.
bool rtabmap::CameraFreenect::isCalibrated | ( | ) | const [virtual] |
Implements rtabmap::Camera.
Definition at line 1278 of file CameraRGBD.cpp.