53 double fy, cx, cy, tx;
54 is >> fy >> cx >> cy >> tx;
55 cam.
setKcam(fx, fy, cx, cy, tx);
58 G2O_WARN(
"cam not defined, using defaults");
74 os << cam.
Kcam(0, 0) <<
" ";
75 os << cam.
Kcam(1, 1) <<
" ";
76 os << cam.
Kcam(0, 2) <<
" ";
77 os << cam.
Kcam(1, 2) <<
" ";
const EstimateType & estimate() const
return the current estimate of the vertex
void setKcam(double fx, double fy, double cx, double cy, double tx)
const Quaternion & rotation() const
const Vector3 & translation() const
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
virtual void setEstimate(const SBACam &cam)
bool writeVector(std::ostream &os, const Eigen::DenseBase< Derived > &b)
bool readVector(std::istream &is, Eigen::DenseBase< Derived > &b)
constexpr double cst(long double v)
Eigen::Quaternion< double > Quaternion