#include <CameraModel.h>
Public Member Functions | |
double | baseline () const |
const cv::Mat & | E () const |
const cv::Mat & | F () const |
bool | isValid () const |
const CameraModel & | left () const |
bool | load (const std::string &directory, const std::string &cameraName) |
const std::string & | name () const |
const cv::Mat & | R () const |
const CameraModel & | right () const |
bool | save (const std::string &directory, const std::string &cameraName) |
StereoCameraModel () | |
StereoCameraModel (const std::string &name, const cv::Size &imageSize1, const cv::Mat &K1, const cv::Mat &D1, const cv::Mat &R1, const cv::Mat &P1, const cv::Size &imageSize2, const cv::Mat &K2, const cv::Mat &D2, const cv::Mat &R2, const cv::Mat &P2, const cv::Mat &R, const cv::Mat &T, const cv::Mat &E, const cv::Mat &F) | |
const cv::Mat & | T () const |
Transform | transform () const |
virtual | ~StereoCameraModel () |
Private Attributes | |
cv::Mat | E_ |
cv::Mat | F_ |
CameraModel | left_ |
std::string | name_ |
cv::Mat | R_ |
CameraModel | right_ |
cv::Mat | T_ |
Definition at line 92 of file CameraModel.h.
rtabmap::StereoCameraModel::StereoCameraModel | ( | ) | [inline] |
Definition at line 95 of file CameraModel.h.
rtabmap::StereoCameraModel::StereoCameraModel | ( | const std::string & | name, |
const cv::Size & | imageSize1, | ||
const cv::Mat & | K1, | ||
const cv::Mat & | D1, | ||
const cv::Mat & | R1, | ||
const cv::Mat & | P1, | ||
const cv::Size & | imageSize2, | ||
const cv::Mat & | K2, | ||
const cv::Mat & | D2, | ||
const cv::Mat & | R2, | ||
const cv::Mat & | P2, | ||
const cv::Mat & | R, | ||
const cv::Mat & | T, | ||
const cv::Mat & | E, | ||
const cv::Mat & | F | ||
) | [inline] |
Definition at line 96 of file CameraModel.h.
virtual rtabmap::StereoCameraModel::~StereoCameraModel | ( | ) | [inline, virtual] |
Definition at line 111 of file CameraModel.h.
double rtabmap::StereoCameraModel::baseline | ( | ) | const [inline] |
Definition at line 119 of file CameraModel.h.
const cv::Mat& rtabmap::StereoCameraModel::E | ( | ) | const [inline] |
Definition at line 123 of file CameraModel.h.
const cv::Mat& rtabmap::StereoCameraModel::F | ( | ) | const [inline] |
Definition at line 124 of file CameraModel.h.
bool rtabmap::StereoCameraModel::isValid | ( | ) | const [inline] |
Definition at line 113 of file CameraModel.h.
const CameraModel& rtabmap::StereoCameraModel::left | ( | ) | const [inline] |
Definition at line 128 of file CameraModel.h.
bool rtabmap::StereoCameraModel::load | ( | const std::string & | directory, |
const std::string & | cameraName | ||
) |
Definition at line 244 of file CameraModel.cpp.
const std::string& rtabmap::StereoCameraModel::name | ( | ) | const [inline] |
Definition at line 114 of file CameraModel.h.
const cv::Mat& rtabmap::StereoCameraModel::R | ( | ) | const [inline] |
Definition at line 121 of file CameraModel.h.
const CameraModel& rtabmap::StereoCameraModel::right | ( | ) | const [inline] |
Definition at line 129 of file CameraModel.h.
bool rtabmap::StereoCameraModel::save | ( | const std::string & | directory, |
const std::string & | cameraName | ||
) |
Definition at line 305 of file CameraModel.cpp.
const cv::Mat& rtabmap::StereoCameraModel::T | ( | ) | const [inline] |
Definition at line 122 of file CameraModel.h.
Definition at line 351 of file CameraModel.cpp.
cv::Mat rtabmap::StereoCameraModel::E_ [private] |
Definition at line 137 of file CameraModel.h.
cv::Mat rtabmap::StereoCameraModel::F_ [private] |
Definition at line 138 of file CameraModel.h.
CameraModel rtabmap::StereoCameraModel::left_ [private] |
Definition at line 132 of file CameraModel.h.
std::string rtabmap::StereoCameraModel::name_ [private] |
Definition at line 134 of file CameraModel.h.
cv::Mat rtabmap::StereoCameraModel::R_ [private] |
Definition at line 135 of file CameraModel.h.
Definition at line 133 of file CameraModel.h.
cv::Mat rtabmap::StereoCameraModel::T_ [private] |
Definition at line 136 of file CameraModel.h.