|
| PointTransformer ()=default |
|
| PointTransformer (sophus::Isometry3< TT > const &foo_from_bar) |
|
auto | transform (Eigen::Matrix< TT, 3, 1 > const &point_in_bar) const -> Eigen::Matrix< TT, 3, 1 > |
| Transforms a 3-point from frame bar to frame foo. More...
|
|
auto | scaledTransform (InverseDepthPoint3< TT > const &inverse_depth_point_in_bar) const -> Eigen::Matrix< TT, 3, 1 > |
|
auto | projTransform (Eigen::Matrix< TT, 3, 1 > const &point_in_bar) const -> Eigen::Matrix< TT, 2, 1 > |
| Transforms 3-point in frame bar to foo and projects it onto the Euclidean plane z=1 in foo. More...
|
|
auto | projTransform (InverseDepthPoint3< TT > const &inverse_depth_point_in_bar) const -> Eigen::Matrix< TT, 2, 1 > |
| Transforms and projects the 3d inverse depth point in frame bar to the Euclidean plane z=1 in foo. More...
|
|
auto | dxProjExpXTransformPointAt0 (InverseDepthPoint3< TT > const &inverse_depth_point_in_bar) const -> Eigen::Matrix< TT, 2, 6 > |
| Returns pose derivative of inverse depth point projection at the identity: More...
|
|
auto | dxProjTransformX (InverseDepthPoint3< TT > const &inverse_depth_point_in_bar) const -> Eigen::Matrix< TT, 2, 3 > |
|
auto | fooFromBar () const -> sophus::Isometry3< TT > const & |
|
auto | fooRotationBar () const -> Eigen::Matrix< TT, 3, 3 > const & |
|
auto | barOriginInFoo () const -> Eigen::Matrix< TT, 3, 1 > const & |
|
template<class TT>
class sophus::PointTransformer< TT >
Functor to efficiently transform a number of point given a Isometry3 pose.
When transforming a point point_in_bar
given a sophus::Isometry3 pose foo_from_bar
, one can simply use
Eigen::Vector3d = foo_from_bar * point_in_bar;
Internally, this applies the (unit) quaternion to the left and the right of the point to rotate it and then adds the translation:
point_in_foo = q*point_in_bar*q' + bar_origin_in_foo.
If there are a lot of point to transform, there is a more efficient way using the rotation matrix R which can be precomputed from the quaternion q.
point_in_foo = R * point_in_bar + bar_origin_in_foo
This is what this functor is for.