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 load (const Config &config)
 Load the settings for this display from the given Config node, which must be a map.
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,
bool > 
M_EnabledState
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_
M_EnabledState frame_config_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, bool> rviz::TFDisplay::M_EnabledState [private]

Definition at line 108 of file tf_display.h.

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

Definition at line 105 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 326 of file tf_display.cpp.

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

Definition at line 239 of file tf_display.cpp.

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

Definition at line 428 of file tf_display.cpp.

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

Definition at line 694 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 714 of file tf_display.cpp.

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

Definition at line 356 of file tf_display.cpp.

void rviz::TFDisplay::load ( const Config config) [protected, virtual]

Load the settings for this display from the given Config node, which must be a map.

Overridden from Property::load() to load the Display's name and enabled state, then call Property::load().

load() is called after initialize().

Reimplemented from rviz::Display.

Definition at line 218 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 278 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 269 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 207 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 719 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 344 of file tf_display.cpp.

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

Definition at line 495 of file tf_display.cpp.

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

Definition at line 367 of file tf_display.cpp.

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

Definition at line 312 of file tf_display.cpp.

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

Definition at line 298 of file tf_display.cpp.

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

Definition at line 284 of file tf_display.cpp.


Friends And Related Function Documentation

friend class FrameInfo [friend]

Definition at line 126 of file tf_display.h.


Member Data Documentation

Definition at line 118 of file tf_display.h.

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

Definition at line 102 of file tf_display.h.

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

Definition at line 103 of file tf_display.h.

Definition at line 125 of file tf_display.h.

Definition at line 109 of file tf_display.h.

Definition at line 117 of file tf_display.h.

Definition at line 106 of file tf_display.h.

Definition at line 122 of file tf_display.h.

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

Definition at line 101 of file tf_display.h.

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

Definition at line 100 of file tf_display.h.

Definition at line 120 of file tf_display.h.

Definition at line 114 of file tf_display.h.

Definition at line 115 of file tf_display.h.

Definition at line 113 of file tf_display.h.

Definition at line 123 of file tf_display.h.

Definition at line 116 of file tf_display.h.

Definition at line 111 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 Tue Oct 3 2017 03:19:32