35 const float& bf)
const {
36 const double invz = 1.0f / trans_xyz[2];
38 res[0] = trans_xyz[0] * invz *
fx +
cx;
39 res[1] = trans_xyz[1] * invz *
fy +
cy;
40 res[2] = res[0] -
bf * invz;
63 double x = xyz_trans[0];
64 double y = xyz_trans[1];
65 double z = xyz_trans[2];
BaseFixedSizedEdge< D, Vector3, VertexPointXYZ, VertexSE3Expmap >::template JacobianType< D, VertexXj::Dimension > & _jacobianOplusXj
BaseFixedSizedEdge< D, Vector3, VertexPointXYZ, VertexSE3Expmap >::template JacobianType< D, VertexXi::Dimension > & _jacobianOplusXi
bool writeInformationMatrix(std::ostream &os) const
write the upper trinagular part of the information matrix into the stream
bool readInformationMatrix(std::istream &is)
EIGEN_STRONG_INLINE const Measurement & measurement() const
accessor functions for the measurement represented by the edge
Measurement _measurement
the measurement of the edge
const EstimateType & estimate() const
return the current estimate of the vertex
EIGEN_MAKE_ALIGNED_OPERATOR_NEW EdgeStereoSE3ProjectXYZ()
bool read(std::istream &is)
read the vertex from a stream, i.e., the internal state of the vertex
Vector3 cam_project(const Vector3 &trans_xyz, const float &bf) const
bool write(std::ostream &os) const
write the vertex to a stream
virtual void linearizeOplus()
VertexContainer _vertices
const Quaternion & rotation() const
Vector3 map(const Vector3 &xyz) const
Vertex for a tracked point in space.
SE3 Vertex parameterized internally with a transformation matrix and externally with its exponential ...
bool writeVector(std::ostream &os, const Eigen::DenseBase< Derived > &b)
bool readVector(std::istream &is, Eigen::DenseBase< Derived > &b)