Public Member Functions | Protected Member Functions | Private Types | Private Slots | Private Member Functions | Private Attributes | Friends
rviz::TFDisplay Class Reference

Displays a visual representation of the TF hierarchy. More...

#include <tf_display.h>

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

List of all members.

Public Member Functions

 TFDisplay ()
virtual void update (float wall_dt, float ros_dt)
 Called periodically by the visualization manager.
virtual ~TFDisplay ()

Protected Member Functions

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

Private Types

typedef std::map< std::string,
FrameInfo * > 
M_FrameInfo

Private Slots

void allEnabledChanged ()
void updateShowArrows ()
void updateShowAxes ()
void updateShowNames ()

Private Member Functions

void clear ()
FrameInfocreateFrame (const std::string &frame)
void deleteFrame (FrameInfo *frame, bool delete_properties)
FrameInfogetFrameInfo (const std::string &frame)
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.
void updateFrame (FrameInfo *frame)
void updateFrames ()

Private Attributes

BoolPropertyall_enabled_property_
Ogre::SceneNode * arrows_node_
Ogre::SceneNode * axes_node_
bool changing_single_frame_enabled_state_
FloatPropertyframe_timeout_property_
M_FrameInfo frames_
Propertyframes_category_
Ogre::SceneNode * names_node_
Ogre::SceneNode * root_node_
FloatPropertyscale_property_
BoolPropertyshow_arrows_property_
BoolPropertyshow_axes_property_
BoolPropertyshow_names_property_
Propertytree_category_
FloatPropertyupdate_rate_property_
float update_timer_

Friends

class FrameInfo

Detailed Description

Displays a visual representation of the TF hierarchy.

Definition at line 64 of file tf_display.h.


Member Typedef Documentation

typedef std::map<std::string, FrameInfo*> rviz::TFDisplay::M_FrameInfo [private]

Definition at line 104 of file tf_display.h.


Constructor & Destructor Documentation

Definition at line 161 of file tf_display.cpp.

Definition at line 198 of file tf_display.cpp.


Member Function Documentation

void rviz::TFDisplay::allEnabledChanged ( ) [private, slot]

Definition at line 300 of file tf_display.cpp.

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

Definition at line 213 of file tf_display.cpp.

FrameInfo * rviz::TFDisplay::createFrame ( const std::string &  frame) [private]

Definition at line 402 of file tf_display.cpp.

void rviz::TFDisplay::deleteFrame ( FrameInfo frame,
bool  delete_properties 
) [private]

Definition at line 650 of file tf_display.cpp.

void rviz::TFDisplay::fixedFrameChanged ( ) [protected, virtual]

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

Reimplemented from rviz::Display.

Definition at line 670 of file tf_display.cpp.

FrameInfo * rviz::TFDisplay::getFrameInfo ( const std::string &  frame) [private]

Definition at line 330 of file tf_display.cpp.

void rviz::TFDisplay::onDisable ( ) [private, virtual]

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

Reimplemented from rviz::Display.

Definition at line 252 of file tf_display.cpp.

void rviz::TFDisplay::onEnable ( ) [private, virtual]

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

Reimplemented from rviz::Display.

Definition at line 243 of file tf_display.cpp.

void rviz::TFDisplay::onInitialize ( ) [protected, 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 204 of file tf_display.cpp.

void rviz::TFDisplay::reset ( ) [protected, virtual]

Called to tell the display to clear its state.

Reimplemented from rviz::Display.

Definition at line 675 of file tf_display.cpp.

void rviz::TFDisplay::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 318 of file tf_display.cpp.

void rviz::TFDisplay::updateFrame ( FrameInfo frame) [private]

Definition at line 462 of file tf_display.cpp.

void rviz::TFDisplay::updateFrames ( ) [private]

Definition at line 341 of file tf_display.cpp.

void rviz::TFDisplay::updateShowArrows ( ) [private, slot]

Definition at line 286 of file tf_display.cpp.

void rviz::TFDisplay::updateShowAxes ( ) [private, slot]

Definition at line 272 of file tf_display.cpp.

void rviz::TFDisplay::updateShowNames ( ) [private, slot]

Definition at line 258 of file tf_display.cpp.


Friends And Related Function Documentation

friend class FrameInfo [friend]

Definition at line 122 of file tf_display.h.


Member Data Documentation

Definition at line 114 of file tf_display.h.

Ogre::SceneNode* rviz::TFDisplay::arrows_node_ [private]

Definition at line 101 of file tf_display.h.

Ogre::SceneNode* rviz::TFDisplay::axes_node_ [private]

Definition at line 102 of file tf_display.h.

Definition at line 121 of file tf_display.h.

Definition at line 113 of file tf_display.h.

Definition at line 105 of file tf_display.h.

Definition at line 118 of file tf_display.h.

Ogre::SceneNode* rviz::TFDisplay::names_node_ [private]

Definition at line 100 of file tf_display.h.

Ogre::SceneNode* rviz::TFDisplay::root_node_ [private]

Definition at line 99 of file tf_display.h.

Definition at line 116 of file tf_display.h.

Definition at line 110 of file tf_display.h.

Definition at line 111 of file tf_display.h.

Definition at line 109 of file tf_display.h.

Definition at line 119 of file tf_display.h.

Definition at line 112 of file tf_display.h.

Definition at line 107 of file tf_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