Namespaces | Functions
shape_to_marker.h File Reference
#include <shape_msgs/Mesh.h>
#include <shape_msgs/SolidPrimitive.h>
#include <visualization_msgs/Marker.h>
Include dependency graph for shape_to_marker.h:
This graph shows which files directly or indirectly include this file:

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.


geometric_shapes
Author(s): Ioan Sucan , Gil Jones
autogenerated on Thu Jun 8 2017 02:52:45