g2o
Classes | Namespaces | Macros | Functions
solver_dense.cpp File Reference
#include "linear_solver_dense.h"
#include "g2o/config.h"
#include "g2o/core/block_solver.h"
#include "g2o/core/solver.h"
#include "g2o/core/optimization_algorithm_factory.h"
#include "g2o/core/optimization_algorithm_gauss_newton.h"
#include "g2o/core/optimization_algorithm_levenberg.h"
Include dependency graph for solver_dense.cpp:

Go to the source code of this file.

Classes

class  g2o::DenseSolverCreator
 

Namespaces

 g2o
 

Macros

#define DIM_TO_SOLVER(p, l)   BlockSolver< BlockSolverTraits<p, l> >
 
#define ALLOC_DENSE(s, p, l)
 

Functions

static OptimizationAlgorithm * g2o::createSolver (const std::string &fullSolverName)
 
 g2o::G2O_REGISTER_OPTIMIZATION_LIBRARY (dense)
 
 g2o::G2O_REGISTER_OPTIMIZATION_ALGORITHM (gn_dense, new DenseSolverCreator(OptimizationAlgorithmProperty("gn_dense","Gauss-Newton: Dense solver (variable blocksize)","Dense", false, Eigen::Dynamic, Eigen::Dynamic)))
 
 g2o::G2O_REGISTER_OPTIMIZATION_ALGORITHM (gn_dense3_2, new DenseSolverCreator(OptimizationAlgorithmProperty("gn_dense3_2","Gauss-Newton: Dense solver (fixed blocksize)","Dense", true, 3, 2)))
 
 g2o::G2O_REGISTER_OPTIMIZATION_ALGORITHM (gn_dense6_3, new DenseSolverCreator(OptimizationAlgorithmProperty("gn_dense6_3","Gauss-Newton: Dense solver (fixed blocksize)","Dense", true, 6, 3)))
 
 g2o::G2O_REGISTER_OPTIMIZATION_ALGORITHM (gn_dense7_3, new DenseSolverCreator(OptimizationAlgorithmProperty("gn_dense7_3","Gauss-Newton: Dense solver (fixed blocksize)","Dense", true, 7, 3)))
 
 g2o::G2O_REGISTER_OPTIMIZATION_ALGORITHM (lm_dense, new DenseSolverCreator(OptimizationAlgorithmProperty("lm_dense","Levenberg: Dense solver (variable blocksize)","Dense", false,-1,-1)))
 
 g2o::G2O_REGISTER_OPTIMIZATION_ALGORITHM (lm_dense3_2, new DenseSolverCreator(OptimizationAlgorithmProperty("lm_dense3_2","Levenberg: Dense solver (fixed blocksize)","Dense", true, 3, 2)))
 
 g2o::G2O_REGISTER_OPTIMIZATION_ALGORITHM (lm_dense6_3, new DenseSolverCreator(OptimizationAlgorithmProperty("lm_dense6_3","Levenberg: Dense solver (fixed blocksize)","Dense", true, 6, 3)))
 
 g2o::G2O_REGISTER_OPTIMIZATION_ALGORITHM (lm_dense7_3, new DenseSolverCreator(OptimizationAlgorithmProperty("lm_dense7_3","Levenberg: Dense solver (fixed blocksize)","Dense", true, 7, 3)))
 

Macro Definition Documentation

#define ALLOC_DENSE (   s,
  p,
 
)
Value:
if (1) { \
std::cerr << "# Using DENSE poseDim " << p << " landMarkDim " << l << std::endl; \
DIM_TO_SOLVER(p, l)::LinearSolverType* linearSolver = new LinearSolverDense<DIM_TO_SOLVER(p, l)::PoseMatrixType>(); \
s = new DIM_TO_SOLVER(p, l)(linearSolver); \
} else (void)0
#define DIM_TO_SOLVER(p, l)

Definition at line 39 of file solver_dense.cpp.

Referenced by g2o::createSolver().

#define DIM_TO_SOLVER (   p,
 
)    BlockSolver< BlockSolverTraits<p, l> >

Definition at line 37 of file solver_dense.cpp.