Public Types | Public Member Functions | Private Slots | Private Attributes
rviz::GridDisplay Class Reference

Displays a grid in either the XY, YZ, or XZ plane. More...

#include <grid_display.h>

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

List of all members.

Public Types

enum  Plane { XY, XZ, YZ }

Public Member Functions

 GridDisplay ()
virtual void onInitialize ()
 Override this function to do subclass-specific initialization.
virtual void update (float dt, float ros_dt)
 Called periodically by the visualization manager.
virtual ~GridDisplay ()

Private Slots

void updateCellCount ()
void updateCellSize ()
void updateColor ()
void updateHeight ()
void updateLineWidth ()
void updateOffset ()
void updatePlane ()
void updateStyle ()

Private Attributes

FloatPropertyalpha_property_
IntPropertycell_count_property_
FloatPropertycell_size_property_
ColorPropertycolor_property_
TfFramePropertyframe_property_
Gridgrid_
 Handles actually drawing the grid.
IntPropertyheight_property_
FloatPropertyline_width_property_
VectorPropertyoffset_property_
EnumPropertyplane_property_
EnumPropertystyle_property_

Detailed Description

Displays a grid in either the XY, YZ, or XZ plane.

For more information see Grid

Definition at line 51 of file grid_display.h.


Member Enumeration Documentation

Enumerator:
XY 
XZ 
YZ 

Definition at line 55 of file grid_display.h.


Constructor & Destructor Documentation

Definition at line 49 of file grid_display.cpp.

Definition at line 105 of file grid_display.cpp.


Member Function Documentation

void rviz::GridDisplay::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 110 of file grid_display.cpp.

void rviz::GridDisplay::update ( float  wall_dt,
float  ros_dt 
) [virtual]

Called periodically by the visualization manager.

Parameters:
wall_dtWall-clock time, in seconds, since the last time the update list was run through.
ros_dtROS time, in seconds, since the last time the update list was run through.

Reimplemented from rviz::Display.

Definition at line 127 of file grid_display.cpp.

void rviz::GridDisplay::updateCellCount ( ) [private, slot]

Definition at line 169 of file grid_display.cpp.

void rviz::GridDisplay::updateCellSize ( ) [private, slot]

Definition at line 163 of file grid_display.cpp.

void rviz::GridDisplay::updateColor ( ) [private, slot]

Definition at line 155 of file grid_display.cpp.

void rviz::GridDisplay::updateHeight ( ) [private, slot]

Definition at line 181 of file grid_display.cpp.

void rviz::GridDisplay::updateLineWidth ( ) [private, slot]

Definition at line 175 of file grid_display.cpp.

void rviz::GridDisplay::updateOffset ( ) [private, slot]

Definition at line 205 of file grid_display.cpp.

void rviz::GridDisplay::updatePlane ( ) [private, slot]

Definition at line 211 of file grid_display.cpp.

void rviz::GridDisplay::updateStyle ( ) [private, slot]

Definition at line 187 of file grid_display.cpp.


Member Data Documentation

Definition at line 89 of file grid_display.h.

Definition at line 83 of file grid_display.h.

Definition at line 85 of file grid_display.h.

Definition at line 88 of file grid_display.h.

Definition at line 82 of file grid_display.h.

Handles actually drawing the grid.

Definition at line 80 of file grid_display.h.

Definition at line 84 of file grid_display.h.

Definition at line 86 of file grid_display.h.

Definition at line 91 of file grid_display.h.

Definition at line 90 of file grid_display.h.

Definition at line 87 of file grid_display.h.


The documentation for this class was generated from the following files:


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Mon Oct 6 2014 07:26:37