#include "linear_solver_csparse.h"
#include "g2o/core/block_solver.h"
#include "g2o/core/solver.h"
#include "g2o/core/solver_factory.h"
#include "g2o/core/graph_optimizer_sparse.h"
#include "g2o/stuff/macros.h"
Go to the source code of this file.
Classes | |
class | g2o::CSparseSolverCreator |
Namespaces | |
namespace | g2o |
Executes code, only if secs are gone since last exec. | |
Defines | |
#define | ALLOC_CSPARSE(s, p, l, blockorder) |
#define | DIM_TO_SOLVER(p, l) BlockSolver< BlockSolverTraits<p, l> > |
Functions | |
static Solver * | g2o::createSolver (SparseOptimizer *opt, const std::string &solverName) |
void G2O_ATTRIBUTE_CONSTRUCTOR | g2o::init_solver_csparse () |
#define ALLOC_CSPARSE | ( | s, | |
p, | |||
l, | |||
blockorder | |||
) |
if (1) { \ std::cerr << "# Using CSparse poseDim " << p << " landMarkDim " << l << " blockordering " << blockorder << std::endl; \ LinearSolverCSparse< DIM_TO_SOLVER(p, l)::PoseMatrixType >* linearSolver = new LinearSolverCSparse<DIM_TO_SOLVER(p, l)::PoseMatrixType>(); \ linearSolver->setBlockOrdering(blockorder); \ s = new DIM_TO_SOLVER(p, l)(opt, linearSolver); \ } else (void)0
Definition at line 28 of file solver_csparse.cpp.
#define DIM_TO_SOLVER | ( | p, | |
l | |||
) | BlockSolver< BlockSolverTraits<p, l> > |
Definition at line 26 of file solver_csparse.cpp.