44 #ifndef _TREEOPTIMIZER3_HH_ 45 #define _TREEOPTIMIZER3_HH_ 111 double error(
const Edge*
e)
const;
Defines the graph of 3D poses, with specific functionalities such as loading, saving, merging constraints, and etc.
std::vector< double > maxTranslationalErrors
virtual void onIterationFinished(int iteration)
void computePreconditioner()
double loopError(const Edge *e) const
Rotation getRotation(Vertex *v, Vertex *top)
GLM_FUNC_DECL genType e()
A comparator class (struct) that compares the level of two vertices if edges.
double translationalError() const
Class that contains the core optimization algorithm.
Transformation getPose(Vertex *v, Vertex *top)
std::vector< double > maxRotationalErrors
double & operator[](int i)
The class (struct) that contains 2D graph related functions such as loading, saving, merging, etc.
virtual void onRestartBegin()
void propagateErrors(bool usePreconditioner=false)
void recomputeParameters(Vertex *v, Vertex *top)
virtual void onStepFinished(Edge *e)
virtual void onStepStart(Edge *e)
void initializeOnlineIterations()
double loopRotationalError(const Edge *e) const
EVComparator< Edge *>::CompareMode EdgeCompareMode
double error(double *mre=0, double *mte=0, double *are=0, double *ate=0, TreePoseGraph3::EdgeSet *eset=0) const
virtual ~TreeOptimizer3()
void initializeTreeParameters()
virtual void onRestartDone()
virtual void onIterationStart(int i)
void recomputeTransformations(Vertex *v, Vertex *top)
double rotationalError(const Edge *e) const
std::vector< PM_t > PMVector
std::vector< Pose > PoseVector
void initializeOnlineOptimization(EdgeCompareMode mode=EVComparator< Edge *>::CompareLevel)
double getRotGain() const
double angularError() const
void initializeOptimization(EdgeCompareMode mode=EVComparator< Edge *>::CompareLevel)
double traslationalError(const Edge *e) const
void iterate(TreePoseGraph3::EdgeSet *eset=0, bool noPreconditioner=false)
std::multiset< Edge *, EVComparator< Edge *> > EdgeSet