Classes | Public Types | Public Member Functions | Public Attributes
AISNavigation::TreePoseGraph3 Struct Reference

The class (struct) that contains 2D graph related functions such as loading, saving, merging, etc. More...

#include <posegraph3.hh>

Inheritance diagram for AISNavigation::TreePoseGraph3:
Inheritance graph
[legend]

List of all members.

Classes

struct  ParameterPropagator
 A class (struct) to compute the parameterization of the vertex v. More...
struct  TransformationPropagator
 A class (struct) to compute the parameterization of the vertex v. More...

Public Types

typedef Ops::CovarianceType CovarianceMatrix
typedef Ops::InformationType InformationMatrix
typedef Operations3D< double > Ops
typedef Ops::PoseType Pose
typedef Ops::RotationType Rotation
typedef Ops::TransformationType Transformation
typedef Ops::TranslationType Translation

Public Member Functions

virtual void collapseEdge (Edge *e)
virtual void initializeFromParentEdge (Vertex *v)
void initializeOnTree ()
bool load (const char *filename, bool overrideCovariances=false, bool twoDimensions=false)
bool loadEquivalences (const char *filename)
void printDepth (std::ostream &os)
void printEdgesStat (std::ostream &os)
void printWidth (std::ostream &os)
void recomputeAllTransformations ()
virtual void revertEdgeInfo (Edge *e)
bool save (const char *filename)
bool saveGnuplot (const char *filename)

Public Attributes

int verboseLevel

Detailed Description

The class (struct) that contains 2D graph related functions such as loading, saving, merging, etc.

Definition at line 61 of file posegraph3.hh.


Member Typedef Documentation

Definition at line 68 of file posegraph3.hh.

Definition at line 69 of file posegraph3.hh.

Definition at line 62 of file posegraph3.hh.

Reimplemented from AISNavigation::TreePoseGraph< Operations3D< double > >.

Definition at line 64 of file posegraph3.hh.

Reimplemented from AISNavigation::TreePoseGraph< Operations3D< double > >.

Definition at line 65 of file posegraph3.hh.

Reimplemented from AISNavigation::TreePoseGraph< Operations3D< double > >.

Definition at line 67 of file posegraph3.hh.

Reimplemented from AISNavigation::TreePoseGraph< Operations3D< double > >.

Definition at line 66 of file posegraph3.hh.


Member Function Documentation

void AISNavigation::TreePoseGraph3::collapseEdge ( Edge *  e) [virtual]

Function to compress a graph. Needed if, for example, equivalence constraints are used to build a graoh structure with indices without gaps.

Definition at line 305 of file posegraph3.cpp.

Revert edge info. This function needs to be implemented by a subclass

Implements AISNavigation::TreePoseGraph< Operations3D< double > >.

Definition at line 297 of file posegraph3.cpp.

Initializes the parameters based on the topology of the tree and the actual transformation

Definition at line 275 of file posegraph3.cpp.

bool AISNavigation::TreePoseGraph3::load ( const char *  filename,
bool  overrideCovariances = false,
bool  twoDimensions = false 
)

Load a graph from a file ignoring the equivalence constraints

Parameters:
filenamethe graph file
overrideCovariancesignore the covariances from the file, and use identities instead

Definition at line 57 of file posegraph3.cpp.

bool AISNavigation::TreePoseGraph3::loadEquivalences ( const char *  filename)

Load only the equivalence constraints from a graph file (call load before)

Definition at line 151 of file posegraph3.cpp.

void AISNavigation::TreePoseGraph3::printDepth ( std::ostream &  os)

Debug function

Definition at line 248 of file posegraph3.cpp.

void AISNavigation::TreePoseGraph3::printEdgesStat ( std::ostream &  os)

Debug function

Definition at line 281 of file posegraph3.cpp.

void AISNavigation::TreePoseGraph3::printWidth ( std::ostream &  os)

Debug function

Definition at line 253 of file posegraph3.cpp.

Recomputes all the transformations based on the parameters and the tree

Definition at line 399 of file posegraph3.cpp.

void AISNavigation::TreePoseGraph3::revertEdgeInfo ( Edge *  e) [virtual]

Turn around the edge (<i,j> => <j,i>)

Implements AISNavigation::TreePoseGraph< Operations3D< double > >.

Definition at line 291 of file posegraph3.cpp.

bool AISNavigation::TreePoseGraph3::save ( const char *  filename)

Saves the graph in the graph-format

Definition at line 207 of file posegraph3.cpp.

bool AISNavigation::TreePoseGraph3::saveGnuplot ( const char *  filename)

Saved the graph for visualizing it using gnuplot

Definition at line 184 of file posegraph3.cpp.


Member Data Documentation

Specifies the verbose level for debugging

Definition at line 113 of file posegraph3.hh.


The documentation for this struct was generated from the following files:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 21:59:40