34 #ifndef ROBOT_NAV_RVIZ_PLUGINS_POLYGON_DISPLAY_H 35 #define ROBOT_NAV_RVIZ_PLUGINS_POLYGON_DISPLAY_H 37 #include <nav_2d_msgs/Polygon2DStamped.h> 43 #include <OgreManualObject.h> 44 #include <OgreMaterial.h> 59 void reset()
override;
63 void processMessage(
const nav_2d_msgs::Polygon2DStamped::ConstPtr& msg)
override;
81 #endif // ROBOT_NAV_RVIZ_PLUGINS_POLYGON_DISPLAY_H
PolygonOutline * outline_object_
Constructs a manual ogre object to display the polygon area as a triangle mesh.
Constructs a manual ogre object to display the polygon outline as a line strip.
PolygonMaterial polygon_material_
PolygonDisplayModeProperty * mode_property_
virtual ~PolygonDisplay()
Several reusable pieces for displaying polygons.
rviz::ColorProperty * filler_color_property_
void onInitialize() override
rviz::FloatProperty * zoffset_property_
Wrapper that creates a flat semi-transparent Ogre material and gives it a name.
PolygonFill * filler_object_
void processMessage(const nav_2d_msgs::Polygon2DStamped::ConstPtr &msg) override
rviz::FloatProperty * filler_alpha_property_
Wrapper for EnumProperty + enum for whether to display the outline, area, or both.
Displays a nav_2d_msgs::Polygon2DStamped message in Rviz.
rviz::ColorProperty * outline_color_property_