Public Types | Public Member Functions | Public Attributes
AISNavigation::TreePoseGraph2 Struct Reference

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

#include <posegraph2.hh>

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

List of all members.

Public Types

typedef Operations2D< double >
::CovarianceType 
CovarianceMatrix
typedef Operations2D< double >
::InformationType 
InformationMatrix
typedef Operations2D< double >
::PoseType 
Pose
typedef Operations2D< double >
::RotationType 
Rotation
typedef Operations2D< double >
::TransformationType 
Transformation
typedef Operations2D< double >
::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 loadEquivalences (const char *filename)
void printDepth (std::ostream &os)
void printEdgesStat (std::ostream &os)
void printWidth (std::ostream &os)
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 57 of file posegraph2.hh.


Member Typedef Documentation

Definition at line 63 of file posegraph2.hh.

Definition at line 64 of file posegraph2.hh.

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

Definition at line 59 of file posegraph2.hh.

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

Definition at line 60 of file posegraph2.hh.

typedef Operations2D<double>::TransformationType AISNavigation::TreePoseGraph2::Transformation

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

Definition at line 62 of file posegraph2.hh.

typedef Operations2D<double>::TranslationType AISNavigation::TreePoseGraph2::Translation

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

Definition at line 61 of file posegraph2.hh.


Member Function Documentation

void AISNavigation::TreePoseGraph2::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 301 of file posegraph2.cpp.

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

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

Definition at line 290 of file posegraph2.cpp.

Definition at line 239 of file posegraph2.cpp.

bool AISNavigation::TreePoseGraph2::load ( const char *  filename,
bool  overrideCovariances = 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 60 of file posegraph2.cpp.

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

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

Definition at line 107 of file posegraph2.cpp.

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

Debug function

Definition at line 205 of file posegraph2.cpp.

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

Debug function

Definition at line 245 of file posegraph2.cpp.

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

Debug function

Definition at line 210 of file posegraph2.cpp.

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

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

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

Definition at line 261 of file posegraph2.cpp.

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

Saves the graph in the graph-format

Definition at line 167 of file posegraph2.cpp.

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

Saved the graph for visualizing it using gnuplot

Definition at line 149 of file posegraph2.cpp.


Member Data Documentation

Specifies the verbose level for debugging

Definition at line 103 of file posegraph2.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:39