edge between two SBAcam that specifies the distance between them More...
#include <types_sba.h>
Public Member Functions | |
void | computeError () |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | EdgeSBAScale () |
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 |
edge between two SBAcam that specifies the distance between them
Definition at line 278 of file types_sba.h.
Definition at line 523 of file types_sba.cpp.
void g2o::EdgeSBAScale::computeError | ( | ) | [inline, virtual] |
Implements g2o::OptimizableGraph::Edge.
Definition at line 285 of file types_sba.h.
void g2o::EdgeSBAScale::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, double >.
Definition at line 543 of file types_sba.cpp.
virtual double g2o::EdgeSBAScale::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 292 of file types_sba.h.
bool g2o::EdgeSBAScale::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 528 of file types_sba.cpp.
bool g2o::EdgeSBAScale::write | ( | std::ostream & | os | ) | const [virtual] |
write the vertex to a stream
Implements g2o::OptimizableGraph::Edge.
Definition at line 537 of file types_sba.cpp.