#include <Registration.h>
Public Types | |
enum | Type { kTypeUndef = -1, kTypeVis = 0, kTypeIcp = 1, kTypeVisIcp = 2 } |
Public Member Functions | |
bool | canUseGuess () const |
Transform | computeTransformation (const SensorData &from, const SensorData &to, Transform guess=Transform::getIdentity(), RegistrationInfo *info=0) const |
Transform | computeTransformation (const Signature &from, const Signature &to, Transform guess=Transform::getIdentity(), RegistrationInfo *info=0) const |
Transform | computeTransformationMod (Signature &from, Signature &to, Transform guess=Transform::getIdentity(), RegistrationInfo *info=0) const |
bool | force3DoF () const |
float | getMinGeometryCorrespondencesRatio () const |
int | getMinVisualCorrespondences () const |
bool | isImageRequired () const |
bool | isScanRequired () const |
bool | isUserDataRequired () const |
virtual void | parseParameters (const ParametersMap ¶meters) |
bool | repeatOnce () const |
void | setChildRegistration (Registration *child) |
virtual | ~Registration () |
Static Public Member Functions | |
static Registration * | create (const ParametersMap ¶meters) |
static Registration * | create (Type &type, const ParametersMap ¶meters=ParametersMap()) |
Static Public Attributes | |
static double | COVARIANCE_ANGULAR_EPSILON = 0.00000003 |
static double | COVARIANCE_LINEAR_EPSILON = 0.00000001 |
Protected Member Functions | |
virtual bool | canUseGuessImpl () const |
virtual Transform | computeTransformationImpl (Signature &from, Signature &to, Transform guess, RegistrationInfo &info) const =0 |
virtual float | getMinGeometryCorrespondencesRatioImpl () const |
virtual int | getMinVisualCorrespondencesImpl () const |
virtual bool | isImageRequiredImpl () const |
virtual bool | isScanRequiredImpl () const |
virtual bool | isUserDataRequiredImpl () const |
Registration (const ParametersMap ¶meters=ParametersMap(), Registration *child=0) | |
Private Attributes | |
Registration * | child_ |
bool | force3DoF_ |
bool | repeatOnce_ |
Definition at line 39 of file Registration.h.
Enumerator | |
---|---|
kTypeUndef | |
kTypeVis | |
kTypeIcp | |
kTypeVisIcp |
Definition at line 42 of file Registration.h.
|
virtual |
Definition at line 75 of file Registration.cpp.
|
protected |
Definition at line 67 of file Registration.cpp.
bool rtabmap::Registration::canUseGuess | ( | ) | const |
Definition at line 120 of file Registration.cpp.
|
inlineprotectedvirtual |
Reimplemented in rtabmap::RegistrationVis, and rtabmap::RegistrationIcp.
Definition at line 106 of file Registration.h.
Transform rtabmap::Registration::computeTransformation | ( | const SensorData & | from, |
const SensorData & | to, | ||
Transform | guess = Transform::getIdentity() , |
||
RegistrationInfo * | info = 0 |
||
) | const |
Definition at line 178 of file Registration.cpp.
Transform rtabmap::Registration::computeTransformation | ( | const Signature & | from, |
const Signature & | to, | ||
Transform | guess = Transform::getIdentity() , |
||
RegistrationInfo * | info = 0 |
||
) | const |
Definition at line 167 of file Registration.cpp.
|
protectedpure virtual |
Implemented in rtabmap::RegistrationVis, and rtabmap::RegistrationIcp.
Transform rtabmap::Registration::computeTransformationMod | ( | Signature & | from, |
Signature & | to, | ||
Transform | guess = Transform::getIdentity() , |
||
RegistrationInfo * | info = 0 |
||
) | const |
Definition at line 189 of file Registration.cpp.
|
static |
Definition at line 39 of file Registration.cpp.
|
static |
|
inline |
Definition at line 69 of file Registration.h.
float rtabmap::Registration::getMinGeometryCorrespondencesRatio | ( | ) | const |
Definition at line 144 of file Registration.cpp.
|
inlineprotectedvirtual |
Reimplemented in rtabmap::RegistrationIcp.
Definition at line 108 of file Registration.h.
int rtabmap::Registration::getMinVisualCorrespondences | ( | ) | const |
Definition at line 130 of file Registration.cpp.
|
inlineprotectedvirtual |
Reimplemented in rtabmap::RegistrationVis.
Definition at line 107 of file Registration.h.
bool rtabmap::Registration::isImageRequired | ( | ) | const |
Definition at line 90 of file Registration.cpp.
|
inlineprotectedvirtual |
Reimplemented in rtabmap::RegistrationVis.
Definition at line 103 of file Registration.h.
bool rtabmap::Registration::isScanRequired | ( | ) | const |
Definition at line 100 of file Registration.cpp.
|
inlineprotectedvirtual |
Reimplemented in rtabmap::RegistrationIcp.
Definition at line 104 of file Registration.h.
bool rtabmap::Registration::isUserDataRequired | ( | ) | const |
Definition at line 110 of file Registration.cpp.
|
inlineprotectedvirtual |
Definition at line 105 of file Registration.h.
|
virtual |
Reimplemented in rtabmap::RegistrationVis, and rtabmap::RegistrationIcp.
Definition at line 79 of file Registration.cpp.
|
inline |
Definition at line 68 of file Registration.h.
void rtabmap::Registration::setChildRegistration | ( | Registration * | child | ) |
Definition at line 158 of file Registration.cpp.
|
private |
Definition at line 113 of file Registration.h.
|
static |
Definition at line 49 of file Registration.h.
|
static |
Definition at line 48 of file Registration.h.
|
private |
Definition at line 112 of file Registration.h.
|
private |
Definition at line 111 of file Registration.h.