#include <CameraRGBD.h>
Public Member Functions | |
CameraOpenNICV (bool asus=false, float imageRate=0, 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 | ~CameraOpenNICV () |
Static Public Member Functions | |
static bool | available () |
Protected Member Functions | |
virtual SensorData | captureImage (CameraInfo *info=0) |
Private Attributes | |
bool | _asus |
cv::VideoCapture | _capture |
float | _depthFocal |
Definition at line 116 of file CameraRGBD.h.
rtabmap::CameraOpenNICV::CameraOpenNICV | ( | bool | asus = false , |
float | imageRate = 0 , |
||
const Transform & | localTransform = Transform::getIdentity() |
||
) |
Definition at line 253 of file CameraRGBD.cpp.
rtabmap::CameraOpenNICV::~CameraOpenNICV | ( | ) | [virtual] |
Definition at line 261 of file CameraRGBD.cpp.
bool rtabmap::CameraOpenNICV::available | ( | ) | [static] |
Definition at line 248 of file CameraRGBD.cpp.
SensorData rtabmap::CameraOpenNICV::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 320 of file CameraRGBD.cpp.
virtual std::string rtabmap::CameraOpenNICV::getSerial | ( | ) | const [inline, virtual] |
Implements rtabmap::Camera.
Definition at line 131 of file CameraRGBD.h.
bool rtabmap::CameraOpenNICV::init | ( | const std::string & | calibrationFolder = "." , |
const std::string & | cameraName = "" |
||
) | [virtual] |
Implements rtabmap::Camera.
Definition at line 266 of file CameraRGBD.cpp.
bool rtabmap::CameraOpenNICV::isCalibrated | ( | ) | const [virtual] |
Implements rtabmap::Camera.
Definition at line 315 of file CameraRGBD.cpp.
bool rtabmap::CameraOpenNICV::_asus [private] |
Definition at line 137 of file CameraRGBD.h.
cv::VideoCapture rtabmap::CameraOpenNICV::_capture [private] |
Definition at line 138 of file CameraRGBD.h.
float rtabmap::CameraOpenNICV::_depthFocal [private] |
Definition at line 139 of file CameraRGBD.h.