#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=".") |
| virtual bool | isCalibrated () const |
| virtual | ~CameraOpenNICV () |
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 | |
| bool | _asus |
| cv::VideoCapture | _capture |
| float | _depthFocal |
Definition at line 171 of file CameraRGBD.h.
| rtabmap::CameraOpenNICV::CameraOpenNICV | ( | bool | asus = false, |
| float | imageRate = 0, |
||
| const Transform & | localTransform = Transform::getIdentity() |
||
| ) |
Definition at line 305 of file CameraRGBD.cpp.
| rtabmap::CameraOpenNICV::~CameraOpenNICV | ( | ) | [virtual] |
Definition at line 313 of file CameraRGBD.cpp.
| bool rtabmap::CameraOpenNICV::available | ( | ) | [static] |
Definition at line 300 of file CameraRGBD.cpp.
| void rtabmap::CameraOpenNICV::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 372 of file CameraRGBD.cpp.
| virtual std::string rtabmap::CameraOpenNICV::getSerial | ( | ) | const [inline, virtual] |
Implements rtabmap::CameraRGBD.
Definition at line 186 of file CameraRGBD.h.
| bool rtabmap::CameraOpenNICV::init | ( | const std::string & | calibrationFolder = "." | ) | [virtual] |
Implements rtabmap::CameraRGBD.
Definition at line 318 of file CameraRGBD.cpp.
| bool rtabmap::CameraOpenNICV::isCalibrated | ( | ) | const [virtual] |
Implements rtabmap::CameraRGBD.
Definition at line 367 of file CameraRGBD.cpp.
bool rtabmap::CameraOpenNICV::_asus [private] |
Definition at line 192 of file CameraRGBD.h.
cv::VideoCapture rtabmap::CameraOpenNICV::_capture [private] |
Definition at line 193 of file CameraRGBD.h.
float rtabmap::CameraOpenNICV::_depthFocal [private] |
Definition at line 194 of file CameraRGBD.h.