Public Types | Public Member Functions | Private Attributes
rtabmap::Link Class Reference

#include <Link.h>

List of all members.

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 Transformtransform () 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_

Detailed Description

Definition at line 38 of file Link.h.


Member Enumeration Documentation

Enumerator:
kNeighbor 
kGlobalClosure 
kLocalSpaceClosure 
kLocalTimeClosure 
kUserClosure 
kVirtualClosure 
kNeighborMerged 
kUndef 

Definition at line 41 of file Link.h.


Constructor & Destructor Documentation

Definition at line 35 of file Link.cpp.

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() 
)

Definition at line 42 of file Link.cpp.

rtabmap::Link::Link ( int  from,
int  to,
Type  type,
const Transform transform,
double  rotVariance,
double  transVariance,
const cv::Mat &  userData = cv::Mat() 
)

Definition at line 64 of file Link.cpp.


Member Function Documentation

int rtabmap::Link::from ( ) const [inline]

Definition at line 67 of file Link.h.

const cv::Mat& rtabmap::Link::infMatrix ( ) const [inline]

Definition at line 71 of file Link.h.

Definition at line 188 of file Link.cpp.

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

Definition at line 65 of file Link.h.

Link rtabmap::Link::merge ( const Link link,
Type  outputType 
) const

Definition at line 173 of file Link.cpp.

double rtabmap::Link::rotVariance ( ) const

Definition at line 88 of file Link.cpp.

void rtabmap::Link::setFrom ( int  from) [inline]

Definition at line 75 of file Link.h.

void rtabmap::Link::setInfMatrix ( const cv::Mat &  infMatrix)

Definition at line 101 of file Link.cpp.

void rtabmap::Link::setTo ( int  to) [inline]

Definition at line 76 of file Link.h.

void rtabmap::Link::setTransform ( const Transform transform) [inline]

Definition at line 77 of file Link.h.

void rtabmap::Link::setType ( Type  type) [inline]

Definition at line 78 of file Link.h.

void rtabmap::Link::setUserData ( const cv::Mat &  userData)

Definition at line 132 of file Link.cpp.

void rtabmap::Link::setUserDataRaw ( const cv::Mat &  userDataRaw)

Definition at line 123 of file Link.cpp.

void rtabmap::Link::setVariance ( double  rotVariance,
double  transVariance 
)

Definition at line 111 of file Link.cpp.

int rtabmap::Link::to ( ) const [inline]

Definition at line 68 of file Link.h.

const Transform& rtabmap::Link::transform ( ) const [inline]

Definition at line 69 of file Link.h.

double rtabmap::Link::transVariance ( ) const

Definition at line 94 of file Link.cpp.

Type rtabmap::Link::type ( ) const [inline]

Definition at line 70 of file Link.h.

Definition at line 155 of file Link.cpp.

Definition at line 164 of file Link.cpp.

const cv::Mat& rtabmap::Link::userDataCompressed ( ) const [inline]

Definition at line 85 of file Link.h.

const cv::Mat& rtabmap::Link::userDataRaw ( ) const [inline]

Definition at line 84 of file Link.h.


Member Data Documentation

Definition at line 100 of file Link.h.

cv::Mat rtabmap::Link::_userDataRaw [private]

Definition at line 101 of file Link.h.

int rtabmap::Link::from_ [private]

Definition at line 93 of file Link.h.

cv::Mat rtabmap::Link::infMatrix_ [private]

Definition at line 97 of file Link.h.

int rtabmap::Link::to_ [private]

Definition at line 94 of file Link.h.

Definition at line 95 of file Link.h.

Definition at line 96 of file Link.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Sat Jul 23 2016 11:44:32