3D edge between two SBAcam More...
#include <types_sba.h>
Public Member Functions | |
void | computeError () |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | EdgeSBACam () |
virtual void | initialEstimate (const OptimizableGraph::VertexSet &from, OptimizableGraph::Vertex *to) |
virtual double | initialEstimatePossible (const OptimizableGraph::VertexSet &, OptimizableGraph::Vertex *) |
virtual bool | read (std::istream &is) |
read the vertex from a stream, i.e., the internal state of the vertex | |
virtual bool | write (std::ostream &os) const |
write the vertex to a stream |
3D edge between two SBAcam
Definition at line 250 of file types_sba.h.
Definition at line 127 of file types_sba.cpp.
void g2o::EdgeSBACam::computeError | ( | ) | [inline, virtual] |
Implements g2o::OptimizableGraph::Edge.
Definition at line 257 of file types_sba.h.
void g2o::EdgeSBACam::initialEstimate | ( | const OptimizableGraph::VertexSet & | from, |
OptimizableGraph::Vertex * | to | ||
) | [virtual] |
set the estimate of the to vertex, based on the estimate of the from vertices in the edge.
Reimplemented from g2o::BaseEdge< D, SE3Quat >.
Definition at line 159 of file types_sba.cpp.
virtual double g2o::EdgeSBACam::initialEstimatePossible | ( | const OptimizableGraph::VertexSet & | from, |
OptimizableGraph::Vertex * | to | ||
) | [inline, virtual] |
override in your class if it's possible to initialize the vertices in certain combinations. The return value may correspond to the cost for initiliaizng the vertex but should be positive if the initialization is possible and negative if not possible.
Reimplemented from g2o::OptimizableGraph::Edge.
Definition at line 270 of file types_sba.h.
bool g2o::EdgeSBACam::read | ( | std::istream & | is | ) | [virtual] |
read the vertex from a stream, i.e., the internal state of the vertex
Implements g2o::OptimizableGraph::Edge.
Definition at line 132 of file types_sba.cpp.
bool g2o::EdgeSBACam::write | ( | std::ostream & | os | ) | const [virtual] |
write the vertex to a stream
Implements g2o::OptimizableGraph::Edge.
Definition at line 148 of file types_sba.cpp.