Displays a collision_map::CollisionMap message. More...
#include <collision_map_display.h>
Public Member Functions | |
CollisionMapDisplay (const std::string &name, rviz::VisualizationManager *manager) | |
virtual void | createProperties () |
virtual void | fixedFrameChanged () |
float | getAlpha () |
const rviz::Color & | getColor () |
bool | getOverrideColor () |
float | getPointSize () |
int | getRenderOperation () |
const std::string & | getTopic () |
virtual void | reset () |
void | setAlpha (float alpha) |
void | setColor (const rviz::Color &color) |
void | setOverrideColor (bool override) |
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 | ~CollisionMapDisplay () |
Protected Member Functions | |
void | clear () |
void | incomingMessage (const mapping_msgs::CollisionMap::ConstPtr &message) |
virtual void | onDisable () |
virtual void | onEnable () |
void | processMessage (const mapping_msgs::CollisionMap::ConstPtr &message) |
void | subscribe () |
void | unsubscribe () |
Protected Attributes | |
float | alpha_ |
rviz::FloatPropertyWPtr | alpha_property_ |
ogre_tools::PointCloud * | cloud_ |
rviz::Color | color_ |
rviz::ColorPropertyWPtr | color_property_ |
mapping_msgs::CollisionMap::ConstPtr | current_message_ |
Ogre::ManualObject * | manual_object_ |
bool | override_color_ |
rviz::BoolPropertyWPtr | override_color_property_ |
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::CollisionMap > | sub_ |
tf::MessageFilter < mapping_msgs::CollisionMap > | tf_filter_ |
std::string | topic_ |
rviz::ROSTopicStringPropertyWPtr | topic_property_ |
Displays a collision_map::CollisionMap message.
Definition at line 77 of file collision_map_display.h.
mapping_rviz_plugin::CollisionMapDisplay::CollisionMapDisplay | ( | const std::string & | name, | |
rviz::VisualizationManager * | manager | |||
) |
Definition at line 50 of file collision_map_display.cpp.
mapping_rviz_plugin::CollisionMapDisplay::~CollisionMapDisplay | ( | ) | [virtual] |
Definition at line 75 of file collision_map_display.cpp.
void mapping_rviz_plugin::CollisionMapDisplay::clear | ( | ) | [protected] |
Definition at line 85 of file collision_map_display.cpp.
void mapping_rviz_plugin::CollisionMapDisplay::createProperties | ( | ) | [virtual] |
Definition at line 321 of file collision_map_display.cpp.
void mapping_rviz_plugin::CollisionMapDisplay::fixedFrameChanged | ( | ) | [virtual] |
Definition at line 181 of file collision_map_display.cpp.
float mapping_rviz_plugin::CollisionMapDisplay::getAlpha | ( | ) | [inline] |
Definition at line 115 of file collision_map_display.h.
const rviz::Color& mapping_rviz_plugin::CollisionMapDisplay::getColor | ( | ) | [inline] |
Definition at line 91 of file collision_map_display.h.
bool mapping_rviz_plugin::CollisionMapDisplay::getOverrideColor | ( | ) | [inline] |
Definition at line 97 of file collision_map_display.h.
float mapping_rviz_plugin::CollisionMapDisplay::getPointSize | ( | ) | [inline] |
Definition at line 109 of file collision_map_display.h.
int mapping_rviz_plugin::CollisionMapDisplay::getRenderOperation | ( | ) | [inline] |
Definition at line 103 of file collision_map_display.h.
const std::string& mapping_rviz_plugin::CollisionMapDisplay::getTopic | ( | ) | [inline] |
Definition at line 85 of file collision_map_display.h.
void mapping_rviz_plugin::CollisionMapDisplay::incomingMessage | ( | const mapping_msgs::CollisionMap::ConstPtr & | message | ) | [protected] |
Definition at line 307 of file collision_map_display.cpp.
void mapping_rviz_plugin::CollisionMapDisplay::onDisable | ( | ) | [protected, virtual] |
Definition at line 174 of file collision_map_display.cpp.
void mapping_rviz_plugin::CollisionMapDisplay::onEnable | ( | ) | [protected, virtual] |
Definition at line 168 of file collision_map_display.cpp.
void mapping_rviz_plugin::CollisionMapDisplay::processMessage | ( | const mapping_msgs::CollisionMap::ConstPtr & | message | ) | [protected] |
Definition at line 191 of file collision_map_display.cpp.
void mapping_rviz_plugin::CollisionMapDisplay::reset | ( | ) | [virtual] |
Definition at line 312 of file collision_map_display.cpp.
void mapping_rviz_plugin::CollisionMapDisplay::setAlpha | ( | float | alpha | ) |
Definition at line 141 of file collision_map_display.cpp.
void mapping_rviz_plugin::CollisionMapDisplay::setColor | ( | const rviz::Color & | color | ) |
Definition at line 102 of file collision_map_display.cpp.
void mapping_rviz_plugin::CollisionMapDisplay::setOverrideColor | ( | bool | override | ) |
Definition at line 111 of file collision_map_display.cpp.
void mapping_rviz_plugin::CollisionMapDisplay::setPointSize | ( | float | size | ) |
Definition at line 131 of file collision_map_display.cpp.
void mapping_rviz_plugin::CollisionMapDisplay::setRenderOperation | ( | int | op | ) |
Definition at line 121 of file collision_map_display.cpp.
void mapping_rviz_plugin::CollisionMapDisplay::setTopic | ( | const std::string & | topic | ) |
Definition at line 91 of file collision_map_display.cpp.
void mapping_rviz_plugin::CollisionMapDisplay::subscribe | ( | ) | [protected] |
Definition at line 152 of file collision_map_display.cpp.
void mapping_rviz_plugin::CollisionMapDisplay::targetFrameChanged | ( | ) | [virtual] |
Definition at line 317 of file collision_map_display.cpp.
void mapping_rviz_plugin::CollisionMapDisplay::unsubscribe | ( | ) | [protected] |
Definition at line 163 of file collision_map_display.cpp.
void mapping_rviz_plugin::CollisionMapDisplay::update | ( | float | wall_dt, | |
float | ros_dt | |||
) | [virtual] |
Definition at line 187 of file collision_map_display.cpp.
float mapping_rviz_plugin::CollisionMapDisplay::alpha_ [protected] |
Definition at line 143 of file collision_map_display.h.
rviz::FloatPropertyWPtr mapping_rviz_plugin::CollisionMapDisplay::alpha_property_ [protected] |
Definition at line 158 of file collision_map_display.h.
ogre_tools::PointCloud* mapping_rviz_plugin::CollisionMapDisplay::cloud_ [protected] |
Definition at line 147 of file collision_map_display.h.
rviz::Color mapping_rviz_plugin::CollisionMapDisplay::color_ [protected] |
Definition at line 139 of file collision_map_display.h.
rviz::ColorPropertyWPtr mapping_rviz_plugin::CollisionMapDisplay::color_property_ [protected] |
Definition at line 153 of file collision_map_display.h.
mapping_msgs::CollisionMap::ConstPtr mapping_rviz_plugin::CollisionMapDisplay::current_message_ [protected] |
Definition at line 149 of file collision_map_display.h.
Ogre::ManualObject* mapping_rviz_plugin::CollisionMapDisplay::manual_object_ [protected] |
Definition at line 146 of file collision_map_display.h.
bool mapping_rviz_plugin::CollisionMapDisplay::override_color_ [protected] |
Definition at line 141 of file collision_map_display.h.
rviz::BoolPropertyWPtr mapping_rviz_plugin::CollisionMapDisplay::override_color_property_ [protected] |
Definition at line 155 of file collision_map_display.h.
float mapping_rviz_plugin::CollisionMapDisplay::point_size_ [protected] |
Definition at line 142 of file collision_map_display.h.
rviz::FloatPropertyWPtr mapping_rviz_plugin::CollisionMapDisplay::point_size_property_ [protected] |
Definition at line 157 of file collision_map_display.h.
int mapping_rviz_plugin::CollisionMapDisplay::render_operation_ [protected] |
Definition at line 140 of file collision_map_display.h.
rviz::EnumPropertyWPtr mapping_rviz_plugin::CollisionMapDisplay::render_operation_property_ [protected] |
Definition at line 156 of file collision_map_display.h.
Ogre::SceneNode* mapping_rviz_plugin::CollisionMapDisplay::scene_node_ [protected] |
Definition at line 145 of file collision_map_display.h.
message_filters::Subscriber<mapping_msgs::CollisionMap> mapping_rviz_plugin::CollisionMapDisplay::sub_ [protected] |
Definition at line 150 of file collision_map_display.h.
tf::MessageFilter<mapping_msgs::CollisionMap> mapping_rviz_plugin::CollisionMapDisplay::tf_filter_ [protected] |
Definition at line 151 of file collision_map_display.h.
std::string mapping_rviz_plugin::CollisionMapDisplay::topic_ [protected] |
Definition at line 138 of file collision_map_display.h.
rviz::ROSTopicStringPropertyWPtr mapping_rviz_plugin::CollisionMapDisplay::topic_property_ [protected] |
Definition at line 154 of file collision_map_display.h.