#include <marker_array_display.h>
Public Member Functions | |
virtual void | createProperties () |
Called from setPropertyManager, gives the display a chance to create some properties immediately. | |
const std::string & | getTopic () |
MarkerArrayDisplay () | |
void | setTopic (const std::string &topic) |
virtual | ~MarkerArrayDisplay () |
Protected Member Functions | |
void | handleMarkerArray (const visualization_msgs::MarkerArray::ConstPtr &array) |
virtual void | subscribe () |
Subscribes to the marker array topic. | |
virtual void | unsubscribe () |
Unsubscribes from the marker array topic. | |
Protected Attributes | |
std::string | topic_ |
ROSTopicStringPropertyWPtr | topic_property_ |
Display for an array of markers. The MarkerDisplay class handles MarkerArray messages. This is just a wrapper to let MarkerArray topics get selected in the topic browser.
Definition at line 42 of file marker_array_display.h.
Definition at line 37 of file marker_array_display.cpp.
rviz::MarkerArrayDisplay::~MarkerArrayDisplay | ( | ) | [virtual] |
Definition at line 43 of file marker_array_display.cpp.
void rviz::MarkerArrayDisplay::createProperties | ( | ) | [virtual] |
Called from setPropertyManager, gives the display a chance to create some properties immediately.
When this function is called, the property_manager_ member is valid and will stay valid
Reimplemented from rviz::MarkerDisplay.
Definition at line 55 of file marker_array_display.cpp.
const std::string& rviz::MarkerArrayDisplay::getTopic | ( | ) | [inline] |
Definition at line 49 of file marker_array_display.h.
void rviz::MarkerArrayDisplay::handleMarkerArray | ( | const visualization_msgs::MarkerArray::ConstPtr & | array | ) | [protected] |
Definition at line 108 of file marker_array_display.cpp.
void rviz::MarkerArrayDisplay::setTopic | ( | const std::string & | topic | ) |
Definition at line 47 of file marker_array_display.cpp.
void rviz::MarkerArrayDisplay::subscribe | ( | ) | [protected, virtual] |
Subscribes to the marker array topic.
Reimplemented from rviz::MarkerDisplay.
Definition at line 78 of file marker_array_display.cpp.
void rviz::MarkerArrayDisplay::unsubscribe | ( | ) | [protected, virtual] |
Unsubscribes from the marker array topic.
Reimplemented from rviz::MarkerDisplay.
Definition at line 101 of file marker_array_display.cpp.
std::string rviz::MarkerArrayDisplay::topic_ [protected] |
Definition at line 65 of file marker_array_display.h.
ROSTopicStringPropertyWPtr rviz::MarkerArrayDisplay::topic_property_ [protected] |
Definition at line 66 of file marker_array_display.h.