#include <Link.h>
Public Types | |
enum | Type { kNeighbor, kGlobalClosure, kLocalSpaceClosure, kLocalTimeClosure, kUserClosure, kVirtualClosure, kNeighborMerged, kUndef } |
Public Member Functions | |
int | from () const |
const cv::Mat & | infMatrix () const |
Link | inverse () const |
bool | isValid () const |
Link () | |
Link (int from, int to, Type type, const Transform &transform, const cv::Mat &infMatrix=cv::Mat::eye(6, 6, CV_64FC1), const cv::Mat &userData=cv::Mat()) | |
Link (int from, int to, Type type, const Transform &transform, double rotVariance, double transVariance, const cv::Mat &userData=cv::Mat()) | |
Link | merge (const Link &link, Type outputType) const |
double | rotVariance () const |
void | setFrom (int from) |
void | setInfMatrix (const cv::Mat &infMatrix) |
void | setTo (int to) |
void | setTransform (const Transform &transform) |
void | setType (Type type) |
void | setUserData (const cv::Mat &userData) |
void | setUserDataRaw (const cv::Mat &userDataRaw) |
void | setVariance (double rotVariance, double transVariance) |
int | to () const |
const Transform & | transform () const |
double | transVariance () const |
Type | type () const |
void | uncompressUserData () |
cv::Mat | uncompressUserDataConst () const |
const cv::Mat & | userDataCompressed () const |
const cv::Mat & | userDataRaw () const |
Private Attributes | |
cv::Mat | _userDataCompressed |
cv::Mat | _userDataRaw |
int | from_ |
cv::Mat | infMatrix_ |
int | to_ |
Transform | transform_ |
Type | type_ |
enum rtabmap::Link::Type |
rtabmap::Link::Link | ( | int | from, |
int | to, | ||
Type | type, | ||
const Transform & | transform, | ||
const cv::Mat & | infMatrix = cv::Mat::eye(6,6,CV_64FC1) , |
||
const cv::Mat & | userData = cv::Mat() |
||
) |
rtabmap::Link::Link | ( | int | from, |
int | to, | ||
Type | type, | ||
const Transform & | transform, | ||
double | rotVariance, | ||
double | transVariance, | ||
const cv::Mat & | userData = cv::Mat() |
||
) |
int rtabmap::Link::from | ( | ) | const [inline] |
const cv::Mat& rtabmap::Link::infMatrix | ( | ) | const [inline] |
Link rtabmap::Link::inverse | ( | ) | const |
bool rtabmap::Link::isValid | ( | ) | const [inline] |
Link rtabmap::Link::merge | ( | const Link & | link, |
Type | outputType | ||
) | const |
double rtabmap::Link::rotVariance | ( | ) | const |
void rtabmap::Link::setFrom | ( | int | from | ) | [inline] |
void rtabmap::Link::setInfMatrix | ( | const cv::Mat & | infMatrix | ) |
void rtabmap::Link::setTo | ( | int | to | ) | [inline] |
void rtabmap::Link::setTransform | ( | const Transform & | transform | ) | [inline] |
void rtabmap::Link::setType | ( | Type | type | ) | [inline] |
void rtabmap::Link::setUserData | ( | const cv::Mat & | userData | ) |
void rtabmap::Link::setUserDataRaw | ( | const cv::Mat & | userDataRaw | ) |
void rtabmap::Link::setVariance | ( | double | rotVariance, |
double | transVariance | ||
) |
int rtabmap::Link::to | ( | ) | const [inline] |
const Transform& rtabmap::Link::transform | ( | ) | const [inline] |
double rtabmap::Link::transVariance | ( | ) | const |
Type rtabmap::Link::type | ( | ) | const [inline] |
void rtabmap::Link::uncompressUserData | ( | ) |
cv::Mat rtabmap::Link::uncompressUserDataConst | ( | ) | const |
const cv::Mat& rtabmap::Link::userDataCompressed | ( | ) | const [inline] |
const cv::Mat& rtabmap::Link::userDataRaw | ( | ) | const [inline] |
cv::Mat rtabmap::Link::_userDataCompressed [private] |
cv::Mat rtabmap::Link::_userDataRaw [private] |
int rtabmap::Link::from_ [private] |
cv::Mat rtabmap::Link::infMatrix_ [private] |
int rtabmap::Link::to_ [private] |
Transform rtabmap::Link::transform_ [private] |
Type rtabmap::Link::type_ [private] |