rviz::RangeDisplay Class Reference

Displays a sensor_msgs::Range message as a cone. More...

#include <range_display.h>

Inheritance diagram for rviz::RangeDisplay:
Inheritance graph
[legend]

List of all members.

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

FloatPropertyalpha_property_
IntPropertybuffer_length_property_
ColorPropertycolor_property_
std::vector< Shape * > cones_
 Handles actually drawing the cones.

Detailed Description

Displays a sensor_msgs::Range message as a cone.

Definition at line 53 of file range_display.h.


Constructor & Destructor Documentation

rviz::RangeDisplay::RangeDisplay (  ) 

Definition at line 45 of file range_display.cpp.

rviz::RangeDisplay::~RangeDisplay (  )  [virtual]

Definition at line 68 of file range_display.cpp.


Member Function Documentation

void rviz::RangeDisplay::onInitialize (  )  [protected, virtual]

Overridden from Display.

Reimplemented from rviz::MessageFilterDisplay< sensor_msgs::Range >.

Definition at line 61 of file range_display.cpp.

void rviz::RangeDisplay::processMessage ( const sensor_msgs::Range::ConstPtr &  msg  )  [protected, virtual]

Overridden from MessageFilterDisplay.

Definition at line 118 of file range_display.cpp.

void rviz::RangeDisplay::reset (  )  [virtual]

Overridden from Display.

Reimplemented from rviz::MessageFilterDisplay< sensor_msgs::Range >.

Definition at line 76 of file range_display.cpp.

void rviz::RangeDisplay::updateBufferLength (  )  [private, slot]

Definition at line 93 of file range_display.cpp.

void rviz::RangeDisplay::updateColorAndAlpha (  )  [private, slot]

Definition at line 82 of file range_display.cpp.


Member Data Documentation

Definition at line 78 of file range_display.h.

Definition at line 79 of file range_display.h.

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


rviz
Author(s): Dave Hershberger, Josh Faust
autogenerated on Wed Jun 6 11:25:48 2012