Class PolygonOutline
Defined in File polygon_parts.hpp
Class Documentation
-
class PolygonOutline
Constructs a manual ogre object to display the polygon outline as a line strip.
Public Functions
-
PolygonOutline(Ogre::SceneManager &scene_manager, Ogre::SceneNode &scene_node)
-
virtual ~PolygonOutline()
-
void reset()
-
void setPolygon(const polygon_msgs::msg::Polygon2D &polygon, const Ogre::ColourValue &color, double z_offset)
Set the object to display the outline of the given polygon, in a specific color, possibly offset in z.
- Parameters:
polygon – Polygon to display
color – Ogre color value (doesn’t include alpha)
z_offset – Amount in meters to offset each two dimensional pose into the z direction
-
PolygonOutline(Ogre::SceneManager &scene_manager, Ogre::SceneNode &scene_node)