45 double x = xyz_trans[0];
46 double y = xyz_trans[1];
47 double invz = 1.0 / xyz_trans[2];
48 double invz_2 = invz * invz;
84 const Vector3& trans_xyz)
const {
85 const float invz = 1.0f / trans_xyz[2];
87 res[0] = trans_xyz[0] * invz *
fx +
cx;
88 res[1] = trans_xyz[1] * invz *
fy +
cy;
89 res[2] = res[0] -
bf * invz;
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
BaseFixedSizedEdge< D, Vector3, VertexSE3Expmap >::template JacobianType< D, VertexXi::Dimension > & _jacobianOplusXi
const EstimateType & estimate() const
return the current estimate of the vertex
virtual void linearizeOplus()
bool write(std::ostream &os) const
write the vertex to a stream
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
VertexContainer _vertices
Vector3 map(const Vector3 &xyz) const
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)