Displays a sensor_msgs::Range message as a cone. More...
#include <range_display.h>
Public Member Functions | |
RangeDisplay () | |
virtual void | reset () |
Overridden from Display. | |
virtual | ~RangeDisplay () |
Protected Member Functions | |
virtual void | onInitialize () |
Overridden from Display. | |
virtual void | processMessage (const sensor_msgs::Range::ConstPtr &msg) |
Overridden from MessageFilterDisplay. | |
Private Slots | |
void | updateBufferLength () |
void | updateColorAndAlpha () |
void | updateQueueSize () |
Private Attributes | |
FloatProperty * | alpha_property_ |
IntProperty * | buffer_length_property_ |
ColorProperty * | color_property_ |
std::vector< Shape * > | cones_ |
Handles actually drawing the cones. | |
IntProperty * | queue_size_property_ |
Displays a sensor_msgs::Range message as a cone.
Definition at line 53 of file range_display.h.
Definition at line 46 of file range_display.cpp.
rviz::RangeDisplay::~RangeDisplay | ( | ) | [virtual] |
Definition at line 73 of file range_display.cpp.
void rviz::RangeDisplay::onInitialize | ( | ) | [protected, virtual] |
Overridden from Display.
Reimplemented from rviz::MessageFilterDisplay< sensor_msgs::Range >.
Definition at line 66 of file range_display.cpp.
void rviz::RangeDisplay::processMessage | ( | const sensor_msgs::Range::ConstPtr & | msg | ) | [protected, virtual] |
Overridden from MessageFilterDisplay.
Definition at line 128 of file range_display.cpp.
void rviz::RangeDisplay::reset | ( | ) | [virtual] |
Overridden from Display.
Reimplemented from rviz::MessageFilterDisplay< sensor_msgs::Range >.
Definition at line 81 of file range_display.cpp.
void rviz::RangeDisplay::updateBufferLength | ( | ) | [private, slot] |
Definition at line 103 of file range_display.cpp.
void rviz::RangeDisplay::updateColorAndAlpha | ( | ) | [private, slot] |
Definition at line 92 of file range_display.cpp.
void rviz::RangeDisplay::updateQueueSize | ( | ) | [private, slot] |
Definition at line 87 of file range_display.cpp.
FloatProperty* rviz::RangeDisplay::alpha_property_ [private] |
Definition at line 79 of file range_display.h.
Definition at line 80 of file range_display.h.
ColorProperty* rviz::RangeDisplay::color_property_ [private] |
Definition at line 78 of file range_display.h.
std::vector<Shape* > rviz::RangeDisplay::cones_ [private] |
Handles actually drawing the cones.
Definition at line 76 of file range_display.h.
Definition at line 81 of file range_display.h.