Transform a 3D prism shape msg into a transformed vector points.
More...
#include <greedy_roi_associator.hpp>
|
using | Point32 = geometry_msgs::msg::Point32 |
|
|
| ShapeTransformer (const geometry_msgs::msg::Transform &tf) |
|
std::vector< Point32 > | operator() (const autoware_auto_perception_msgs::msg::Shape &shape, const geometry_msgs::msg::Point ¢roid, const geometry_msgs::msg::Quaternion &orientation) const |
| Transform the bottom and top face vertices of the given shape. No order is preserved. More...
|
|
Transform a 3D prism shape msg into a transformed vector points.
◆ Point32
◆ ShapeTransformer()
autoware::perception::tracking::details::ShapeTransformer::ShapeTransformer |
( |
const geometry_msgs::msg::Transform & |
tf | ) |
|
|
explicit |
◆ operator()()
std::vector< geometry_msgs::msg::Point32 > autoware::perception::tracking::details::ShapeTransformer::operator() |
( |
const autoware_auto_perception_msgs::msg::Shape & |
shape, |
|
|
const geometry_msgs::msg::Point & |
centroid, |
|
|
const geometry_msgs::msg::Quaternion & |
orientation |
|
) |
| const |
Transform the bottom and top face vertices of the given shape. No order is preserved.
- Parameters
-
shape | Shape msg with corners in object-local coordinate |
centroid | Centroid of the object whose corners are defined in shape |
orientation | Orientation of the object |
- Returns
- Transformed vertices of the bottom and the top face.
The documentation for this class was generated from the following files: