g2o
|
string ellipse to be attached to a vertex More...
#include <vertex_ellipse.h>
Public Types | |
typedef std::vector< Vector2F, Eigen::aligned_allocator< Vector2F > > | myVector2fVector |
Public Member Functions | |
VertexEllipse () | |
~VertexEllipse () | |
virtual bool | write (std::ostream &os) const |
write the data to a stream More... | |
virtual bool | read (std::istream &is) |
read the data from a stream More... | |
const Matrix3F & | covariance () |
void | setCovariance (Matrix3F &c) |
const Matrix2F & | U () |
const Vector2F & | singularValues () |
const myVector2fVector & | matchingVertices () |
void | addMatchingVertex (float x, float y) |
void | clearMatchingVertices () |
const std::vector< int > & | matchingVerticesIDs () |
void | addMatchingVertexID (int id) |
void | clearMatchingVerticesIDs () |
Public Member Functions inherited from g2o::RobotData | |
RobotData () | |
virtual | ~RobotData () |
double | timestamp () const |
void | setTimestamp (double ts) |
double | loggerTimestamp () const |
void | setLoggerTimestamp (double ts) |
const std::string & | tag () const |
void | setTag (const std::string &tag) |
const std::string & | hostname () const |
void | setHostname (const std::string &hostname) |
Public Member Functions inherited from g2o::HyperGraph::Data | |
Data () | |
~Data () | |
virtual HyperGraph::HyperGraphElementType | elementType () const |
const Data * | next () const |
Data * | next () |
void | setNext (Data *next_) |
DataContainer * | dataContainer () |
const DataContainer * | dataContainer () const |
void | setDataContainer (DataContainer *dataContainer_) |
Public Member Functions inherited from g2o::HyperGraph::HyperGraphElement | |
virtual | ~HyperGraphElement () |
HyperGraphElement * | clone () const |
Public Attributes | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | |
Protected Member Functions | |
void | _updateSVD () const |
Protected Attributes | |
Matrix3F | _covariance |
Matrix2F | _UMatrix |
Vector2F | _singularValues |
std::vector< int > | _matchingVerticesIDs |
myVector2fVector | _matchingVertices |
Protected Attributes inherited from g2o::RobotData | |
double | _timestamp |
timestamp when the measurement was generated More... | |
double | _loggerTimestamp |
timestamp when the measurement was recorded More... | |
std::string | _tag |
string tag (FLASER, ROBOTLASER, ODOM..) of the line in the log More... | |
std::string | _hostname |
name of the computer/robot generating the data More... | |
Protected Attributes inherited from g2o::HyperGraph::Data | |
Data * | _next |
DataContainer * | _dataContainer |
string ellipse to be attached to a vertex
Definition at line 39 of file vertex_ellipse.h.
typedef std::vector<Vector2F, Eigen::aligned_allocator<Vector2F> > g2o::VertexEllipse::myVector2fVector |
Definition at line 42 of file vertex_ellipse.h.
g2o::VertexEllipse::VertexEllipse | ( | ) |
Definition at line 45 of file vertex_ellipse.cpp.
References _covariance, _singularValues, and _UMatrix.
g2o::VertexEllipse::~VertexEllipse | ( | ) |
Definition at line 52 of file vertex_ellipse.cpp.
|
protected |
Definition at line 56 of file vertex_ellipse.cpp.
References _covariance, _singularValues, and _UMatrix.
Referenced by read().
|
inline |
Definition at line 57 of file vertex_ellipse.h.
Referenced by read().
|
inline |
Definition at line 65 of file vertex_ellipse.h.
|
inline |
Definition at line 62 of file vertex_ellipse.h.
|
inline |
Definition at line 68 of file vertex_ellipse.h.
|
inline |
|
inline |
Definition at line 56 of file vertex_ellipse.h.
Referenced by write().
|
inline |
Definition at line 64 of file vertex_ellipse.h.
|
virtual |
read the data from a stream
Implements g2o::HyperGraph::Data.
Definition at line 63 of file vertex_ellipse.cpp.
References _covariance, _updateSVD(), and addMatchingVertex().
|
inline |
Definition at line 52 of file vertex_ellipse.h.
|
inline |
|
inline |
|
virtual |
write the data to a stream
Implements g2o::HyperGraph::Data.
Definition at line 90 of file vertex_ellipse.cpp.
References _covariance, _matchingVertices, covariance(), M_PI, matchingVertices(), g2o::DrawAction::refreshPropertyPtrs(), singularValues(), and U().
|
protected |
Definition at line 72 of file vertex_ellipse.h.
Referenced by _updateSVD(), read(), VertexEllipse(), and write().
|
protected |
Definition at line 76 of file vertex_ellipse.h.
Referenced by write().
|
protected |
Definition at line 75 of file vertex_ellipse.h.
|
mutableprotected |
Definition at line 74 of file vertex_ellipse.h.
Referenced by _updateSVD(), and VertexEllipse().
|
mutableprotected |
Definition at line 73 of file vertex_ellipse.h.
Referenced by _updateSVD(), and VertexEllipse().
g2o::VertexEllipse::EIGEN_MAKE_ALIGNED_OPERATOR_NEW |
Definition at line 44 of file vertex_ellipse.h.