Displays a mapping_msgs::PolygonalMap message. More...
#include <polygonal_map_display.h>
Public Member Functions | |
virtual void | createProperties () |
virtual void | fixedFrameChanged () |
float | getAlpha () |
const rviz::Color & | getColor () |
float | getLineWidth () |
float | getPointSize () |
int | getRenderOperation () |
const std::string & | getTopic () |
PolygonalMapDisplay (const std::string &name, rviz::VisualizationManager *manager) | |
virtual void | reset () |
void | setAlpha (float alpha) |
void | setColor (const rviz::Color &color) |
void | setLineWidth (float width) |
void | setPointSize (float size) |
void | setRenderOperation (int op) |
void | setTopic (const std::string &topic) |
virtual void | targetFrameChanged () |
virtual void | update (float wall_dt, float ros_dt) |
virtual | ~PolygonalMapDisplay () |
Protected Member Functions | |
void | clear () |
void | incomingMessage (const mapping_msgs::PolygonalMap::ConstPtr &msg) |
virtual void | onDisable () |
virtual void | onEnable () |
void | processMessage (const mapping_msgs::PolygonalMap::ConstPtr &msg) |
void | subscribe () |
void | unsubscribe () |
Protected Attributes | |
float | alpha_ |
rviz::FloatPropertyWPtr | alpha_property_ |
ogre_tools::BillboardLine * | billboard_line_ |
ogre_tools::PointCloud * | cloud_ |
rviz::Color | color_ |
rviz::ColorPropertyWPtr | color_property_ |
mapping_msgs::PolygonalMap::ConstPtr | current_message_ |
float | line_width_ |
rviz::FloatPropertyWPtr | line_width_property_ |
Ogre::ManualObject * | manual_object_ |
float | point_size_ |
rviz::FloatPropertyWPtr | point_size_property_ |
int | render_operation_ |
rviz::EnumPropertyWPtr | render_operation_property_ |
Ogre::SceneNode * | scene_node_ |
message_filters::Subscriber < mapping_msgs::PolygonalMap > | sub_ |
tf::MessageFilter < mapping_msgs::PolygonalMap > | tf_filter_ |
std::string | topic_ |
rviz::ROSTopicStringPropertyWPtr | topic_property_ |
Displays a mapping_msgs::PolygonalMap message.
Definition at line 81 of file polygonal_map_display.h.
mapping_rviz_plugin::PolygonalMapDisplay::PolygonalMapDisplay | ( | const std::string & | name, | |
rviz::VisualizationManager * | manager | |||
) |
Definition at line 41 of file polygonal_map_display.cpp.
mapping_rviz_plugin::PolygonalMapDisplay::~PolygonalMapDisplay | ( | ) | [virtual] |
Definition at line 69 of file polygonal_map_display.cpp.
void mapping_rviz_plugin::PolygonalMapDisplay::clear | ( | ) | [protected] |
Definition at line 80 of file polygonal_map_display.cpp.
void mapping_rviz_plugin::PolygonalMapDisplay::createProperties | ( | ) | [virtual] |
Definition at line 320 of file polygonal_map_display.cpp.
void mapping_rviz_plugin::PolygonalMapDisplay::fixedFrameChanged | ( | ) | [virtual] |
Definition at line 176 of file polygonal_map_display.cpp.
float mapping_rviz_plugin::PolygonalMapDisplay::getAlpha | ( | ) | [inline] |
Definition at line 113 of file polygonal_map_display.h.
const rviz::Color& mapping_rviz_plugin::PolygonalMapDisplay::getColor | ( | ) | [inline] |
Definition at line 95 of file polygonal_map_display.h.
float mapping_rviz_plugin::PolygonalMapDisplay::getLineWidth | ( | ) | [inline] |
Definition at line 126 of file polygonal_map_display.h.
float mapping_rviz_plugin::PolygonalMapDisplay::getPointSize | ( | ) | [inline] |
Definition at line 107 of file polygonal_map_display.h.
int mapping_rviz_plugin::PolygonalMapDisplay::getRenderOperation | ( | ) | [inline] |
Definition at line 101 of file polygonal_map_display.h.
const std::string& mapping_rviz_plugin::PolygonalMapDisplay::getTopic | ( | ) | [inline] |
Definition at line 89 of file polygonal_map_display.h.
void mapping_rviz_plugin::PolygonalMapDisplay::incomingMessage | ( | const mapping_msgs::PolygonalMap::ConstPtr & | msg | ) | [protected] |
Definition at line 306 of file polygonal_map_display.cpp.
void mapping_rviz_plugin::PolygonalMapDisplay::onDisable | ( | ) | [protected, virtual] |
Definition at line 169 of file polygonal_map_display.cpp.
void mapping_rviz_plugin::PolygonalMapDisplay::onEnable | ( | ) | [protected, virtual] |
Definition at line 163 of file polygonal_map_display.cpp.
void mapping_rviz_plugin::PolygonalMapDisplay::processMessage | ( | const mapping_msgs::PolygonalMap::ConstPtr & | msg | ) | [protected] |
Definition at line 186 of file polygonal_map_display.cpp.
void mapping_rviz_plugin::PolygonalMapDisplay::reset | ( | ) | [virtual] |
Definition at line 311 of file polygonal_map_display.cpp.
void mapping_rviz_plugin::PolygonalMapDisplay::setAlpha | ( | float | alpha | ) |
Definition at line 139 of file polygonal_map_display.cpp.
void mapping_rviz_plugin::PolygonalMapDisplay::setColor | ( | const rviz::Color & | color | ) |
Definition at line 98 of file polygonal_map_display.cpp.
void mapping_rviz_plugin::PolygonalMapDisplay::setLineWidth | ( | float | width | ) |
Definition at line 118 of file polygonal_map_display.cpp.
void mapping_rviz_plugin::PolygonalMapDisplay::setPointSize | ( | float | size | ) |
Definition at line 128 of file polygonal_map_display.cpp.
void mapping_rviz_plugin::PolygonalMapDisplay::setRenderOperation | ( | int | op | ) |
Definition at line 108 of file polygonal_map_display.cpp.
void mapping_rviz_plugin::PolygonalMapDisplay::setTopic | ( | const std::string & | topic | ) |
Definition at line 87 of file polygonal_map_display.cpp.
void mapping_rviz_plugin::PolygonalMapDisplay::subscribe | ( | ) | [protected] |
Definition at line 150 of file polygonal_map_display.cpp.
void mapping_rviz_plugin::PolygonalMapDisplay::targetFrameChanged | ( | ) | [virtual] |
Definition at line 316 of file polygonal_map_display.cpp.
void mapping_rviz_plugin::PolygonalMapDisplay::unsubscribe | ( | ) | [protected] |
Definition at line 158 of file polygonal_map_display.cpp.
void mapping_rviz_plugin::PolygonalMapDisplay::update | ( | float | wall_dt, | |
float | ros_dt | |||
) | [virtual] |
Definition at line 182 of file polygonal_map_display.cpp.
float mapping_rviz_plugin::PolygonalMapDisplay::alpha_ [protected] |
Definition at line 143 of file polygonal_map_display.h.
rviz::FloatPropertyWPtr mapping_rviz_plugin::PolygonalMapDisplay::alpha_property_ [protected] |
Definition at line 160 of file polygonal_map_display.h.
ogre_tools::BillboardLine* mapping_rviz_plugin::PolygonalMapDisplay::billboard_line_ [protected] |
Definition at line 154 of file polygonal_map_display.h.
ogre_tools::PointCloud* mapping_rviz_plugin::PolygonalMapDisplay::cloud_ [protected] |
Definition at line 148 of file polygonal_map_display.h.
rviz::Color mapping_rviz_plugin::PolygonalMapDisplay::color_ [protected] |
Definition at line 140 of file polygonal_map_display.h.
rviz::ColorPropertyWPtr mapping_rviz_plugin::PolygonalMapDisplay::color_property_ [protected] |
Definition at line 156 of file polygonal_map_display.h.
mapping_msgs::PolygonalMap::ConstPtr mapping_rviz_plugin::PolygonalMapDisplay::current_message_ [protected] |
Definition at line 150 of file polygonal_map_display.h.
float mapping_rviz_plugin::PolygonalMapDisplay::line_width_ [protected] |
Definition at line 144 of file polygonal_map_display.h.
rviz::FloatPropertyWPtr mapping_rviz_plugin::PolygonalMapDisplay::line_width_property_ [protected] |
Definition at line 161 of file polygonal_map_display.h.
Ogre::ManualObject* mapping_rviz_plugin::PolygonalMapDisplay::manual_object_ [protected] |
Definition at line 147 of file polygonal_map_display.h.
float mapping_rviz_plugin::PolygonalMapDisplay::point_size_ [protected] |
Definition at line 142 of file polygonal_map_display.h.
rviz::FloatPropertyWPtr mapping_rviz_plugin::PolygonalMapDisplay::point_size_property_ [protected] |
Definition at line 159 of file polygonal_map_display.h.
int mapping_rviz_plugin::PolygonalMapDisplay::render_operation_ [protected] |
Definition at line 141 of file polygonal_map_display.h.
rviz::EnumPropertyWPtr mapping_rviz_plugin::PolygonalMapDisplay::render_operation_property_ [protected] |
Definition at line 158 of file polygonal_map_display.h.
Ogre::SceneNode* mapping_rviz_plugin::PolygonalMapDisplay::scene_node_ [protected] |
Definition at line 146 of file polygonal_map_display.h.
message_filters::Subscriber<mapping_msgs::PolygonalMap> mapping_rviz_plugin::PolygonalMapDisplay::sub_ [protected] |
Definition at line 151 of file polygonal_map_display.h.
tf::MessageFilter<mapping_msgs::PolygonalMap> mapping_rviz_plugin::PolygonalMapDisplay::tf_filter_ [protected] |
Definition at line 152 of file polygonal_map_display.h.
std::string mapping_rviz_plugin::PolygonalMapDisplay::topic_ [protected] |
Definition at line 139 of file polygonal_map_display.h.
rviz::ROSTopicStringPropertyWPtr mapping_rviz_plugin::PolygonalMapDisplay::topic_property_ [protected] |
Definition at line 157 of file polygonal_map_display.h.