Constructs a manual ogre object to display the polygon outline as a line strip.
More...
#include <polygon_parts.h>
|
| PolygonOutline (Ogre::SceneManager &scene_manager, Ogre::SceneNode &scene_node) |
|
void | reset () |
|
void | setPolygon (const nav_2d_msgs::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. More...
|
|
virtual | ~PolygonOutline () |
|
Constructs a manual ogre object to display the polygon outline as a line strip.
Definition at line 65 of file polygon_parts.h.
robot_nav_rviz_plugins::PolygonOutline::PolygonOutline |
( |
Ogre::SceneManager & |
scene_manager, |
|
|
Ogre::SceneNode & |
scene_node |
|
) |
| |
robot_nav_rviz_plugins::PolygonOutline::~PolygonOutline |
( |
| ) |
|
|
virtual |
void robot_nav_rviz_plugins::PolygonOutline::reset |
( |
| ) |
|
void robot_nav_rviz_plugins::PolygonOutline::setPolygon |
( |
const nav_2d_msgs::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 |
Definition at line 72 of file polygon_parts.cpp.
Ogre::ManualObject* robot_nav_rviz_plugins::PolygonOutline::manual_object_ |
|
protected |
Ogre::SceneManager& robot_nav_rviz_plugins::PolygonOutline::scene_manager_ |
|
protected |
Ogre::SceneNode& robot_nav_rviz_plugins::PolygonOutline::scene_node_ |
|
protected |
The documentation for this class was generated from the following files: