Public Member Functions | Protected Attributes | List of all members
robot_nav_rviz_plugins::PolygonOutline Class Reference

Constructs a manual ogre object to display the polygon outline as a line strip. More...

#include <polygon_parts.h>

Public Member Functions

 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 ()
 

Protected Attributes

Ogre::ManualObject * manual_object_
 
Ogre::SceneManager & scene_manager_
 
Ogre::SceneNode & scene_node_
 

Detailed Description

Constructs a manual ogre object to display the polygon outline as a line strip.

Definition at line 65 of file polygon_parts.h.

Constructor & Destructor Documentation

robot_nav_rviz_plugins::PolygonOutline::PolygonOutline ( Ogre::SceneManager &  scene_manager,
Ogre::SceneNode &  scene_node 
)

Definition at line 54 of file polygon_parts.cpp.

robot_nav_rviz_plugins::PolygonOutline::~PolygonOutline ( )
virtual

Definition at line 62 of file polygon_parts.cpp.

Member Function Documentation

void robot_nav_rviz_plugins::PolygonOutline::reset ( )

Definition at line 67 of file polygon_parts.cpp.

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
polygonPolygon to display
colorOgre color value (doesn't include alpha)
z_offsetAmount in meters to offset each two dimensional pose into the z direction

Definition at line 72 of file polygon_parts.cpp.

Member Data Documentation

Ogre::ManualObject* robot_nav_rviz_plugins::PolygonOutline::manual_object_
protected

Definition at line 82 of file polygon_parts.h.

Ogre::SceneManager& robot_nav_rviz_plugins::PolygonOutline::scene_manager_
protected

Definition at line 84 of file polygon_parts.h.

Ogre::SceneNode& robot_nav_rviz_plugins::PolygonOutline::scene_node_
protected

Definition at line 85 of file polygon_parts.h.


The documentation for this class was generated from the following files:


robot_nav_rviz_plugins
Author(s):
autogenerated on Sun Jan 10 2021 04:08:58