|
Point Cloud Library (PCL) 1.15.1
|
A helper struct to apply an SO3 or SE3 transform to a 3D point. More...
#include <pcl/common/impl/transforms.hpp>
Public Member Functions | |
| Transformer (const Eigen::Matrix< Scalar, 4, 4 > &transform) | |
| Construct a transformer object. | |
| void | so3 (const float *src, float *tgt) const |
| Apply SO3 transform (top-left corner of the transform matrix). | |
| void | se3 (const float *src, float *tgt) const |
| Apply SE3 transform. | |
Public Attributes | |
| const Eigen::Matrix< Scalar, 4, 4 > & | tf |
A helper struct to apply an SO3 or SE3 transform to a 3D point.
Supports single and double precision transform matrices.
Definition at line 67 of file transforms.hpp.
|
inline |
Construct a transformer object.
The transform matrix is captured by const reference. Make sure that it does not go out of scope before this object does.
Definition at line 74 of file transforms.hpp.
References tf.
|
inline |
Apply SE3 transform.
| [in] | src | input 3D point (pointer to 3 floats) |
| [out] | tgt | output 3D point (pointer to 4 floats), can be the same as input. The fourth element is set to 1. |
Definition at line 91 of file transforms.hpp.
References tf.
Referenced by pcl::transformPoint(), pcl::transformPointCloud(), pcl::transformPointCloud(), pcl::transformPointCloudWithNormals(), pcl::transformPointCloudWithNormals(), and pcl::transformPointWithNormal().
|
inline |
Apply SO3 transform (top-left corner of the transform matrix).
| [in] | src | input 3D point (pointer to 3 floats) |
| [out] | tgt | output 3D point (pointer to 4 floats), can be the same as input. The fourth element is set to 0. |
Definition at line 79 of file transforms.hpp.
References tf.
Referenced by pcl::transformPointCloudWithNormals(), pcl::transformPointCloudWithNormals(), and pcl::transformPointWithNormal().
| const Eigen::Matrix<Scalar, 4, 4>& pcl::detail::Transformer< Scalar >::tf |
Definition at line 69 of file transforms.hpp.
Referenced by se3(), so3(), and Transformer().