#include <mrpt/slam/CMetricMap.h>
Public Types | |
typedef std::deque < TMatchingPair >::iterator | iterator |
typedef std::deque < TMatchingPair > ::const_iterator | const_iterator |
Public Member Functions | |
TMatchingPairList () | |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
void | clear () |
size_t | size () const |
void | resize (const size_t &i) |
void | push_back (const TMatchingPair &d) |
iterator | erase (const iterator &i) |
TMatchingPair & | operator[] (const size_t &i) |
const TMatchingPair & | operator[] (const size_t &i) const |
bool | indexOtherMapHasCorrespondence (unsigned int idx) |
Checks if the given index from the "other" map appears in the list. | |
void | dumpToFile (const char *fileName) |
Saves the correspondences to a text file. | |
void | saveAsMATLABScript (const std::string &filName) |
Saves the correspondences as a MATLAB script which draws them. | |
float | overallSquareError (const CPose2D &q) const |
Computes the overall square error between the 2D points in the list of correspondences, given the 2D transformation "q"
Where | |
float | overallSquareErrorAndPoints (const CPose2D &q, vector_float &xs, vector_float &ys) const |
Computes the overall square error between the 2D points in the list of correspondences, given the 2D transformation "q", and return the transformed points as well. | |
void | squareErrorVector (const CPose2D &q, vector_float &out_sqErrs) const |
Returns a vector with the square error between each pair of correspondences in the list, given the 2D transformation "q" Each element ![]()
| |
void | squareErrorVector (const CPose2D &q, vector_float &out_sqErrs, vector_float &xs, vector_float &ys) const |
Returns a vector with the square error between each pair of correspondences in the list and the transformed "other" (local) points, given the 2D transformation "q" Each element ![]()
| |
Protected Attributes | |
std::deque< TMatchingPair > | m_matchs |
Definition at line 204 of file CMetricMap.h.
typedef std::deque<TMatchingPair>::const_iterator mrpt::slam::CMetricMap::TMatchingPairList::const_iterator |
Definition at line 213 of file CMetricMap.h.
typedef std::deque<TMatchingPair>::iterator mrpt::slam::CMetricMap::TMatchingPairList::iterator |
Definition at line 212 of file CMetricMap.h.
mrpt::slam::CMetricMap::TMatchingPairList::TMatchingPairList | ( | ) | [inline] |
Definition at line 210 of file CMetricMap.h.
const_iterator mrpt::slam::CMetricMap::TMatchingPairList::begin | ( | ) | const [inline] |
Definition at line 216 of file CMetricMap.h.
iterator mrpt::slam::CMetricMap::TMatchingPairList::begin | ( | ) | [inline] |
Definition at line 215 of file CMetricMap.h.
void mrpt::slam::CMetricMap::TMatchingPairList::clear | ( | void | ) | [inline] |
Definition at line 221 of file CMetricMap.h.
void mrpt::slam::CMetricMap::TMatchingPairList::dumpToFile | ( | const char * | fileName | ) |
Saves the correspondences to a text file.
const_iterator mrpt::slam::CMetricMap::TMatchingPairList::end | ( | ) | const [inline] |
Definition at line 219 of file CMetricMap.h.
iterator mrpt::slam::CMetricMap::TMatchingPairList::end | ( | ) | [inline] |
Definition at line 218 of file CMetricMap.h.
Definition at line 229 of file CMetricMap.h.
bool mrpt::slam::CMetricMap::TMatchingPairList::indexOtherMapHasCorrespondence | ( | unsigned int | idx | ) |
Checks if the given index from the "other" map appears in the list.
const TMatchingPair& mrpt::slam::CMetricMap::TMatchingPairList::operator[] | ( | const size_t & | i | ) | const [inline] |
Definition at line 233 of file CMetricMap.h.
TMatchingPair& mrpt::slam::CMetricMap::TMatchingPairList::operator[] | ( | const size_t & | i | ) | [inline] |
Definition at line 232 of file CMetricMap.h.
float mrpt::slam::CMetricMap::TMatchingPairList::overallSquareError | ( | const CPose2D & | q | ) | const |
Computes the overall square error between the 2D points in the list of correspondences, given the 2D transformation "q"
Where are the elements of the square error vector as computed by computeSquareErrorVector.
float mrpt::slam::CMetricMap::TMatchingPairList::overallSquareErrorAndPoints | ( | const CPose2D & | q, | |
vector_float & | xs, | |||
vector_float & | ys | |||
) | const |
Computes the overall square error between the 2D points in the list of correspondences, given the 2D transformation "q", and return the transformed points as well.
Where are the elements of the square error vector as computed by computeSquareErrorVector
void mrpt::slam::CMetricMap::TMatchingPairList::push_back | ( | const TMatchingPair & | d | ) | [inline] |
Definition at line 227 of file CMetricMap.h.
void mrpt::slam::CMetricMap::TMatchingPairList::resize | ( | const size_t & | i | ) | [inline] |
Definition at line 225 of file CMetricMap.h.
void mrpt::slam::CMetricMap::TMatchingPairList::saveAsMATLABScript | ( | const std::string & | filName | ) |
Saves the correspondences as a MATLAB script which draws them.
size_t mrpt::slam::CMetricMap::TMatchingPairList::size | ( | ) | const [inline] |
Definition at line 223 of file CMetricMap.h.
void mrpt::slam::CMetricMap::TMatchingPairList::squareErrorVector | ( | const CPose2D & | q, | |
vector_float & | out_sqErrs, | |||
vector_float & | xs, | |||
vector_float & | ys | |||
) | const |
Returns a vector with the square error between each pair of correspondences in the list and the transformed "other" (local) points, given the 2D transformation "q" Each element is the square distance between the "this" (global) point and the "other" (local) point transformed through "q":
.
void mrpt::slam::CMetricMap::TMatchingPairList::squareErrorVector | ( | const CPose2D & | q, | |
vector_float & | out_sqErrs | |||
) | const |
Returns a vector with the square error between each pair of correspondences in the list, given the 2D transformation "q" Each element is the square distance between the "this" (global) point and the "other" (local) point transformed through "q":
.
std::deque<TMatchingPair> mrpt::slam::CMetricMap::TMatchingPairList::m_matchs [protected] |
Definition at line 207 of file CMetricMap.h.
Page generated by Doxygen 1.5.7.1 for MRPT 0.6.5 SVN: at Mon Feb 23 13:24:51 EST 2009 |