A convenience class for generating markers based on various clustering and fitting data. More...
#include <marker_generator.h>
Static Public Member Functions | |
template<class PointCloudType > | |
static visualization_msgs::Marker | getCloudMarker (const PointCloudType &cloud) |
A marker with all the points in a cloud in a random color. | |
static visualization_msgs::Marker | getFitMarker (const geometric_shapes_msgs::Shape &mesh, double rank) |
A marker showing where a fit model is believed to be. | |
static visualization_msgs::Marker | getTableMarker (float xmin, float xmax, float ymin, float ymax) |
Create a line strip marker that goes around a detected table. |
A convenience class for generating markers based on various clustering and fitting data.
Just a place to group all the different debug marker generators so they don't polute other classes.
Definition at line 55 of file marker_generator.h.
visualization_msgs::Marker tabletop_object_detector::MarkerGenerator::getCloudMarker | ( | const PointCloudType & | cloud | ) | [inline, static] |
A marker with all the points in a cloud in a random color.
It is the responsibility of the caller to set the appropriate pose for the marker so that it shows up in the right reference frame.
Definition at line 71 of file marker_generator.h.
visualization_msgs::Marker tabletop_object_detector::MarkerGenerator::getFitMarker | ( | const geometric_shapes_msgs::Shape & | mesh, | |
double | rank | |||
) | [static] |
A marker showing where a fit model is believed to be.
Definition at line 50 of file marker_generator.cpp.
visualization_msgs::Marker tabletop_object_detector::MarkerGenerator::getTableMarker | ( | float | xmin, | |
float | xmax, | |||
float | ymin, | |||
float | ymax | |||
) | [static] |
Create a line strip marker that goes around a detected table.
The point cloud is a set of points belonging to the plane, in the plane coordinate system (with the origin in the plane and the z axis normal to the plane).
It is the responsibility of the caller to set the appropriate pose for the marker so that it shows up in the right reference frame.
Definition at line 85 of file marker_generator.cpp.