35 #ifndef GEOMETRIC_SHAPES_SHAPE_TO_MARKER_ 36 #define GEOMETRIC_SHAPES_SHAPE_TO_MARKER_ 38 #include <shape_msgs/Mesh.h> 39 #include <shape_msgs/SolidPrimitive.h> 40 #include <visualization_msgs/Marker.h> 50 bool use_mesh_triangle_list =
true);
void constructMarkerFromShape(const shape_msgs::Mesh &shape_msg, visualization_msgs::Marker &marker, bool use_mesh_triangle_list=true)
Convert a shape_msgs::Mesh shape_msg to a visualization_msgs::Marker marker.