#include <Link.h>
Public Types | |
enum | Type { kNeighbor, kGlobalClosure, kLocalSpaceClosure, kLocalTimeClosure, kUserClosure, kVirtualClosure, kUndef } |
Public Member Functions | |
int | from () const |
bool | isValid () const |
Link () | |
Link (int from, int to, Type type, const Transform &transform, float rotVariance, float transVariance) | |
float | rotVariance () const |
void | setFrom (int from) |
void | setTo (int to) |
void | setTransform (const Transform &transform) |
void | setType (Type type) |
void | setVariance (float rotVariance, float transVariance) |
int | to () const |
const Transform & | transform () const |
float | transVariance () const |
Type | type () const |
Private Attributes | |
int | from_ |
float | rotVariance_ |
int | to_ |
Transform | transform_ |
float | transVariance_ |
Type | type_ |
enum rtabmap::Link::Type |
rtabmap::Link::Link | ( | ) | [inline] |
rtabmap::Link::Link | ( | int | from, |
int | to, | ||
Type | type, | ||
const Transform & | transform, | ||
float | rotVariance, | ||
float | transVariance | ||
) | [inline] |
int rtabmap::Link::from | ( | ) | const [inline] |
bool rtabmap::Link::isValid | ( | ) | const [inline] |
float rtabmap::Link::rotVariance | ( | ) | const [inline] |
void rtabmap::Link::setFrom | ( | int | from | ) | [inline] |
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::setVariance | ( | float | rotVariance, |
float | transVariance | ||
) | [inline] |
int rtabmap::Link::to | ( | ) | const [inline] |
const Transform& rtabmap::Link::transform | ( | ) | const [inline] |
float rtabmap::Link::transVariance | ( | ) | const [inline] |
Type rtabmap::Link::type | ( | ) | const [inline] |
int rtabmap::Link::from_ [private] |
float rtabmap::Link::rotVariance_ [private] |
int rtabmap::Link::to_ [private] |
Transform rtabmap::Link::transform_ [private] |
float rtabmap::Link::transVariance_ [private] |
Type rtabmap::Link::type_ [private] |