27 #ifndef G2O_EDGE_SE3_POINTXYZ_DISPARITY_H_ 28 #define G2O_EDGE_SE3_POINTXYZ_DISPARITY_H_ 36 #define EDGE_PROJECT_DISPARITY_ANALYTIC_JACOBIAN 49 virtual bool read(std::istream& is);
50 virtual bool write(std::ostream& os)
const;
55 #ifdef EDGE_PROJECT_DISPARITY_ANALYTIC_JACOBIAN 56 virtual void linearizeOplus();
64 Eigen::Map<const Vector3D> v(d);
70 Eigen::Map<Vector3D> v(d);
77 virtual bool setMeasurementFromState() ;
82 return (from.count(_vertices[0]) == 1 ? 1.0 : -1.0);
89 Eigen::Matrix<double,3,9,Eigen::ColMajor>
J;
90 virtual bool resolveCaches();
96 #ifdef G2O_HAVE_OPENGL 99 EdgeProjectDisparityDrawAction();
virtual bool setMeasurementData(const double *d)
Eigen::Matrix< double, 3, 1, Eigen::ColMajor > Vector3D
virtual bool getMeasurementData(double *d) const
Abstract action that operates on a graph entity.
std::set< Vertex * > VertexSet
const ParameterCamera * cameraParameter() const
virtual int measurementDimension() const
edge from a track to a depth camera node using a disparity measurement
#define G2O_TYPES_SLAM3D_API
Eigen::Matrix< double, 3, 9, Eigen::ColMajor > J
virtual double initialEstimatePossible(const OptimizableGraph::VertexSet &from, OptimizableGraph::Vertex *to)
A general case Vertex for optimization.
virtual void setMeasurement(const Vector3D &m)
EIGEN_MAKE_ALIGNED_OPERATOR_NEW