|
g2o
|
#include <optimizable_graph.h>


Public Member Functions | |
| Edge () | |
| virtual | ~Edge () |
| virtual bool | allVerticesFixed () const =0 |
| virtual void | computeError ()=0 |
| virtual bool | setMeasurementData (const double *m) |
| virtual bool | getMeasurementData (double *m) const |
| virtual int | measurementDimension () const |
| virtual bool | setMeasurementFromState () |
| RobustKernel * | robustKernel () const |
| if NOT NULL, error of this edge will be robustifed with the kernel | |
| void | setRobustKernel (RobustKernel *ptr) |
| virtual const double * | errorData () const =0 |
| returns the error vector cached after calling the computeError; | |
| virtual double * | errorData ()=0 |
| virtual const double * | informationData () const =0 |
| virtual double * | informationData ()=0 |
| virtual double | chi2 () const =0 |
| virtual void | constructQuadraticForm ()=0 |
| virtual void | mapHessianMemory (double *d, int i, int j, bool rowMajor)=0 |
| virtual void | linearizeOplus (JacobianWorkspace &jacobianWorkspace)=0 |
| virtual void | initialEstimate (const OptimizableGraph::VertexSet &from, OptimizableGraph::Vertex *to)=0 |
| virtual double | initialEstimatePossible (const OptimizableGraph::VertexSet &from, OptimizableGraph::Vertex *to) |
| int | level () const |
| returns the level of the edge | |
| void | setLevel (int l) |
| sets the level of the edge | |
| int | dimension () const |
| returns the dimensions of the error function | |
| G2O_ATTRIBUTE_DEPRECATED (virtual Vertex *createFrom()) | |
| G2O_ATTRIBUTE_DEPRECATED (virtual Vertex *createTo()) | |
| virtual Vertex * | createVertex (int) |
| virtual bool | read (std::istream &is)=0 |
| read the vertex from a stream, i.e., the internal state of the vertex | |
| virtual bool | write (std::ostream &os) const =0 |
| write the vertex to a stream | |
| long long | internalId () const |
| the internal ID of the edge | |
| OptimizableGraph * | graph () |
| const OptimizableGraph * | graph () const |
| bool | setParameterId (int argNum, int paramId) |
| const Parameter * | parameter (int argNo) const |
| size_t | numParameters () const |
| void | resizeParameters (size_t newSize) |
Public Member Functions inherited from g2o::HyperGraph::Edge | |
| Edge (int id=InvalidId) | |
| creates and empty edge with no vertices | |
| virtual void | resize (size_t size) |
| const VertexContainer & | vertices () const |
| VertexContainer & | vertices () |
| const Vertex * | vertex (size_t i) const |
| Vertex * | vertex (size_t i) |
| void | setVertex (size_t i, Vertex *v) |
| int | id () const |
| void | setId (int id) |
| virtual HyperGraphElementType | elementType () const |
| int | numUndefinedVertices () const |
Public Member Functions inherited from g2o::HyperGraph::HyperGraphElement | |
| virtual | ~HyperGraphElement () |
Public Member Functions inherited from g2o::HyperGraph::DataContainer | |
| DataContainer () | |
| virtual | ~DataContainer () |
| const Data * | userData () const |
| the user data associated with this vertex | |
| Data * | userData () |
| void | setUserData (Data *obs) |
| void | addUserData (Data *obs) |
Protected Member Functions | |
| template<typename ParameterType > | |
| bool | installParameter (ParameterType *&p, size_t argNo, int paramId=-1) |
| template<typename CacheType > | |
| void | resolveCache (CacheType *&cache, OptimizableGraph::Vertex *, const std::string &_type, const ParameterVector ¶meters) |
| bool | resolveParameters () |
| virtual bool | resolveCaches () |
Protected Attributes | |
| int | _dimension |
| int | _level |
| RobustKernel * | _robustKernel |
| long long | _internalId |
| std::vector< int > | _cacheIds |
| std::vector< std::string > | _parameterTypes |
| std::vector< Parameter ** > | _parameters |
| std::vector< int > | _parameterIds |
Protected Attributes inherited from g2o::HyperGraph::Edge | |
| VertexContainer | _vertices |
| int | _id |
| unique id | |
Protected Attributes inherited from g2o::HyperGraph::DataContainer | |
| Data * | _userData |
Friends | |
| struct | OptimizableGraph |
Definition at line 416 of file optimizable_graph.h.
| g2o::OptimizableGraph::Edge::Edge | ( | ) |
Definition at line 105 of file optimizable_graph.cpp.
|
virtual |
Reimplemented from g2o::HyperGraph::Edge.
Definition at line 108 of file optimizable_graph.cpp.
References g2o::release().
|
pure virtual |
Implemented in g2o::BaseFixedSizedEdge< D, E, VertexTypes >, g2o::BaseFixedSizedEdge< 2, Vector2, VertexPointXYZ, VertexSE3Expmap, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< 3, SE2, VertexSE2, VertexSE2, VertexSE2 >, g2o::BaseFixedSizedEdge< 3, VelocityMeasurement, VertexSE2, VertexSE2, VertexOdomDifferentialParams >, g2o::BaseFixedSizedEdge< D, double, PolynomialCoefficientVertex >, g2o::BaseFixedSizedEdge< D, double, VertexCam, VertexCam >, g2o::BaseFixedSizedEdge< D, double, VertexLine2D, VertexPointXY >, g2o::BaseFixedSizedEdge< D, double, VertexSE2, VertexPointXY >, g2o::BaseFixedSizedEdge< D, E, VertexXi >, g2o::BaseFixedSizedEdge< D, E, VertexXi, VertexXj >, g2o::BaseFixedSizedEdge< D, EdgeGICP, VertexSE3, VertexSE3 >, g2o::BaseFixedSizedEdge< D, Eigen::Vector2d, VertexCircle >, g2o::BaseFixedSizedEdge< D, Eigen::Vector2d, VertexParams >, g2o::BaseFixedSizedEdge< D, Eigen::Vector2d, VertexSE2, VertexPointXY >, g2o::BaseFixedSizedEdge< D, Eigen::Vector3d, VertexPosition3D >, g2o::BaseFixedSizedEdge< D, Eigen::Vector3d, VertexPositionVelocity3D >, g2o::BaseFixedSizedEdge< D, Eigen::Vector3d, VertexPositionVelocity3D, VertexPositionVelocity3D >, g2o::BaseFixedSizedEdge< D, Eigen::VectorXd, FPolynomialCoefficientVertex, PPolynomialCoefficientVertex >, g2o::BaseFixedSizedEdge< D, g2o::Vector2, VertexCameraBAL, VertexPointBAL >, g2o::BaseFixedSizedEdge< D, Isometry3, VertexSE3 >, g2o::BaseFixedSizedEdge< D, Isometry3, VertexSE3, VertexSE3 >, g2o::BaseFixedSizedEdge< D, Line2D, VertexLine2D, VertexLine2D >, g2o::BaseFixedSizedEdge< D, Line2D, VertexSE2, VertexLine2D >, g2o::BaseFixedSizedEdge< D, Line3D, VertexSE3, VertexLine3D >, g2o::BaseFixedSizedEdge< D, OdomAndLaserMotion, VertexSE2, VertexBaseline >, g2o::BaseFixedSizedEdge< D, OdomAndLaserMotion, VertexSE2, VertexOdomDifferentialParams >, g2o::BaseFixedSizedEdge< D, SE2, VertexSE2 >, g2o::BaseFixedSizedEdge< D, SE2, VertexSE2, VertexSE2 >, g2o::BaseFixedSizedEdge< D, SE3Quat, VertexCam, VertexCam >, g2o::BaseFixedSizedEdge< D, SE3Quat, VertexSE3Expmap, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Sim3, VertexSim3Expmap, VertexSim3Expmap >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXY >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXY, VertexPointXY >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXYZ, VertexCam >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXYZ, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXYZ, VertexSim3Expmap >, g2o::BaseFixedSizedEdge< D, Vector2, VertexSE2 >, g2o::BaseFixedSizedEdge< D, Vector2, VertexSE2, VertexPointXY >, g2o::BaseFixedSizedEdge< D, Vector2, VertexSE2, VertexSegment2D >, g2o::BaseFixedSizedEdge< D, Vector2, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ, VertexCam >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ, VertexPointXYZ >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ, VertexSCam >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Vector3, VertexSE2, VertexSegment2D >, g2o::BaseFixedSizedEdge< D, Vector3, VertexSE3 >, g2o::BaseFixedSizedEdge< D, Vector3, VertexSE3, VertexPointXYZ >, g2o::BaseFixedSizedEdge< D, Vector3, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Vector4, VertexPlane, VertexPlane >, g2o::BaseFixedSizedEdge< D, Vector4, VertexSE2, VertexSegment2D >, g2o::BaseVariableSizedEdge< D, E >, g2o::BaseVariableSizedEdge< 2, Vector2 >, g2o::BaseVariableSizedEdge< 3, Plane3D >, g2o::BaseVariableSizedEdge< 4, Vector4 >, g2o::BaseVariableSizedEdge< 6, Isometry3 >, and g2o::BaseVariableSizedEdge<-1, VectorX >.
Referenced by g2o::SparseOptimizer::initializeOptimization(), and g2o::SparseOptimizer::updateInitialization().
|
pure virtual |
computes the chi2 based on the cached error value, only valid after computeError has been called.
Implemented in g2o::BaseEdge< D, E >, g2o::BaseEdge< D, double >, g2o::BaseEdge< D, EdgeGICP >, g2o::BaseEdge< D, Eigen::Vector2d >, g2o::BaseEdge< D, Eigen::Vector3d >, g2o::BaseEdge< D, Eigen::VectorXd >, g2o::BaseEdge< D, g2o::Vector2 >, g2o::BaseEdge< D, Isometry3 >, g2o::BaseEdge< D, Line2D >, g2o::BaseEdge< D, Line3D >, g2o::BaseEdge< D, OdomAndLaserMotion >, g2o::BaseEdge< D, Plane3D >, g2o::BaseEdge< D, SE2 >, g2o::BaseEdge< D, SE3Quat >, g2o::BaseEdge< D, Sim3 >, g2o::BaseEdge< D, Vector2 >, g2o::BaseEdge< D, Vector3 >, g2o::BaseEdge< D, Vector4 >, g2o::BaseEdge< D, VectorX >, g2o::BaseEdge< D, VelocityMeasurement >, g2o::OnlineEdgeSE2, and g2o::OnlineEdgeSE3.
Referenced by g2o::SparseOptimizer::activeChi2(), g2o::SparseOptimizer::activeRobustChi2(), g2o::activeVertexChi(), g2o::StructureOnlySolver< PointDoF >::calc(), g2o::OptimizableGraph::chi2(), gnudump_edges(), gnudump_features(), main(), and InvChi2CostFunction::operator()().
|
pure virtual |
Implemented in g2o::EdgeSE2PureCalib, EdgeCalib, PolynomialSingleValueEdge, MultipleValueEdge, GPSObservationPosition3DEdge, TargetOdometry3DEdge, GPSObservationEdgePositionVelocity3D, g2o::tutorial::EdgeSE2, g2o::tutorial::EdgeSE2PointXY, g2o::Edge_V_V_GICP, g2o::Edge_XYZ_VSC, g2o::EdgeProjectP2MC, g2o::EdgeProjectP2SC, g2o::EdgeProjectPSI2UV, g2o::EdgeStereoSE3ProjectXYZ, g2o::EdgeStereoSE3ProjectXYZOnlyPose, g2o::EdgeSE3ProjectXYZ, g2o::EdgeProjectXYZ2UV, g2o::EdgeProjectXYZ2UVU, g2o::EdgeSE3ProjectXYZOnlyPose, g2o::EdgeSBACam, g2o::EdgeSBAScale, g2o::EdgeSE3Expmap, g2o::EdgeSE2OdomDifferentialCalib, g2o::EdgeSE2SensorCalib, g2o::EdgeSim3, g2o::EdgeSim3ProjectXYZ, g2o::EdgeInverseSim3ProjectXYZ, g2o::EdgePointXY, g2o::EdgeSE2, g2o::EdgeSE2LotsOfXY, g2o::EdgeSE2Offset, g2o::EdgeSE2PointXY, g2o::EdgeSE2PointXYBearing, g2o::EdgeSE2PointXYCalib, g2o::EdgeSE2PointXYOffset, g2o::EdgeSE2Prior, g2o::EdgeSE2TwoPointsXY, g2o::EdgeSE2XYPrior, g2o::EdgeXYPrior, g2o::EdgeLine2D, g2o::EdgeLine2DPointXY, g2o::EdgeSE2Line2D, g2o::EdgeSE2Segment2D, g2o::EdgeSE2Segment2DLine, g2o::EdgeSE2Segment2DPointLine, g2o::EdgePointXYZ, g2o::EdgeSE3, g2o::EdgeSE3LotsOfXYZ, g2o::EdgeSE3Offset, g2o::EdgeSE3PointXYZ, g2o::EdgeSE3PointXYZDepth, g2o::EdgeSE3PointXYZDisparity, g2o::EdgeSE3Prior, g2o::EdgeSE3XYZPrior, g2o::EdgeXYZPrior, g2o::EdgePlane, g2o::EdgeSE3Calib, g2o::EdgeSE3Line3D, and g2o::EdgeSE3PlaneSensorCalib.
Referenced by g2o::StructureOnlySolver< PointDoF >::calc(), g2o::SparseOptimizer::computeActiveErrors(), gnudump_edges(), gnudump_features(), g2o::EdgeLabeler::labelEdge(), main(), InvChi2CostFunction::operator()(), g2o::SparseOptimizerOnline::optimize(), and g2o::SparseOptimizerIncremental::updateInitialization().
|
pure virtual |
Linearizes the constraint in the edge. Makes side effect on the vertices of the graph by changing the parameter vector b and the hessian blocks ii and jj. The off diagoinal block is accessed via _hessian.
Implemented in g2o::BaseFixedSizedEdge< D, E, VertexTypes >, g2o::BaseFixedSizedEdge< 2, Vector2, VertexPointXYZ, VertexSE3Expmap, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< 3, SE2, VertexSE2, VertexSE2, VertexSE2 >, g2o::BaseFixedSizedEdge< 3, VelocityMeasurement, VertexSE2, VertexSE2, VertexOdomDifferentialParams >, g2o::BaseFixedSizedEdge< D, double, PolynomialCoefficientVertex >, g2o::BaseFixedSizedEdge< D, double, VertexCam, VertexCam >, g2o::BaseFixedSizedEdge< D, double, VertexLine2D, VertexPointXY >, g2o::BaseFixedSizedEdge< D, double, VertexSE2, VertexPointXY >, g2o::BaseFixedSizedEdge< D, E, VertexXi >, g2o::BaseFixedSizedEdge< D, E, VertexXi, VertexXj >, g2o::BaseFixedSizedEdge< D, EdgeGICP, VertexSE3, VertexSE3 >, g2o::BaseFixedSizedEdge< D, Eigen::Vector2d, VertexCircle >, g2o::BaseFixedSizedEdge< D, Eigen::Vector2d, VertexParams >, g2o::BaseFixedSizedEdge< D, Eigen::Vector2d, VertexSE2, VertexPointXY >, g2o::BaseFixedSizedEdge< D, Eigen::Vector3d, VertexPosition3D >, g2o::BaseFixedSizedEdge< D, Eigen::Vector3d, VertexPositionVelocity3D >, g2o::BaseFixedSizedEdge< D, Eigen::Vector3d, VertexPositionVelocity3D, VertexPositionVelocity3D >, g2o::BaseFixedSizedEdge< D, Eigen::VectorXd, FPolynomialCoefficientVertex, PPolynomialCoefficientVertex >, g2o::BaseFixedSizedEdge< D, g2o::Vector2, VertexCameraBAL, VertexPointBAL >, g2o::BaseFixedSizedEdge< D, Isometry3, VertexSE3 >, g2o::BaseFixedSizedEdge< D, Isometry3, VertexSE3, VertexSE3 >, g2o::BaseFixedSizedEdge< D, Line2D, VertexLine2D, VertexLine2D >, g2o::BaseFixedSizedEdge< D, Line2D, VertexSE2, VertexLine2D >, g2o::BaseFixedSizedEdge< D, Line3D, VertexSE3, VertexLine3D >, g2o::BaseFixedSizedEdge< D, OdomAndLaserMotion, VertexSE2, VertexBaseline >, g2o::BaseFixedSizedEdge< D, OdomAndLaserMotion, VertexSE2, VertexOdomDifferentialParams >, g2o::BaseFixedSizedEdge< D, SE2, VertexSE2 >, g2o::BaseFixedSizedEdge< D, SE2, VertexSE2, VertexSE2 >, g2o::BaseFixedSizedEdge< D, SE3Quat, VertexCam, VertexCam >, g2o::BaseFixedSizedEdge< D, SE3Quat, VertexSE3Expmap, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Sim3, VertexSim3Expmap, VertexSim3Expmap >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXY >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXY, VertexPointXY >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXYZ, VertexCam >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXYZ, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXYZ, VertexSim3Expmap >, g2o::BaseFixedSizedEdge< D, Vector2, VertexSE2 >, g2o::BaseFixedSizedEdge< D, Vector2, VertexSE2, VertexPointXY >, g2o::BaseFixedSizedEdge< D, Vector2, VertexSE2, VertexSegment2D >, g2o::BaseFixedSizedEdge< D, Vector2, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ, VertexCam >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ, VertexPointXYZ >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ, VertexSCam >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Vector3, VertexSE2, VertexSegment2D >, g2o::BaseFixedSizedEdge< D, Vector3, VertexSE3 >, g2o::BaseFixedSizedEdge< D, Vector3, VertexSE3, VertexPointXYZ >, g2o::BaseFixedSizedEdge< D, Vector3, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Vector4, VertexPlane, VertexPlane >, g2o::BaseFixedSizedEdge< D, Vector4, VertexSE2, VertexSegment2D >, g2o::BaseVariableSizedEdge< D, E >, g2o::BaseVariableSizedEdge< 2, Vector2 >, g2o::BaseVariableSizedEdge< 3, Plane3D >, g2o::BaseVariableSizedEdge< 4, Vector4 >, g2o::BaseVariableSizedEdge< 6, Isometry3 >, and g2o::BaseVariableSizedEdge<-1, VectorX >.
Referenced by g2o::BlockSolver< Traits >::buildSystem(), g2o::StructureOnlySolver< PointDoF >::calc(), g2o::SparseOptimizerOnline::optimize(), and g2o::SparseOptimizerIncremental::updateInitialization().
|
inlinevirtual |
Definition at line 522 of file optimizable_graph.h.
|
inline |
returns the dimensions of the error function
Definition at line 518 of file optimizable_graph.h.
Referenced by g2o::BlockSolver< Traits >::buildSystem(), g2o::SparseOptimizer::computeActiveErrors(), g2o::SparseOptimizer::gaugeFreedom(), g2o::EdgeLabeler::labelEdge(), g2o::JacobianWorkspace::updateSize(), and g2o::OptimizableGraph::verifyInformationMatrices().
|
pure virtual |
returns the error vector cached after calling the computeError;
Implemented in g2o::BaseEdge< D, E >, g2o::BaseEdge< D, double >, g2o::BaseEdge< D, EdgeGICP >, g2o::BaseEdge< D, Eigen::Vector2d >, g2o::BaseEdge< D, Eigen::Vector3d >, g2o::BaseEdge< D, Eigen::VectorXd >, g2o::BaseEdge< D, g2o::Vector2 >, g2o::BaseEdge< D, Isometry3 >, g2o::BaseEdge< D, Line2D >, g2o::BaseEdge< D, Line3D >, g2o::BaseEdge< D, OdomAndLaserMotion >, g2o::BaseEdge< D, Plane3D >, g2o::BaseEdge< D, SE2 >, g2o::BaseEdge< D, SE3Quat >, g2o::BaseEdge< D, Sim3 >, g2o::BaseEdge< D, Vector2 >, g2o::BaseEdge< D, Vector3 >, g2o::BaseEdge< D, Vector4 >, g2o::BaseEdge< D, VectorX >, and g2o::BaseEdge< D, VelocityMeasurement >.
Referenced by g2o::SparseOptimizer::computeActiveErrors(), and g2o::EdgeLabeler::labelEdge().
|
pure virtual |
Implemented in g2o::BaseEdge< D, E >, g2o::BaseEdge< D, double >, g2o::BaseEdge< D, EdgeGICP >, g2o::BaseEdge< D, Eigen::Vector2d >, g2o::BaseEdge< D, Eigen::Vector3d >, g2o::BaseEdge< D, Eigen::VectorXd >, g2o::BaseEdge< D, g2o::Vector2 >, g2o::BaseEdge< D, Isometry3 >, g2o::BaseEdge< D, Line2D >, g2o::BaseEdge< D, Line3D >, g2o::BaseEdge< D, OdomAndLaserMotion >, g2o::BaseEdge< D, Plane3D >, g2o::BaseEdge< D, SE2 >, g2o::BaseEdge< D, SE3Quat >, g2o::BaseEdge< D, Sim3 >, g2o::BaseEdge< D, Vector2 >, g2o::BaseEdge< D, Vector3 >, g2o::BaseEdge< D, Vector4 >, g2o::BaseEdge< D, VectorX >, and g2o::BaseEdge< D, VelocityMeasurement >.
|
inline |
Definition at line 520 of file optimizable_graph.h.
|
inline |
Definition at line 521 of file optimizable_graph.h.
|
virtual |
writes the measurement to an array of double
Reimplemented in g2o::EdgeSBACam, g2o::EdgePointXY, g2o::EdgeSE2, g2o::EdgeSE2Offset, g2o::EdgeSE2PointXY, g2o::EdgeSE2PointXYBearing, g2o::EdgeSE2PointXYOffset, g2o::EdgeSE2Prior, g2o::EdgeSE2XYPrior, g2o::EdgeXYPrior, g2o::EdgeLine2D, g2o::EdgeLine2DPointXY, g2o::EdgeSE2Line2D, g2o::EdgeSE2Segment2D, g2o::EdgeSE2Segment2DLine, g2o::EdgeSE2Segment2DPointLine, g2o::EdgePointXYZ, g2o::EdgeSE3, g2o::EdgeSE3PointXYZ, g2o::EdgeSE3PointXYZDepth, g2o::EdgeSE3PointXYZDisparity, g2o::EdgeSE3Prior, g2o::EdgeSE3XYZPrior, g2o::EdgeXYZPrior, g2o::EdgePlane, and g2o::EdgeSE3Line3D.
Definition at line 167 of file optimizable_graph.cpp.
| OptimizableGraph * g2o::OptimizableGraph::Edge::graph | ( | ) |
Definition at line 110 of file optimizable_graph.cpp.
References g2o::HyperGraph::_vertices, and g2o::OptimizableGraph::Vertex::graph().
Referenced by g2o::OptimizableGraph::addEdge().
| const OptimizableGraph * g2o::OptimizableGraph::Edge::graph | ( | ) | const |
Definition at line 117 of file optimizable_graph.cpp.
References g2o::HyperGraph::_vertices, and g2o::OptimizableGraph::Vertex::graph().
|
pure virtual |
returns the memory of the information matrix, usable for example with a Eigen::Map<MatrixX>
Implemented in g2o::BaseEdge< D, E >, g2o::BaseEdge< D, double >, g2o::BaseEdge< D, EdgeGICP >, g2o::BaseEdge< D, Eigen::Vector2d >, g2o::BaseEdge< D, Eigen::Vector3d >, g2o::BaseEdge< D, Eigen::VectorXd >, g2o::BaseEdge< D, g2o::Vector2 >, g2o::BaseEdge< D, Isometry3 >, g2o::BaseEdge< D, Line2D >, g2o::BaseEdge< D, Line3D >, g2o::BaseEdge< D, OdomAndLaserMotion >, g2o::BaseEdge< D, Plane3D >, g2o::BaseEdge< D, SE2 >, g2o::BaseEdge< D, SE3Quat >, g2o::BaseEdge< D, Sim3 >, g2o::BaseEdge< D, Vector2 >, g2o::BaseEdge< D, Vector3 >, g2o::BaseEdge< D, Vector4 >, g2o::BaseEdge< D, VectorX >, and g2o::BaseEdge< D, VelocityMeasurement >.
Referenced by g2o::EdgeLabeler::labelEdge(), and g2o::OptimizableGraph::verifyInformationMatrices().
|
pure virtual |
Implemented in g2o::BaseEdge< D, E >, g2o::BaseEdge< D, double >, g2o::BaseEdge< D, EdgeGICP >, g2o::BaseEdge< D, Eigen::Vector2d >, g2o::BaseEdge< D, Eigen::Vector3d >, g2o::BaseEdge< D, Eigen::VectorXd >, g2o::BaseEdge< D, g2o::Vector2 >, g2o::BaseEdge< D, Isometry3 >, g2o::BaseEdge< D, Line2D >, g2o::BaseEdge< D, Line3D >, g2o::BaseEdge< D, OdomAndLaserMotion >, g2o::BaseEdge< D, Plane3D >, g2o::BaseEdge< D, SE2 >, g2o::BaseEdge< D, SE3Quat >, g2o::BaseEdge< D, Sim3 >, g2o::BaseEdge< D, Vector2 >, g2o::BaseEdge< D, Vector3 >, g2o::BaseEdge< D, Vector4 >, g2o::BaseEdge< D, VectorX >, and g2o::BaseEdge< D, VelocityMeasurement >.
|
pure virtual |
set the estimate of the to vertex, based on the estimate of the from vertices in the edge.
Implemented in TargetOdometry3DEdge, g2o::BaseEdge< D, E >, g2o::BaseEdge< D, double >, g2o::BaseEdge< D, EdgeGICP >, g2o::BaseEdge< D, Eigen::Vector2d >, g2o::BaseEdge< D, Eigen::Vector3d >, g2o::BaseEdge< D, Eigen::VectorXd >, g2o::BaseEdge< D, g2o::Vector2 >, g2o::BaseEdge< D, Isometry3 >, g2o::BaseEdge< D, Line2D >, g2o::BaseEdge< D, Line3D >, g2o::BaseEdge< D, OdomAndLaserMotion >, g2o::BaseEdge< D, Plane3D >, g2o::BaseEdge< D, SE2 >, g2o::BaseEdge< D, SE3Quat >, g2o::BaseEdge< D, Sim3 >, g2o::BaseEdge< D, Vector2 >, g2o::BaseEdge< D, Vector3 >, g2o::BaseEdge< D, Vector4 >, g2o::BaseEdge< D, VectorX >, g2o::BaseEdge< D, VelocityMeasurement >, g2o::EdgeSE2LotsOfXY, g2o::EdgeSE2TwoPointsXY, g2o::EdgeSE3LotsOfXYZ, g2o::EdgeSE3XYZPrior, g2o::OnlineEdgeSE2, g2o::OnlineEdgeSE3, g2o::EdgeSim3, g2o::EdgeSBACam, g2o::EdgeSE2SensorCalib, g2o::EdgeSE2, g2o::EdgeSE2Offset, g2o::EdgeSE2PointXY, g2o::EdgeSE2PointXYBearing, g2o::EdgeSE2PointXYCalib, g2o::EdgeSE2PointXYOffset, g2o::EdgeSE2Prior, g2o::EdgeSE2Line2D, g2o::EdgeSE2Segment2D, g2o::EdgeSE3, g2o::EdgeSE3Offset, g2o::EdgeSE3PointXYZ, g2o::EdgeSE3PointXYZDepth, g2o::EdgeSE3PointXYZDisparity, g2o::EdgeSE3Prior, and g2o::EdgeSBAScale.
Referenced by g2o::SparseOptimizer::computeInitialGuess(), and g2o::EstimatePropagator::PropagateAction::operator()().
|
inlinevirtual |
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 in TargetOdometry3DEdge, g2o::EdgeSBACam, g2o::EdgeSBAScale, g2o::EdgeSim3, g2o::EdgePointXY, g2o::EdgeSE2, g2o::EdgeSE2LotsOfXY, g2o::EdgeSE2Offset, g2o::EdgeSE2Prior, g2o::EdgeSE2TwoPointsXY, g2o::EdgeXYPrior, g2o::EdgeLine2D, g2o::EdgePointXYZ, g2o::EdgeSE3, g2o::EdgeSE3LotsOfXYZ, g2o::EdgeSE3Offset, g2o::EdgeSE3Prior, g2o::EdgeSE3XYZPrior, g2o::EdgeXYZPrior, g2o::EdgeSE2PointXYBearing, g2o::EdgeSE2SensorCalib, g2o::EdgeSE2PointXY, g2o::EdgeSE2PointXYCalib, g2o::EdgeSE2PointXYOffset, g2o::EdgeSE2Line2D, g2o::EdgeSE2Segment2D, g2o::EdgeSE3PointXYZ, g2o::EdgeSE3PointXYZDepth, and g2o::EdgeSE3PointXYZDisparity.
Definition at line 505 of file optimizable_graph.h.
Referenced by g2o::SparseOptimizer::computeInitialGuess(), g2o::EstimatePropagatorCost::operator()(), and g2o::EstimatePropagatorCostOdometry::operator()().
|
inlineprotected |
Definition at line 554 of file optimizable_graph.h.
Referenced by g2o::EdgeProjectPSI2UV::EdgeProjectPSI2UV(), g2o::EdgeProjectXYZ2UV::EdgeProjectXYZ2UV(), g2o::EdgeProjectXYZ2UVU::EdgeProjectXYZ2UVU(), g2o::EdgeSE2Offset::EdgeSE2Offset(), g2o::tutorial::EdgeSE2PointXY::EdgeSE2PointXY(), g2o::EdgeSE2PointXYOffset::EdgeSE2PointXYOffset(), g2o::EdgeSE3Line3D::EdgeSE3Line3D(), g2o::EdgeSE3Offset::EdgeSE3Offset(), g2o::EdgeSE3PointXYZ::EdgeSE3PointXYZ(), g2o::EdgeSE3PointXYZDepth::EdgeSE3PointXYZDepth(), g2o::EdgeSE3PointXYZDisparity::EdgeSE3PointXYZDisparity(), g2o::EdgeSE3Prior::EdgeSE3Prior(), and g2o::EdgeSE3XYZPrior::EdgeSE3XYZPrior().
|
inline |
the internal ID of the edge
Definition at line 530 of file optimizable_graph.h.
Referenced by g2o::OptimizableGraph::EdgeIDCompare::operator()().
|
inline |
returns the level of the edge
Definition at line 513 of file optimizable_graph.h.
Referenced by g2o::BackBoneTreeAction::init(), main(), and g2o::EdgeTypesCostFunction::operator()().
|
pure virtual |
Linearizes the constraint in the edge in the manifold space, and store the result in the given workspace
Implemented in g2o::BaseFixedSizedEdge< D, E, VertexTypes >, g2o::BaseFixedSizedEdge< 2, Vector2, VertexPointXYZ, VertexSE3Expmap, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< 3, SE2, VertexSE2, VertexSE2, VertexSE2 >, g2o::BaseFixedSizedEdge< 3, VelocityMeasurement, VertexSE2, VertexSE2, VertexOdomDifferentialParams >, g2o::BaseFixedSizedEdge< D, double, PolynomialCoefficientVertex >, g2o::BaseFixedSizedEdge< D, double, VertexCam, VertexCam >, g2o::BaseFixedSizedEdge< D, double, VertexLine2D, VertexPointXY >, g2o::BaseFixedSizedEdge< D, double, VertexSE2, VertexPointXY >, g2o::BaseFixedSizedEdge< D, E, VertexXi >, g2o::BaseFixedSizedEdge< D, E, VertexXi, VertexXj >, g2o::BaseFixedSizedEdge< D, EdgeGICP, VertexSE3, VertexSE3 >, g2o::BaseFixedSizedEdge< D, Eigen::Vector2d, VertexCircle >, g2o::BaseFixedSizedEdge< D, Eigen::Vector2d, VertexParams >, g2o::BaseFixedSizedEdge< D, Eigen::Vector2d, VertexSE2, VertexPointXY >, g2o::BaseFixedSizedEdge< D, Eigen::Vector3d, VertexPosition3D >, g2o::BaseFixedSizedEdge< D, Eigen::Vector3d, VertexPositionVelocity3D >, g2o::BaseFixedSizedEdge< D, Eigen::Vector3d, VertexPositionVelocity3D, VertexPositionVelocity3D >, g2o::BaseFixedSizedEdge< D, Eigen::VectorXd, FPolynomialCoefficientVertex, PPolynomialCoefficientVertex >, g2o::BaseFixedSizedEdge< D, g2o::Vector2, VertexCameraBAL, VertexPointBAL >, g2o::BaseFixedSizedEdge< D, Isometry3, VertexSE3 >, g2o::BaseFixedSizedEdge< D, Isometry3, VertexSE3, VertexSE3 >, g2o::BaseFixedSizedEdge< D, Line2D, VertexLine2D, VertexLine2D >, g2o::BaseFixedSizedEdge< D, Line2D, VertexSE2, VertexLine2D >, g2o::BaseFixedSizedEdge< D, Line3D, VertexSE3, VertexLine3D >, g2o::BaseFixedSizedEdge< D, OdomAndLaserMotion, VertexSE2, VertexBaseline >, g2o::BaseFixedSizedEdge< D, OdomAndLaserMotion, VertexSE2, VertexOdomDifferentialParams >, g2o::BaseFixedSizedEdge< D, SE2, VertexSE2 >, g2o::BaseFixedSizedEdge< D, SE2, VertexSE2, VertexSE2 >, g2o::BaseFixedSizedEdge< D, SE3Quat, VertexCam, VertexCam >, g2o::BaseFixedSizedEdge< D, SE3Quat, VertexSE3Expmap, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Sim3, VertexSim3Expmap, VertexSim3Expmap >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXY >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXY, VertexPointXY >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXYZ, VertexCam >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXYZ, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXYZ, VertexSim3Expmap >, g2o::BaseFixedSizedEdge< D, Vector2, VertexSE2 >, g2o::BaseFixedSizedEdge< D, Vector2, VertexSE2, VertexPointXY >, g2o::BaseFixedSizedEdge< D, Vector2, VertexSE2, VertexSegment2D >, g2o::BaseFixedSizedEdge< D, Vector2, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ, VertexCam >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ, VertexPointXYZ >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ, VertexSCam >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Vector3, VertexSE2, VertexSegment2D >, g2o::BaseFixedSizedEdge< D, Vector3, VertexSE3 >, g2o::BaseFixedSizedEdge< D, Vector3, VertexSE3, VertexPointXYZ >, g2o::BaseFixedSizedEdge< D, Vector3, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Vector4, VertexPlane, VertexPlane >, g2o::BaseFixedSizedEdge< D, Vector4, VertexSE2, VertexSegment2D >, g2o::BaseVariableSizedEdge< D, E >, g2o::BaseVariableSizedEdge< 2, Vector2 >, g2o::BaseVariableSizedEdge< 3, Plane3D >, g2o::BaseVariableSizedEdge< 4, Vector4 >, g2o::BaseVariableSizedEdge< 6, Isometry3 >, and g2o::BaseVariableSizedEdge<-1, VectorX >.
Referenced by g2o::BlockSolver< Traits >::buildSystem(), g2o::StructureOnlySolver< PointDoF >::calc(), g2o::SparseOptimizerOnline::optimize(), and g2o::SparseOptimizerIncremental::updateInitialization().
|
pure virtual |
maps the internal matrix to some external memory location, you need to provide the memory before calling constructQuadraticForm
| d | the memory location to which we map |
| i | index of the vertex i |
| j | index of the vertex j (j > i, upper triangular fashion) |
| rowMajor | if true, will write in rowMajor order to the block. Since EIGEN is columnMajor by default, this results in writing the transposed |
Implemented in g2o::BaseFixedSizedEdge< D, E, VertexTypes >, g2o::BaseFixedSizedEdge< 2, Vector2, VertexPointXYZ, VertexSE3Expmap, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< 3, SE2, VertexSE2, VertexSE2, VertexSE2 >, g2o::BaseFixedSizedEdge< 3, VelocityMeasurement, VertexSE2, VertexSE2, VertexOdomDifferentialParams >, g2o::BaseFixedSizedEdge< D, double, PolynomialCoefficientVertex >, g2o::BaseFixedSizedEdge< D, double, VertexCam, VertexCam >, g2o::BaseFixedSizedEdge< D, double, VertexLine2D, VertexPointXY >, g2o::BaseFixedSizedEdge< D, double, VertexSE2, VertexPointXY >, g2o::BaseFixedSizedEdge< D, E, VertexXi >, g2o::BaseFixedSizedEdge< D, E, VertexXi, VertexXj >, g2o::BaseFixedSizedEdge< D, EdgeGICP, VertexSE3, VertexSE3 >, g2o::BaseFixedSizedEdge< D, Eigen::Vector2d, VertexCircle >, g2o::BaseFixedSizedEdge< D, Eigen::Vector2d, VertexParams >, g2o::BaseFixedSizedEdge< D, Eigen::Vector2d, VertexSE2, VertexPointXY >, g2o::BaseFixedSizedEdge< D, Eigen::Vector3d, VertexPosition3D >, g2o::BaseFixedSizedEdge< D, Eigen::Vector3d, VertexPositionVelocity3D >, g2o::BaseFixedSizedEdge< D, Eigen::Vector3d, VertexPositionVelocity3D, VertexPositionVelocity3D >, g2o::BaseFixedSizedEdge< D, Eigen::VectorXd, FPolynomialCoefficientVertex, PPolynomialCoefficientVertex >, g2o::BaseFixedSizedEdge< D, g2o::Vector2, VertexCameraBAL, VertexPointBAL >, g2o::BaseFixedSizedEdge< D, Isometry3, VertexSE3 >, g2o::BaseFixedSizedEdge< D, Isometry3, VertexSE3, VertexSE3 >, g2o::BaseFixedSizedEdge< D, Line2D, VertexLine2D, VertexLine2D >, g2o::BaseFixedSizedEdge< D, Line2D, VertexSE2, VertexLine2D >, g2o::BaseFixedSizedEdge< D, Line3D, VertexSE3, VertexLine3D >, g2o::BaseFixedSizedEdge< D, OdomAndLaserMotion, VertexSE2, VertexBaseline >, g2o::BaseFixedSizedEdge< D, OdomAndLaserMotion, VertexSE2, VertexOdomDifferentialParams >, g2o::BaseFixedSizedEdge< D, SE2, VertexSE2 >, g2o::BaseFixedSizedEdge< D, SE2, VertexSE2, VertexSE2 >, g2o::BaseFixedSizedEdge< D, SE3Quat, VertexCam, VertexCam >, g2o::BaseFixedSizedEdge< D, SE3Quat, VertexSE3Expmap, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Sim3, VertexSim3Expmap, VertexSim3Expmap >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXY >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXY, VertexPointXY >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXYZ, VertexCam >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXYZ, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXYZ, VertexSim3Expmap >, g2o::BaseFixedSizedEdge< D, Vector2, VertexSE2 >, g2o::BaseFixedSizedEdge< D, Vector2, VertexSE2, VertexPointXY >, g2o::BaseFixedSizedEdge< D, Vector2, VertexSE2, VertexSegment2D >, g2o::BaseFixedSizedEdge< D, Vector2, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ, VertexCam >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ, VertexPointXYZ >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ, VertexSCam >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Vector3, VertexSE2, VertexSegment2D >, g2o::BaseFixedSizedEdge< D, Vector3, VertexSE3 >, g2o::BaseFixedSizedEdge< D, Vector3, VertexSE3, VertexPointXYZ >, g2o::BaseFixedSizedEdge< D, Vector3, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Vector4, VertexPlane, VertexPlane >, g2o::BaseFixedSizedEdge< D, Vector4, VertexSE2, VertexSegment2D >, g2o::BaseVariableSizedEdge< D, E >, g2o::BaseVariableSizedEdge< 2, Vector2 >, g2o::BaseVariableSizedEdge< 3, Plane3D >, g2o::BaseVariableSizedEdge< 4, Vector4 >, g2o::BaseVariableSizedEdge< 6, Isometry3 >, and g2o::BaseVariableSizedEdge<-1, VectorX >.
Referenced by g2o::BlockSolver< Traits >::buildStructure(), g2o::SparseOptimizerIncremental::updateInitialization(), and g2o::BlockSolver< Traits >::updateStructure().
|
virtual |
returns the dimension of the measurement in the extended representation which is used by get/setMeasurement;
Reimplemented in g2o::EdgeSBACam, g2o::EdgePointXY, g2o::EdgeSE2, g2o::EdgeSE2Offset, g2o::EdgeSE2PointXY, g2o::EdgeSE2PointXYBearing, g2o::EdgeSE2PointXYOffset, g2o::EdgeSE2Prior, g2o::EdgeSE2XYPrior, g2o::EdgeXYPrior, g2o::EdgeLine2D, g2o::EdgeLine2DPointXY, g2o::EdgeSE2Line2D, g2o::EdgeSE2Segment2D, g2o::EdgeSE2Segment2DLine, g2o::EdgeSE2Segment2DPointLine, g2o::EdgePointXYZ, g2o::EdgeSE3, g2o::EdgeSE3PointXYZ, g2o::EdgeSE3PointXYZDepth, g2o::EdgeSE3PointXYZDisparity, g2o::EdgeSE3Prior, g2o::EdgeSE3XYZPrior, g2o::EdgeXYZPrior, g2o::EdgePlane, and g2o::EdgeSE3Line3D.
Definition at line 169 of file optimizable_graph.cpp.
|
inline |
Definition at line 539 of file optimizable_graph.h.
Referenced by g2o::EdgeCreator::createEdge(), and g2o::BaseEdge< D, E >::readParamIds().
|
inline |
Definition at line 536 of file optimizable_graph.h.
Referenced by g2o::EdgeProjectPSI2UV::computeError(), g2o::EdgeProjectXYZ2UV::computeError(), g2o::EdgeProjectXYZ2UVU::computeError(), g2o::EdgeProjectPSI2UV::linearizeOplus(), and g2o::EdgeProjectXYZ2UV::linearizeOplus().
|
pure virtual |
read the vertex from a stream, i.e., the internal state of the vertex
Implemented in EdgeCalib, GPSObservationPosition3DEdge, TargetOdometry3DEdge, GPSObservationEdgePositionVelocity3D, EdgeObservationBAL, EdgePointOnCircle, EdgePointOnCurve, g2o::EdgeSE2PureCalib, PolynomialSingleValueEdge, MultipleValueEdge, g2o::tutorial::EdgeSE2, g2o::tutorial::EdgeSE2PointXY, g2o::Edge_V_V_GICP, g2o::Edge_XYZ_VSC, g2o::EdgeProjectP2MC, g2o::EdgeProjectP2SC, g2o::EdgeProjectPSI2UV, g2o::EdgeStereoSE3ProjectXYZ, g2o::EdgeStereoSE3ProjectXYZOnlyPose, g2o::EdgeSE3ProjectXYZ, g2o::EdgeProjectXYZ2UV, g2o::EdgeProjectXYZ2UVU, g2o::EdgeSE3ProjectXYZOnlyPose, g2o::EdgeSBACam, g2o::EdgeSBAScale, g2o::EdgeSE3Expmap, g2o::EdgeSE2OdomDifferentialCalib, g2o::EdgeSE2SensorCalib, g2o::EdgeSim3, g2o::EdgeSim3ProjectXYZ, g2o::EdgeInverseSim3ProjectXYZ, g2o::EdgePointXY, g2o::EdgeSE2, g2o::EdgeSE2LotsOfXY, g2o::EdgeSE2Offset, g2o::EdgeSE2PointXY, g2o::EdgeSE2PointXYBearing, g2o::EdgeSE2PointXYCalib, g2o::EdgeSE2PointXYOffset, g2o::EdgeSE2Prior, g2o::EdgeSE2TwoPointsXY, g2o::EdgeSE2XYPrior, g2o::EdgeXYPrior, g2o::EdgeLine2D, g2o::EdgeLine2DPointXY, g2o::EdgeSE2Line2D, g2o::EdgeSE2Segment2D, g2o::EdgeSE2Segment2DLine, g2o::EdgeSE2Segment2DPointLine, g2o::EdgePointXYZ, g2o::EdgeSE3, g2o::EdgeSE3LotsOfXYZ, g2o::EdgeSE3Offset, g2o::EdgeSE3PointXYZ, g2o::EdgeSE3PointXYZDepth, g2o::EdgeSE3PointXYZDisparity, g2o::EdgeSE3Prior, g2o::EdgeSE3XYZPrior, g2o::EdgeXYZPrior, g2o::EdgePlane, g2o::EdgeSE3Calib, g2o::EdgeSE3Euler, g2o::EdgeSE3Line3D, and g2o::EdgeSE3PlaneSensorCalib.
|
inline |
Definition at line 540 of file optimizable_graph.h.
Referenced by g2o::EdgeProjectPSI2UV::EdgeProjectPSI2UV(), g2o::EdgeProjectXYZ2UV::EdgeProjectXYZ2UV(), g2o::EdgeProjectXYZ2UVU::EdgeProjectXYZ2UVU(), g2o::EdgeSE2Offset::EdgeSE2Offset(), g2o::tutorial::EdgeSE2PointXY::EdgeSE2PointXY(), g2o::EdgeSE2PointXYOffset::EdgeSE2PointXYOffset(), g2o::EdgeSE3Line3D::EdgeSE3Line3D(), g2o::EdgeSE3Offset::EdgeSE3Offset(), g2o::EdgeSE3PointXYZ::EdgeSE3PointXYZ(), g2o::EdgeSE3PointXYZDepth::EdgeSE3PointXYZDepth(), g2o::EdgeSE3PointXYZDisparity::EdgeSE3PointXYZDisparity(), g2o::EdgeSE3Prior::EdgeSE3Prior(), and g2o::EdgeSE3XYZPrior::EdgeSE3XYZPrior().
|
protected |
Definition at line 125 of file cache.h.
References g2o::OptimizableGraph::Vertex::cacheContainer(), g2o::CacheContainer::createCache(), and g2o::CacheContainer::findCache().
Referenced by g2o::tutorial::EdgeSE2PointXY::resolveCaches(), g2o::EdgeSE2Offset::resolveCaches(), g2o::EdgeSE2PointXYOffset::resolveCaches(), g2o::EdgeSE3Offset::resolveCaches(), g2o::EdgeSE3PointXYZ::resolveCaches(), g2o::EdgeSE3PointXYZDepth::resolveCaches(), g2o::EdgeSE3PointXYZDisparity::resolveCaches(), g2o::EdgeSE3Prior::resolveCaches(), g2o::EdgeSE3XYZPrior::resolveCaches(), and g2o::EdgeSE3Line3D::resolveCaches().
|
protectedvirtual |
Reimplemented in g2o::tutorial::EdgeSE2PointXY, g2o::EdgeSE2Offset, g2o::EdgeSE2PointXYOffset, g2o::EdgeSE3Offset, g2o::EdgeSE3PointXYZ, g2o::EdgeSE3PointXYZDepth, g2o::EdgeSE3PointXYZDisparity, g2o::EdgeSE3Prior, g2o::EdgeSE3XYZPrior, and g2o::EdgeSE3Line3D.
Definition at line 163 of file optimizable_graph.cpp.
Referenced by g2o::OptimizableGraph::addEdge(), and g2o::OptimizableGraph::setEdgeVertex().
|
protected |
Definition at line 133 of file optimizable_graph.cpp.
References __PRETTY_FUNCTION__, g2o::OptimizableGraph::_parameters, and G2O_ERROR.
Referenced by g2o::OptimizableGraph::addEdge(), and g2o::OptimizableGraph::setEdgeVertex().
|
inline |
if NOT NULL, error of this edge will be robustifed with the kernel
Definition at line 450 of file optimizable_graph.h.
Referenced by g2o::SparseOptimizer::activeRobustChi2(), g2o::StructureOnlySolver< PointDoF >::calc(), gnudump_edges(), gnudump_features(), main(), InvChi2CostFunction::operator()(), and MainWindow::setRobustKernel().
|
inline |
sets the level of the edge
Definition at line 515 of file optimizable_graph.h.
Referenced by g2o::assignHierarchicalEdges(), and g2o::computeSimpleStars().
|
virtual |
sets the measurement from an array of double
Reimplemented in g2o::EdgeSBACam, g2o::EdgePointXY, g2o::EdgeSE2, g2o::EdgeSE2Offset, g2o::EdgeSE2PointXY, g2o::EdgeSE2PointXYBearing, g2o::EdgeSE2PointXYOffset, g2o::EdgeSE2Prior, g2o::EdgeSE2XYPrior, g2o::EdgeXYPrior, g2o::EdgeLine2D, g2o::EdgeLine2DPointXY, g2o::EdgeSE2Line2D, g2o::EdgeSE2Segment2D, g2o::EdgeSE2Segment2DLine, g2o::EdgeSE2Segment2DPointLine, g2o::EdgePointXYZ, g2o::EdgeSE3, g2o::EdgeSE3PointXYZ, g2o::EdgeSE3PointXYZDepth, g2o::EdgeSE3PointXYZDisparity, g2o::EdgeSE3Prior, g2o::EdgeSE3XYZPrior, g2o::EdgeXYZPrior, g2o::EdgePlane, and g2o::EdgeSE3Line3D.
Definition at line 165 of file optimizable_graph.cpp.
|
virtual |
sets the estimate to have a zero error, based on the current value of the state variables returns false if not supported.
Reimplemented in g2o::EdgeSBACam, g2o::EdgePointXY, g2o::EdgeSE2, g2o::EdgeSE2LotsOfXY, g2o::EdgeSE2Offset, g2o::EdgeSE2PointXY, g2o::EdgeSE2PointXYBearing, g2o::EdgeSE2PointXYOffset, g2o::EdgeSE2TwoPointsXY, g2o::EdgeXYPrior, g2o::EdgeLine2D, g2o::EdgeLine2DPointXY, g2o::EdgeSE2Line2D, g2o::EdgeSE2Segment2D, g2o::EdgeSE2Segment2DLine, g2o::EdgeSE2Segment2DPointLine, g2o::EdgePointXYZ, g2o::EdgeSE3, g2o::EdgeSE3LotsOfXYZ, g2o::EdgeSE3Offset, g2o::EdgeSE3PointXYZ, g2o::EdgeSE3PointXYZDepth, g2o::EdgeSE3PointXYZDisparity, g2o::EdgeSE3Prior, g2o::EdgeSE3XYZPrior, g2o::EdgeXYZPrior, and g2o::EdgePlane.
Definition at line 171 of file optimizable_graph.cpp.
Referenced by g2o::EdgeLabeler::labelEdge().
| bool g2o::OptimizableGraph::Edge::setParameterId | ( | int | argNum, |
| int | paramId | ||
| ) |
Definition at line 125 of file optimizable_graph.cpp.
References g2o::OptimizableGraph::_parameters.
Referenced by g2o::EdgeCreator::createEdge(), main(), main(), main(), Robot::move(), g2o::tutorial::EdgeSE2PointXY::read(), g2o::EdgeSE2Offset::read(), g2o::EdgeSE2PointXYOffset::read(), g2o::BaseEdge< D, E >::readParamIds(), and LineSensor::sense().
| void g2o::OptimizableGraph::Edge::setRobustKernel | ( | RobustKernel * | ptr | ) |
specify the robust kernel to be used in this edge
Definition at line 157 of file optimizable_graph.cpp.
References g2o::release().
Referenced by main(), and MainWindow::setRobustKernel().
|
pure virtual |
write the vertex to a stream
Implemented in EdgeCalib, GPSObservationPosition3DEdge, TargetOdometry3DEdge, GPSObservationEdgePositionVelocity3D, EdgeObservationBAL, EdgePointOnCircle, EdgePointOnCurve, g2o::EdgeSE2PureCalib, PolynomialSingleValueEdge, MultipleValueEdge, g2o::tutorial::EdgeSE2, g2o::tutorial::EdgeSE2PointXY, g2o::Edge_V_V_GICP, g2o::Edge_XYZ_VSC, g2o::EdgeProjectP2MC, g2o::EdgeProjectP2SC, g2o::EdgeProjectPSI2UV, g2o::EdgeStereoSE3ProjectXYZ, g2o::EdgeStereoSE3ProjectXYZOnlyPose, g2o::EdgeSE3ProjectXYZ, g2o::EdgeProjectXYZ2UV, g2o::EdgeProjectXYZ2UVU, g2o::EdgeSE3ProjectXYZOnlyPose, g2o::EdgeSBACam, g2o::EdgeSBAScale, g2o::EdgeSE3Expmap, g2o::EdgeSE2OdomDifferentialCalib, g2o::EdgeSE2SensorCalib, g2o::EdgeSim3, g2o::EdgeSim3ProjectXYZ, g2o::EdgeInverseSim3ProjectXYZ, g2o::EdgePointXY, g2o::EdgeSE2, g2o::EdgeSE2LotsOfXY, g2o::EdgeSE2Offset, g2o::EdgeSE2PointXY, g2o::EdgeSE2PointXYBearing, g2o::EdgeSE2PointXYCalib, g2o::EdgeSE2PointXYOffset, g2o::EdgeSE2Prior, g2o::EdgeSE2TwoPointsXY, g2o::EdgeSE2XYPrior, g2o::EdgeXYPrior, g2o::EdgeLine2D, g2o::EdgeLine2DPointXY, g2o::EdgeSE2Line2D, g2o::EdgeSE2Segment2D, g2o::EdgeSE2Segment2DLine, g2o::EdgeSE2Segment2DPointLine, g2o::EdgePointXYZ, g2o::EdgeSE3, g2o::EdgeSE3LotsOfXYZ, g2o::EdgeSE3Offset, g2o::EdgeSE3PointXYZ, g2o::EdgeSE3PointXYZDepth, g2o::EdgeSE3PointXYZDisparity, g2o::EdgeSE3Prior, g2o::EdgeSE3XYZPrior, g2o::EdgeXYZPrior, g2o::EdgePlane, g2o::EdgeSE3Calib, g2o::EdgeSE3Euler, g2o::EdgeSE3Line3D, and g2o::EdgeSE3PlaneSensorCalib.
Referenced by g2o::OptimizableGraph::saveEdge().
|
friend |
Definition at line 419 of file optimizable_graph.h.
|
protected |
Definition at line 551 of file optimizable_graph.h.
|
protected |
Definition at line 547 of file optimizable_graph.h.
Referenced by g2o::BaseEdge< D, E >::BaseEdge(), g2o::BaseEdge< D, E >::rank(), and g2o::BaseEdge< D, E >::setDimension().
|
protected |
Definition at line 550 of file optimizable_graph.h.
Referenced by g2o::OptimizableGraph::addEdge().
|
protected |
Definition at line 548 of file optimizable_graph.h.
|
protected |
Definition at line 572 of file optimizable_graph.h.
Referenced by g2o::BaseEdge< D, E >::writeParamIds().
|
protected |
Definition at line 571 of file optimizable_graph.h.
|
protected |
Definition at line 570 of file optimizable_graph.h.
|
protected |
Definition at line 549 of file optimizable_graph.h.