#include <Link.h>
Public Types | |
enum | Type { kNeighbor, kGlobalClosure, kLocalSpaceClosure, kLocalTimeClosure, kUserClosure, kVirtualClosure, kNeighborMerged, kPosePrior, kLandmark, kGravity, kEnd, kSelfRefLink = 97, kAllWithLandmarks = 98, kAllWithoutLandmarks = 99, kUndef = 99 } |
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 | merge (const Link &link, Type outputType) const |
double | rotVariance (bool minimum=true) const |
void | setFrom (int from) |
void | setInfMatrix (const cv::Mat &infMatrix) |
void | setTo (int to) |
void | setTransform (const Transform &transform) |
void | setType (Type type) |
int | to () const |
const Transform & | transform () const |
double | transVariance (bool minimum=true) const |
Type | type () const |
std::string | typeName () const |
void | uncompressUserData () |
cv::Mat | uncompressUserDataConst () const |
const cv::Mat & | userDataCompressed () const |
const cv::Mat & | userDataRaw () const |
Static Public Member Functions | |
static std::string | typeName (Type type) |
Private Attributes | |
cv::Mat | _userDataCompressed |
cv::Mat | _userDataRaw |
int | from_ |
cv::Mat | infMatrix_ |
int | to_ |
Transform | transform_ |
Type | type_ |
enum rtabmap::Link::Type |
double rtabmap::Link::rotVariance | ( | bool | minimum = true | ) | const |
void rtabmap::Link::setInfMatrix | ( | const cv::Mat & | infMatrix | ) |
|
inline |
double rtabmap::Link::transVariance | ( | bool | minimum = true | ) | const |
|
inline |
|
static |
|
inline |