#include <OptimizerG2O.h>
Public Member Functions | |
virtual std::map< int, Transform > | optimize (int rootId, const std::map< int, Transform > &poses, const std::multimap< int, Link > &edgeConstraints, std::list< std::map< int, Transform > > *intermediateGraphes=0, double *finalError=0, int *iterationsDone=0) |
virtual std::map< int, Transform > | optimizeBA (int rootId, const std::map< int, Transform > &poses, const std::multimap< int, Link > &links, const std::map< int, Signature > &signatures) |
OptimizerG2O (const ParametersMap ¶meters=ParametersMap()) | |
virtual void | parseParameters (const ParametersMap ¶meters) |
virtual Type | type () const |
virtual | ~OptimizerG2O () |
Static Public Member Functions | |
static bool | available () |
static bool | isCholmodAvailable () |
static bool | isCSparseAvailable () |
static bool | saveGraph (const std::string &fileName, const std::map< int, Transform > &poses, const std::multimap< int, Link > &edgeConstraints, bool useRobustConstraints=false) |
Private Attributes | |
int | optimizer_ |
double | pixelVariance_ |
int | solver_ |
Definition at line 37 of file OptimizerG2O.h.
rtabmap::OptimizerG2O::OptimizerG2O | ( | const ParametersMap & | parameters = ParametersMap() | ) | [inline] |
Definition at line 50 of file OptimizerG2O.h.
virtual rtabmap::OptimizerG2O::~OptimizerG2O | ( | ) | [inline, virtual] |
Definition at line 58 of file OptimizerG2O.h.
bool rtabmap::OptimizerG2O::available | ( | ) | [static] |
Definition at line 82 of file OptimizerG2O.cpp.
bool rtabmap::OptimizerG2O::isCholmodAvailable | ( | ) | [static] |
Definition at line 100 of file OptimizerG2O.cpp.
bool rtabmap::OptimizerG2O::isCSparseAvailable | ( | ) | [static] |
Definition at line 91 of file OptimizerG2O.cpp.
std::map< int, Transform > rtabmap::OptimizerG2O::optimize | ( | int | rootId, |
const std::map< int, Transform > & | poses, | ||
const std::multimap< int, Link > & | edgeConstraints, | ||
std::list< std::map< int, Transform > > * | intermediateGraphes = 0 , |
||
double * | finalError = 0 , |
||
int * | iterationsDone = 0 |
||
) | [virtual] |
Reimplemented from rtabmap::Optimizer.
Definition at line 135 of file OptimizerG2O.cpp.
std::map< int, Transform > rtabmap::OptimizerG2O::optimizeBA | ( | int | rootId, |
const std::map< int, Transform > & | poses, | ||
const std::multimap< int, Link > & | links, | ||
const std::map< int, Signature > & | signatures | ||
) | [virtual] |
Reimplemented from rtabmap::Optimizer.
Definition at line 546 of file OptimizerG2O.cpp.
void rtabmap::OptimizerG2O::parseParameters | ( | const ParametersMap & | parameters | ) | [virtual] |
Reimplemented from rtabmap::Optimizer.
Definition at line 109 of file OptimizerG2O.cpp.
bool rtabmap::OptimizerG2O::saveGraph | ( | const std::string & | fileName, |
const std::map< int, Transform > & | poses, | ||
const std::multimap< int, Link > & | edgeConstraints, | ||
bool | useRobustConstraints = false |
||
) | [static] |
Definition at line 849 of file OptimizerG2O.cpp.
virtual Type rtabmap::OptimizerG2O::type | ( | ) | const [inline, virtual] |
Implements rtabmap::Optimizer.
Definition at line 60 of file OptimizerG2O.h.
int rtabmap::OptimizerG2O::optimizer_ [private] |
Definition at line 80 of file OptimizerG2O.h.
double rtabmap::OptimizerG2O::pixelVariance_ [private] |
Definition at line 81 of file OptimizerG2O.h.
int rtabmap::OptimizerG2O::solver_ [private] |
Definition at line 79 of file OptimizerG2O.h.