|
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 Isometry3 &offset_=Isometry3::Identity()) |
| virtual bool | read (std::istream &is) |
| read the data from a stream | |
| virtual bool | write (std::ostream &os) const |
| write the data to a stream | |
| const Matrix3 & | Kcam () const |
| const Matrix3 & | invKcam () const |
| const Matrix3 & | Kcam_inverseOffsetR () const |
Public Member Functions inherited from g2o::ParameterSE3Offset | |
| ParameterSE3Offset () | |
| void | setOffset (const Isometry3 &offset_=Isometry3::Identity()) |
| const Isometry3 & | offset () const |
| rotation of the offset as 3x3 rotation matrix | |
| const Isometry3 & | inverseOffset () const |
| rotation of the inverse offset as 3x3 rotation matrix | |
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 () |
Public Attributes | |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW | |
Public Attributes inherited from g2o::ParameterSE3Offset | |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW | |
Protected Attributes | |
| Matrix3 | _Kcam |
| Matrix3 | _invKcam |
| Matrix3 | _Kcam_inverseOffsetR |
Protected Attributes inherited from g2o::ParameterSE3Offset | |
| Isometry3 | _offset |
| Isometry3 | _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 41 of file parameter_camera.cpp.
References g2o::Parameter::setId(), setKcam(), and setOffset().
|
inline |
Definition at line 49 of file parameter_camera.h.
Referenced by g2o::EdgeSE3PointXYZDepth::initialEstimate(), and g2o::EdgeSE3PointXYZDisparity::initialEstimate().
|
inline |
|
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(), g2o::internal::readVector(), setKcam(), and setOffset().
Referenced by g2o::ParameterStereoCamera::read().
| void g2o::ParameterCamera::setKcam | ( | double | fx, |
| double | fy, | ||
| double | cx, | ||
| double | cy | ||
| ) |
Definition at line 52 of file parameter_camera.cpp.
References _invKcam, _Kcam, _Kcam_inverseOffsetR, and g2o::ParameterSE3Offset::inverseOffset().
Referenced by main(), ParameterCamera(), and read().
| void g2o::ParameterCamera::setOffset | ( | const Isometry3 & | offset_ = Isometry3::Identity() | ) |
Definition at line 47 of file parameter_camera.cpp.
References _Kcam, _Kcam_inverseOffsetR, g2o::ParameterSE3Offset::inverseOffset(), and g2o::ParameterSE3Offset::setOffset().
Referenced by ParameterCamera(), and read().
|
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 _Kcam, g2o::ParameterSE3Offset::_offset, g2o::internal::toVectorQT(), and g2o::internal::writeVector().
Referenced by g2o::ParameterStereoCamera::write().
|
protected |
Definition at line 54 of file parameter_camera.h.
Referenced by setKcam().
|
protected |
Definition at line 53 of file parameter_camera.h.
Referenced by setKcam(), setOffset(), and write().
|
protected |
Definition at line 55 of file parameter_camera.h.
Referenced by setKcam(), and setOffset().
| g2o::ParameterCamera::EIGEN_MAKE_ALIGNED_OPERATOR_NEW |
Definition at line 40 of file parameter_camera.h.