rviz::AxesDisplay Class Reference

Displays a set of XYZ axes at the origin of a chosen frame. More...

#include <axes_display.h>

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

List of all members.

Public Member Functions

 AxesDisplay ()
void onInitialize ()
 Override this function to do subclass-specific initialization.
void set (float length, float radius)
 Set the parameters for the axes.
virtual void update (float dt, float ros_dt)
 Called periodically by the visualization manager.
virtual ~AxesDisplay ()

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 updateShape ()
 Update the length and radius of the axes object from property values.

Private Attributes

Axesaxes_
 Handles actually drawing the axes.
TfFramePropertyframe_property_
FloatPropertylength_property_
FloatPropertyradius_property_

Detailed Description

Displays a set of XYZ axes at the origin of a chosen frame.

Definition at line 43 of file axes_display.h.


Constructor & Destructor Documentation

rviz::AxesDisplay::AxesDisplay (  ) 

Definition at line 44 of file axes_display.cpp.

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

Definition at line 63 of file axes_display.cpp.


Member Function Documentation

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

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

Reimplemented from rviz::Display.

Definition at line 81 of file axes_display.cpp.

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

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

Reimplemented from rviz::Display.

Definition at line 76 of file axes_display.cpp.

void rviz::AxesDisplay::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 68 of file axes_display.cpp.

void rviz::AxesDisplay::set ( float  length,
float  radius 
)

Set the parameters for the axes.

Parameters:
length Length of each axis
radius Radius of each axis
void rviz::AxesDisplay::update ( float  wall_dt,
float  ros_dt 
) [virtual]

Called periodically by the visualization manager.

Parameters:
wall_dt Wall-clock time, in seconds, since the last time the update list was run through.
ros_dt ROS time, in seconds, since the last time the update list was run through.

Reimplemented from rviz::Display.

Definition at line 92 of file axes_display.cpp.

void rviz::AxesDisplay::updateShape (  )  [private, slot]

Update the length and radius of the axes object from property values.

Definition at line 86 of file axes_display.cpp.


Member Data Documentation

Handles actually drawing the axes.

Definition at line 72 of file axes_display.h.

Definition at line 76 of file axes_display.h.

Definition at line 74 of file axes_display.h.

Definition at line 75 of file axes_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