#include <Registration.h>
Public Types | |
enum | Type { kTypeUndef = -1, kTypeVis = 0, kTypeIcp = 1, kTypeVisIcp = 2 } |
Public Member Functions | |
bool | canUseGuess () const |
Transform | computeTransformation (const Signature &from, const Signature &to, Transform guess=Transform::getIdentity(), RegistrationInfo *info=0) const |
Transform | computeTransformation (const SensorData &from, const SensorData &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_EPSILON = 0.000000001 |
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 74 of file Registration.cpp.
|
protected |
Definition at line 66 of file Registration.cpp.
bool rtabmap::Registration::canUseGuess | ( | ) | const |
Definition at line 119 of file Registration.cpp.
|
inlineprotectedvirtual |
Reimplemented in rtabmap::RegistrationVis, and rtabmap::RegistrationIcp.
Definition at line 105 of file Registration.h.
Transform rtabmap::Registration::computeTransformation | ( | const Signature & | from, |
const Signature & | to, | ||
Transform | guess = Transform::getIdentity() , |
||
RegistrationInfo * | info = 0 |
||
) | const |
Definition at line 166 of file Registration.cpp.
Transform rtabmap::Registration::computeTransformation | ( | const SensorData & | from, |
const SensorData & | to, | ||
Transform | guess = Transform::getIdentity() , |
||
RegistrationInfo * | info = 0 |
||
) | const |
Definition at line 177 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 188 of file Registration.cpp.
|
static |
Definition at line 38 of file Registration.cpp.
|
static |
Definition at line 46 of file Registration.cpp.
|
inline |
Definition at line 68 of file Registration.h.
float rtabmap::Registration::getMinGeometryCorrespondencesRatio | ( | ) | const |
Definition at line 143 of file Registration.cpp.
|
inlineprotectedvirtual |
Reimplemented in rtabmap::RegistrationIcp.
Definition at line 107 of file Registration.h.
int rtabmap::Registration::getMinVisualCorrespondences | ( | ) | const |
Definition at line 129 of file Registration.cpp.
|
inlineprotectedvirtual |
Reimplemented in rtabmap::RegistrationVis.
Definition at line 106 of file Registration.h.
bool rtabmap::Registration::isImageRequired | ( | ) | const |
Definition at line 89 of file Registration.cpp.
|
inlineprotectedvirtual |
Reimplemented in rtabmap::RegistrationVis.
Definition at line 102 of file Registration.h.
bool rtabmap::Registration::isScanRequired | ( | ) | const |
Definition at line 99 of file Registration.cpp.
|
inlineprotectedvirtual |
Reimplemented in rtabmap::RegistrationIcp.
Definition at line 103 of file Registration.h.
bool rtabmap::Registration::isUserDataRequired | ( | ) | const |
Definition at line 109 of file Registration.cpp.
|
inlineprotectedvirtual |
Definition at line 104 of file Registration.h.
|
virtual |
Reimplemented in rtabmap::RegistrationVis, and rtabmap::RegistrationIcp.
Definition at line 78 of file Registration.cpp.
|
inline |
Definition at line 67 of file Registration.h.
void rtabmap::Registration::setChildRegistration | ( | Registration * | child | ) |
Definition at line 157 of file Registration.cpp.
|
private |
Definition at line 112 of file Registration.h.
|
static |
Definition at line 48 of file Registration.h.
|
private |
Definition at line 111 of file Registration.h.
|
private |
Definition at line 110 of file Registration.h.