#include <shape_msgs/Mesh.h>
#include <shape_msgs/SolidPrimitive.h>
#include <visualization_msgs/Marker.h>
Go to the source code of this file.
Namespaces | |
namespace | geometric_shapes |
Functions | |
void | geometric_shapes::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. The corresponding marker will be constructed as a LINE_LIST (if use_mesh_triangle_list is false) or as a TRIANGLE_LIST (if use_mesh_triangle_list is true). On incorrect input, this function throws a std::runtime_error. | |
void | geometric_shapes::constructMarkerFromShape (const shape_msgs::SolidPrimitive &shape_msg, visualization_msgs::Marker &marker) |
Convert a shape_msgs::SolidPrimitive shape_msg to a visualization_msgs::Marker marker. On incorrect input, this function throws a std::runtime_error. |