Transform to apply a constant transform to given points.
More...
#include <point_cloud_utils.hpp>
|
| StaticTransformer (const geometry_msgs::msg::Transform &tf) |
| Constructor. Pre-computes the rotation and translation matrices from the transform msg. More...
|
|
template<typename T > |
void | transform (const T &ref, T &out) const |
| Apply the transform to a point that has the proper point adapters defined. More...
|
|
Transform to apply a constant transform to given points.
◆ StaticTransformer()
autoware::common::lidar_utils::StaticTransformer::StaticTransformer |
( |
const geometry_msgs::msg::Transform & |
tf | ) |
|
|
explicit |
Constructor. Pre-computes the rotation and translation matrices from the transform msg.
- Parameters
-
tf | Transform msg to be applied to points. |
◆ transform()
template<typename T >
void autoware::common::lidar_utils::StaticTransformer::transform |
( |
const T & |
ref, |
|
|
T & |
out |
|
) |
| const |
|
inline |
Apply the transform to a point that has the proper point adapters defined.
- Template Parameters
-
- Parameters
-
ref | Input point |
out | Reference to output point |
The documentation for this class was generated from the following files: