g2o
|
caching the offset related to a vertex More...
#include <parameter_se3_offset.h>
Public Member Functions | |
CacheSE3Offset () | |
virtual void | updateImpl () |
redefine this to do the update More... | |
const ParameterSE3Offset * | offsetParam () const |
void | setOffsetParam (ParameterSE3Offset *offsetParam) |
const SE3Quat & | w2n () const |
const SE3Quat & | n2w () const |
const Eigen::Isometry3d & | w2nMatrix () const |
const Eigen::Isometry3d & | n2wMatrix () const |
const Eigen::Isometry3d & | w2lMatrix () const |
Public Member Functions inherited from g2o::Cache | |
Cache (CacheContainer *container_=0, const ParameterVector ¶meters_=ParameterVector()) | |
CacheKey | key () const |
OptimizableGraph::Vertex * | vertex () |
OptimizableGraph * | graph () |
CacheContainer * | container () |
ParameterVector & | parameters () |
void | update () |
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 | |
Protected Member Functions | |
virtual bool | resolveDependancies () |
Protected Member Functions inherited from g2o::Cache | |
Cache * | installDependency (const std::string &type_, const std::vector< int > ¶meterIndices) |
Protected Attributes | |
ParameterSE3Offset * | _offsetParam |
the parameter connected to the cache More... | |
SE3Quat | _se3_w2n |
SE3Quat | _se3_n2w |
Eigen::Isometry3d | _w2n |
world to sensor transform More... | |
Eigen::Isometry3d | _w2l |
world to local More... | |
Eigen::Isometry3d | _n2w |
sensor to world More... | |
Protected Attributes inherited from g2o::Cache | |
bool | _updateNeeded |
ParameterVector | _parameters |
std::vector< Cache * > | _parentCaches |
CacheContainer * | _container |
caching the offset related to a vertex
Definition at line 81 of file parameter_se3_offset.h.
g2o::deprecated::CacheSE3Offset::CacheSE3Offset | ( | ) |
Definition at line 66 of file parameter_se3_offset.cpp.
|
inline |
|
inline |
Definition at line 94 of file parameter_se3_offset.h.
|
inline |
Definition at line 87 of file parameter_se3_offset.h.
Referenced by g2o::deprecated::EdgeSE3Offset::initialEstimate(), g2o::deprecated::EdgeSE3Prior::linearizeOplus(), g2o::deprecated::EdgeSE3Offset::linearizeOplus(), and setOffsetParam().
|
protectedvirtual |
Function to be called from a cache that has dependencies. It just invokes a sequence of installDependency(). Although the caches returned are stored in the _parentCache vector, it is better that you redefine your own cache member variables, for better readability
Reimplemented from g2o::Cache.
Reimplemented in g2o::deprecated::CacheCamera.
Definition at line 72 of file parameter_se3_offset.cpp.
References _offsetParam, and g2o::Cache::_parameters.
void g2o::deprecated::CacheSE3Offset::setOffsetParam | ( | ParameterSE3Offset * | offsetParam | ) |
Definition at line 93 of file parameter_se3_offset.cpp.
References _offsetParam, g2o::deprecated::ParameterSE3Offset::offset(), offsetParam(), RAD2DEG, g2o::DrawAction::refreshPropertyPtrs(), g2o::SE3Quat::rotation(), and g2o::SE3Quat::translation().
|
virtual |
redefine this to do the update
Implements g2o::Cache.
Reimplemented in g2o::deprecated::CacheCamera.
Definition at line 77 of file parameter_se3_offset.cpp.
References _n2w, _offsetParam, _se3_n2w, _se3_w2n, _w2l, _w2n, g2o::BaseVertex< D, T >::estimate(), g2o::SE3Quat::inverse(), g2o::deprecated::ParameterSE3Offset::offset(), g2o::SE3Quat::rotation(), g2o::SE3Quat::translation(), and g2o::Cache::vertex().
|
inline |
Definition at line 95 of file parameter_se3_offset.h.
Referenced by g2o::deprecated::EdgeSE3PointXYZDepth::linearizeOplus(), g2o::deprecated::EdgeSE3PointXYZ::linearizeOplus(), and g2o::deprecated::EdgeSE3PointXYZDisparity::linearizeOplus().
|
inline |
Definition at line 90 of file parameter_se3_offset.h.
Referenced by g2o::deprecated::EdgeSE3Offset::computeError(), and g2o::deprecated::EdgeSE3Offset::setMeasurementFromState().
|
inline |
Definition at line 93 of file parameter_se3_offset.h.
Referenced by g2o::deprecated::EdgeSE3PointXYZ::computeError(), and g2o::deprecated::EdgeSE3PointXYZ::setMeasurementFromState().
|
protected |
|
protected |
the parameter connected to the cache
Definition at line 98 of file parameter_se3_offset.h.
Referenced by resolveDependancies(), setOffsetParam(), and updateImpl().
|
protected |
Definition at line 100 of file parameter_se3_offset.h.
Referenced by updateImpl().
|
protected |
Definition at line 99 of file parameter_se3_offset.h.
Referenced by updateImpl().
|
protected |
|
protected |
world to sensor transform
Definition at line 102 of file parameter_se3_offset.h.
Referenced by updateImpl().
g2o::deprecated::CacheSE3Offset::EIGEN_MAKE_ALIGNED_OPERATOR_NEW |
Definition at line 83 of file parameter_se3_offset.h.