rviz::GridCellsDisplay Class Reference

Displays a nav_msgs::GridCells message. More...

#include <grid_cells_display.h>

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

List of all members.

Public Member Functions

virtual void fixedFrameChanged ()
 Called by setFixedFrame(). Override to respond to changes to fixed_frame_.
 GridCellsDisplay ()
virtual void onInitialize ()
 Override this function to do subclass-specific initialization.
virtual void reset ()
 Called to tell the display to clear its state.
virtual ~GridCellsDisplay ()

Protected Member Functions

virtual void onDisable ()
 Derived classes override this to do the actual work of disabling themselves.
virtual void onEnable ()
 Derived classes override this to do the actual work of enabling themselves.

Private Slots

void updateAlpha ()
void updateTopic ()

Private Member Functions

void clear ()
void incomingMessage (const nav_msgs::GridCells::ConstPtr &msg)
void subscribe ()
void unsubscribe ()

Private Attributes

FloatPropertyalpha_property_
PointCloudcloud_
ColorPropertycolor_property_
uint64_t last_frame_count_
uint32_t messages_received_
Ogre::SceneNode * scene_node_
message_filters::Subscriber
< nav_msgs::GridCells > 
sub_
tf::MessageFilter
< nav_msgs::GridCells > * 
tf_filter_
RosTopicPropertytopic_property_

Detailed Description

Displays a nav_msgs::GridCells message.

Definition at line 62 of file grid_cells_display.h.


Constructor & Destructor Documentation

rviz::GridCellsDisplay::GridCellsDisplay (  ) 

Definition at line 52 of file grid_cells_display.cpp.

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

Definition at line 94 of file grid_cells_display.cpp.


Member Function Documentation

void rviz::GridCellsDisplay::clear (  )  [private]

Definition at line 104 of file grid_cells_display.cpp.

void rviz::GridCellsDisplay::fixedFrameChanged (  )  [virtual]

Called by setFixedFrame(). Override to respond to changes to fixed_frame_.

Reimplemented from rviz::Display.

Definition at line 161 of file grid_cells_display.cpp.

void rviz::GridCellsDisplay::incomingMessage ( const nav_msgs::GridCells::ConstPtr &  msg  )  [private]

Definition at line 177 of file grid_cells_display.cpp.

void rviz::GridCellsDisplay::onDisable (  )  [protected, virtual]

Derived classes override this to do the actual work of disabling themselves.

Reimplemented from rviz::Display.

Definition at line 154 of file grid_cells_display.cpp.

void rviz::GridCellsDisplay::onEnable (  )  [protected, virtual]

Derived classes override this to do the actual work of enabling themselves.

Reimplemented from rviz::Display.

Definition at line 148 of file grid_cells_display.cpp.

void rviz::GridCellsDisplay::onInitialize (  )  [virtual]

Override this function to do subclass-specific initialization.

This is called after vis_manager_ and scene_manager_ are set, and before load() or setEnabled().

setName() may or may not have been called before this.

Reimplemented from rviz::Display.

Definition at line 72 of file grid_cells_display.cpp.

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

Called to tell the display to clear its state.

Reimplemented from rviz::Display.

Definition at line 250 of file grid_cells_display.cpp.

void rviz::GridCellsDisplay::subscribe (  )  [private]

Definition at line 125 of file grid_cells_display.cpp.

void rviz::GridCellsDisplay::unsubscribe (  )  [private]

Definition at line 143 of file grid_cells_display.cpp.

void rviz::GridCellsDisplay::updateAlpha (  )  [private, slot]

Definition at line 119 of file grid_cells_display.cpp.

void rviz::GridCellsDisplay::updateTopic (  )  [private, slot]

Definition at line 112 of file grid_cells_display.cpp.


Member Data Documentation

Definition at line 98 of file grid_cells_display.h.

Definition at line 91 of file grid_cells_display.h.

Definition at line 96 of file grid_cells_display.h.

Definition at line 101 of file grid_cells_display.h.

Definition at line 100 of file grid_cells_display.h.

Ogre::SceneNode* rviz::GridCellsDisplay::scene_node_ [private]

Definition at line 90 of file grid_cells_display.h.

message_filters::Subscriber<nav_msgs::GridCells> rviz::GridCellsDisplay::sub_ [private]

Definition at line 93 of file grid_cells_display.h.

tf::MessageFilter<nav_msgs::GridCells>* rviz::GridCellsDisplay::tf_filter_ [private]

Definition at line 94 of file grid_cells_display.h.

Definition at line 97 of file grid_cells_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:47 2012