Public Member Functions | Private Attributes
rtabmap::CameraModel Class Reference

#include <CameraModel.h>

List of all members.

Public Member Functions

 CameraModel ()
 CameraModel (const std::string &name, const cv::Size &imageSize, const cv::Mat &K, const cv::Mat &D, const cv::Mat &R, const cv::Mat &P)
double cx () const
double cy () const
const cv::Mat & D () const
double fx () const
double fy () const
const cv::Size & imageSize () const
int imageWeight () const
int imageWidth () const
bool isValid () const
const cv::Mat & K () const
bool load (const std::string &filePath)
const std::string & name () const
const cv::Mat & P () const
const cv::Mat & R () const
cv::Mat rectifyDepth (const cv::Mat &raw) const
cv::Mat rectifyImage (const cv::Mat &raw, int interpolation=cv::INTER_LINEAR) const
bool save (const std::string &filePath)
double Tx () const
virtual ~CameraModel ()

Private Attributes

cv::Mat D_
cv::Size imageSize_
cv::Mat K_
cv::Mat mapX_
cv::Mat mapY_
std::string name_
cv::Mat P_
cv::Mat R_

Detailed Description

Definition at line 38 of file CameraModel.h.


Constructor & Destructor Documentation

Definition at line 36 of file CameraModel.cpp.

rtabmap::CameraModel::CameraModel ( const std::string &  name,
const cv::Size &  imageSize,
const cv::Mat &  K,
const cv::Mat &  D,
const cv::Mat &  R,
const cv::Mat &  P 
)

Definition at line 42 of file CameraModel.cpp.

virtual rtabmap::CameraModel::~CameraModel ( ) [inline, virtual]

Definition at line 47 of file CameraModel.h.


Member Function Documentation

double rtabmap::CameraModel::cx ( ) const [inline]

Definition at line 61 of file CameraModel.h.

double rtabmap::CameraModel::cy ( ) const [inline]

Definition at line 62 of file CameraModel.h.

const cv::Mat& rtabmap::CameraModel::D ( ) const [inline]

Definition at line 66 of file CameraModel.h.

double rtabmap::CameraModel::fx ( ) const [inline]

Definition at line 59 of file CameraModel.h.

double rtabmap::CameraModel::fy ( ) const [inline]

Definition at line 60 of file CameraModel.h.

const cv::Size& rtabmap::CameraModel::imageSize ( ) const [inline]

Definition at line 70 of file CameraModel.h.

int rtabmap::CameraModel::imageWeight ( ) const [inline]

Definition at line 72 of file CameraModel.h.

int rtabmap::CameraModel::imageWidth ( ) const [inline]

Definition at line 71 of file CameraModel.h.

bool rtabmap::CameraModel::isValid ( ) const [inline]

Definition at line 49 of file CameraModel.h.

const cv::Mat& rtabmap::CameraModel::K ( ) const [inline]

Definition at line 65 of file CameraModel.h.

bool rtabmap::CameraModel::load ( const std::string &  filePath)

Definition at line 62 of file CameraModel.cpp.

const std::string& rtabmap::CameraModel::name ( ) const [inline]

Definition at line 57 of file CameraModel.h.

const cv::Mat& rtabmap::CameraModel::P ( ) const [inline]

Definition at line 68 of file CameraModel.h.

const cv::Mat& rtabmap::CameraModel::R ( ) const [inline]

Definition at line 67 of file CameraModel.h.

cv::Mat rtabmap::CameraModel::rectifyDepth ( const cv::Mat &  raw) const

Definition at line 190 of file CameraModel.cpp.

cv::Mat rtabmap::CameraModel::rectifyImage ( const cv::Mat &  raw,
int  interpolation = cv::INTER_LINEAR 
) const

Definition at line 175 of file CameraModel.cpp.

bool rtabmap::CameraModel::save ( const std::string &  filePath)

Definition at line 131 of file CameraModel.cpp.

double rtabmap::CameraModel::Tx ( ) const [inline]

Definition at line 63 of file CameraModel.h.


Member Data Documentation

cv::Mat rtabmap::CameraModel::D_ [private]

Definition at line 85 of file CameraModel.h.

Definition at line 83 of file CameraModel.h.

cv::Mat rtabmap::CameraModel::K_ [private]

Definition at line 84 of file CameraModel.h.

cv::Mat rtabmap::CameraModel::mapX_ [private]

Definition at line 88 of file CameraModel.h.

cv::Mat rtabmap::CameraModel::mapY_ [private]

Definition at line 89 of file CameraModel.h.

std::string rtabmap::CameraModel::name_ [private]

Definition at line 82 of file CameraModel.h.

cv::Mat rtabmap::CameraModel::P_ [private]

Definition at line 87 of file CameraModel.h.

cv::Mat rtabmap::CameraModel::R_ [private]

Definition at line 86 of file CameraModel.h.


The documentation for this class was generated from the following files:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Fri Aug 28 2015 12:51:43