g2o
|
parameters for a camera More...
#include <parameter_camera.h>
Public Member Functions | |
ParameterCamera () | |
void | setKcam (double fx, double fy, double cx, double cy) |
void | setOffset (const Isometry3D &offset_=Isometry3D::Identity()) |
virtual bool | read (std::istream &is) |
read the data from a stream More... | |
virtual bool | write (std::ostream &os) const |
write the data to a stream More... | |
const Matrix3D & | Kcam () const |
const Matrix3D & | invKcam () const |
const Matrix3D & | Kcam_inverseOffsetR () const |
Public Member Functions inherited from g2o::ParameterSE3Offset | |
ParameterSE3Offset () | |
void | setOffset (const Isometry3D &offset_=Isometry3D::Identity()) |
const Isometry3D & | offset () const |
rotation of the offset as 3x3 rotation matrix More... | |
const Isometry3D & | inverseOffset () const |
rotation of the inverse offset as 3x3 rotation matrix More... | |
Public Member Functions inherited from g2o::Parameter | |
Parameter () | |
virtual | ~Parameter () |
int | id () const |
void | setId (int id_) |
virtual HyperGraph::HyperGraphElementType | elementType () const |
Public Member Functions inherited from g2o::HyperGraph::HyperGraphElement | |
virtual | ~HyperGraphElement () |
HyperGraphElement * | clone () const |
Public Attributes | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | |
Public Attributes inherited from g2o::ParameterSE3Offset | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | |
Protected Attributes | |
Matrix3D | _Kcam |
Matrix3D | _invKcam |
Matrix3D | _Kcam_inverseOffsetR |
Protected Attributes inherited from g2o::ParameterSE3Offset | |
Isometry3D | _offset |
Isometry3D | _inverseOffset |
Protected Attributes inherited from g2o::Parameter | |
int | _id |
parameters for a camera
Definition at line 38 of file parameter_camera.h.
g2o::ParameterCamera::ParameterCamera | ( | ) |
Definition at line 40 of file parameter_camera.cpp.
|
inline |
Definition at line 49 of file parameter_camera.h.
Referenced by g2o::EdgeSE3PointXYZDepth::initialEstimate(), and g2o::EdgeSE3PointXYZDisparity::initialEstimate().
|
inline |
Definition at line 48 of file parameter_camera.h.
|
inline |
Definition at line 50 of file parameter_camera.h.
Referenced by g2o::EdgeSE3PointXYZDepth::linearizeOplus(), and g2o::EdgeSE3PointXYZDisparity::linearizeOplus().
|
virtual |
read the data from a stream
Reimplemented from g2o::ParameterSE3Offset.
Reimplemented in g2o::ParameterStereoCamera.
Definition at line 63 of file parameter_camera.cpp.
References g2o::internal::fromVectorQT(), and g2o::internal::normalize().
void g2o::ParameterCamera::setKcam | ( | double | fx, |
double | fy, | ||
double | cx, | ||
double | cy | ||
) |
Definition at line 51 of file parameter_camera.cpp.
Referenced by main().
void g2o::ParameterCamera::setOffset | ( | const Isometry3D & | offset_ = Isometry3D::Identity() | ) |
Definition at line 46 of file parameter_camera.cpp.
|
virtual |
write the data to a stream
Reimplemented from g2o::ParameterSE3Offset.
Reimplemented in g2o::ParameterStereoCamera.
Definition at line 76 of file parameter_camera.cpp.
References g2o::internal::toVectorQT().
|
protected |
Definition at line 54 of file parameter_camera.h.
|
protected |
Definition at line 53 of file parameter_camera.h.
|
protected |
Definition at line 55 of file parameter_camera.h.
g2o::ParameterCamera::EIGEN_MAKE_ALIGNED_OPERATOR_NEW |
Definition at line 40 of file parameter_camera.h.