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  shape_tools

Functions

void shape_tools::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 shape_tools::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.


shape_tools
Author(s): Ioan Sucan , Gil Jones
autogenerated on Mon Oct 6 2014 07:37:21