Classes | Namespaces | Defines | Functions
solver_pcg.cpp File Reference
#include "linear_solver_pcg.h"
#include "g2o/core/block_solver.h"
#include "g2o/core/solver.h"
#include "g2o/core/solver_factory.h"
Include dependency graph for solver_pcg.cpp:

Go to the source code of this file.

Classes

class  g2o::PCGSolverCreator

Namespaces

namespace  g2o
 

Executes code, only if secs are gone since last exec.


Defines

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

Functions

void g2o::__attribute__ ((constructor)) init_solver_cholmod()
static Solver * g2o::createSolver (SparseOptimizer *opt, const std::string &solverName)

Define Documentation

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

Definition at line 25 of file solver_pcg.cpp.

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

Definition at line 23 of file solver_pcg.cpp.



re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:33:47