Go to the documentation of this file.
34 #ifndef ROBOT_NAV_RVIZ_PLUGINS_POLYGONS_DISPLAY_H
35 #define ROBOT_NAV_RVIZ_PLUGINS_POLYGONS_DISPLAY_H
37 #include <nav_2d_msgs/Polygon2DCollection.h>
43 #include <OgreManualObject.h>
44 #include <OgreMaterial.h>
59 void reset()
override;
62 void processMessage(
const nav_2d_msgs::Polygon2DCollection::ConstPtr& msg)
override;
92 #endif // ROBOT_NAV_RVIZ_PLUGINS_POLYGONS_DISPLAY_H
virtual int getOptionInt()
rviz::FloatProperty * filler_alpha_property_
rviz::FloatProperty * zoffset_property_
PolygonDisplayModeProperty * mode_property_
Several reusable pieces for displaying polygons.
rviz::ColorProperty * filler_color_property_
std::vector< nav_2d_msgs::Polygon2D > saved_outlines_
void processMessage(const nav_2d_msgs::Polygon2DCollection::ConstPtr &msg) override
FillColorMode getFillColorMode() const
std::vector< std_msgs::ColorRGBA > unique_colors_
std::vector< PolygonFill * > filler_objects_
nav_2d_msgs::Polygon2DCollection saved_polygons_
std::vector< PolygonOutline * > outline_objects_
rviz::EnumProperty * color_mode_property_
PolygonMaterial polygon_material_
Displays a nav_2d_msgs::Polygon2DCollection message in Rviz.
virtual ~PolygonsDisplay()
Wrapper for EnumProperty + enum for whether to display the outline, area, or both.
Wrapper that creates a flat semi-transparent Ogre material and gives it a name.
rviz::ColorProperty * outline_color_property_