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 () |
Private Attributes | |
FloatProperty * | alpha_property_ |
IntProperty * | buffer_length_property_ |
ColorProperty * | color_property_ |
std::vector< Shape * > | cones_ |
Handles actually drawing the cones. |
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 69 of file range_display.cpp.
void rviz::RangeDisplay::onInitialize | ( | ) | [protected, virtual] |
Overridden from Display.
Reimplemented from rviz::MessageFilterDisplay< sensor_msgs::Range >.
Definition at line 62 of file range_display.cpp.
void rviz::RangeDisplay::processMessage | ( | const sensor_msgs::Range::ConstPtr & | msg | ) | [protected, virtual] |
Overridden from MessageFilterDisplay.
Definition at line 119 of file range_display.cpp.
void rviz::RangeDisplay::reset | ( | ) | [virtual] |
Overridden from Display.
Reimplemented from rviz::MessageFilterDisplay< sensor_msgs::Range >.
Definition at line 77 of file range_display.cpp.
void rviz::RangeDisplay::updateBufferLength | ( | ) | [private, slot] |
Definition at line 94 of file range_display.cpp.
void rviz::RangeDisplay::updateColorAndAlpha | ( | ) | [private, slot] |
Definition at line 83 of file range_display.cpp.
FloatProperty* rviz::RangeDisplay::alpha_property_ [private] |
Definition at line 78 of file range_display.h.
Definition at line 79 of file range_display.h.
ColorProperty* rviz::RangeDisplay::color_property_ [private] |
Definition at line 77 of file range_display.h.
std::vector<Shape* > rviz::RangeDisplay::cones_ [private] |
Handles actually drawing the cones.
Definition at line 75 of file range_display.h.