43 #ifndef _POSEGRAPH3_HH_ 44 #define _POSEGRAPH3_HH_ 53 #define M_PI 3.14159265359 76 bool load(
const char* filename,
bool overrideCovariances=
false,
bool twoDimensions=
false);
82 bool save(
const char* filename);
119 inline void perform(TreePoseGraph3::Vertex* v){
124 v->parameters=v->parent->transformation.inv()*v->transformation;
130 inline void perform(TreePoseGraph3::Vertex* v){
134 v->transformation=v->parent->transformation*v->parameters;
void recomputeAllTransformations()
Ops::InformationType InformationMatrix
void printDepth(std::ostream &os)
void perform(TreePoseGraph3::Vertex *v)
GLM_FUNC_DECL genType e()
Ops::TranslationType Translation
The class (struct) that contains 2D graph related functions such as loading, saving, merging, etc.
Ops::RotationType Rotation
bool save(const char *filename)
bool loadEquivalences(const char *filename)
virtual void initializeFromParentEdge(Vertex *v)
bool saveGnuplot(const char *filename)
Operations3D< double > Ops
Ops::CovarianceType CovarianceMatrix
virtual void revertEdgeInfo(Edge *e)
The template class for representing an abstract tree without specifing the dimensionality of the exac...
virtual void collapseEdge(Edge *e)
A class (struct) to compute the parameterization of the vertex v.
void printWidth(std::ostream &os)
The template class for the node parameters. The graph of poses with support to tree construction func...
Ops::TransformationType Transformation
void printEdgesStat(std::ostream &os)
bool load(const char *filename, bool overrideCovariances=false, bool twoDimensions=false)