Autoware.Auto
autoware::common::lidar_utils::StaticTransformer Class Reference

Transform to apply a constant transform to given points. More...

#include <point_cloud_utils.hpp>

Public Member Functions

 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...
 

Detailed Description

Transform to apply a constant transform to given points.

Constructor & Destructor Documentation

◆ 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
tfTransform msg to be applied to points.

Member Function Documentation

◆ 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
TPoint type
Parameters
refInput point
outReference to output point

The documentation for this class was generated from the following files: