PolygonRosConverter.hpp
Go to the documentation of this file.
1 /*
2  * PolygonRosConverter.hpp
3  *
4  * Created on: Nov 7, 2014
5  * Author: Péter Fankhauser
6  * Institute: ETH Zurich, ANYbotics
7  */
8 
9 #pragma once
10 
12 
13 // STL
14 #include <string>
15 
16 // ROS
17 #include <ros/time.h>
18 #include <geometry_msgs/PolygonStamped.h>
19 #include <visualization_msgs/Marker.h>
20 #include <std_msgs/ColorRGBA.h>
21 
22 namespace grid_map {
23 
25 {
26  public:
27 
32 
37  virtual ~PolygonRosConverter();
38 
44  static void toMessage(const grid_map::Polygon& polygon, geometry_msgs::PolygonStamped& message);
45 
54  static void toLineMarker(const grid_map::Polygon& polygon, const std_msgs::ColorRGBA& color, const double lineWidth,
55  const double zCoordinate, visualization_msgs::Marker& marker);
56 
64  static void toTriangleListMarker(const grid_map::Polygon& polygon, const std_msgs::ColorRGBA& color,
65  const double zCoordinate, visualization_msgs::Marker& marker);
66 };
67 
68 } /* namespace grid_map */
static void toTriangleListMarker(const grid_map::Polygon &polygon, const std_msgs::ColorRGBA &color, const double zCoordinate, visualization_msgs::Marker &marker)
static void toMessage(const grid_map::Polygon &polygon, geometry_msgs::PolygonStamped &message)
static void toLineMarker(const grid_map::Polygon &polygon, const std_msgs::ColorRGBA &color, const double lineWidth, const double zCoordinate, visualization_msgs::Marker &marker)


grid_map_ros
Author(s): Péter Fankhauser
autogenerated on Tue Jun 1 2021 02:13:35