33 #ifdef G2O_HAVE_OPENGL 35 #include <OpenGL/gl.h> 50 for (
size_t i = 0; i < 4 ; i++)
52 for (
size_t i = 0; i < 4 ; i++)
53 for (
size_t j = i; j < 4 ; j++) {
62 for (
size_t i = 0; i < 4 ; i++)
64 for (
size_t i = 0; i < 4 ; i++)
65 for (
size_t j = i; j < 4 ; j++) {
73 assert(from.size() == 1 && from.count(
_vertices[0]) == 1 &&
"Can not initialize VertexSE2 position by VertexSegment2D. I could if i wanted. Not now");
77 if (from.count(vi) > 0 && to == vj) {
G2O_TYPES_SLAM2D_ADDONS_API EIGEN_MAKE_ALIGNED_OPERATOR_NEW G2O_TYPES_SLAM2D_ADDONS_API EdgeSE2Segment2D()
Eigen::Matrix< double, 4, 1, Eigen::ColMajor > Vector4D
std::set< Vertex * > VertexSet
InformationType _information
2D pose Vertex, (x,y,theta)
void setEstimateP2(const Vector2D &p2)
virtual G2O_TYPES_SLAM2D_ADDONS_API bool write(std::ostream &os) const
write the vertex to a stream
void setEstimateP1(const Vector2D &p1)
G2O_TYPES_SLAM2D_ADDONS_API Vector2D measurementP1()
A general case Vertex for optimization.
G2O_TYPES_SLAM2D_ADDONS_API Vector2D measurementP2()
virtual G2O_TYPES_SLAM2D_ADDONS_API bool read(std::istream &is)
read the vertex from a stream, i.e., the internal state of the vertex
virtual G2O_TYPES_SLAM2D_ADDONS_API void initialEstimate(const OptimizableGraph::VertexSet &from, OptimizableGraph::Vertex *to)
VertexContainer _vertices