Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
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

virtual void createProperties ()
 Called from setPropertyManager, gives the display a chance to create some properties immediately.
virtual void fixedFrameChanged ()
 Override to handle changes to fixed_frame_. This base class implementation does nothing.
bool getAllEnabled ()
float getFrameTimeout ()
float getScale ()
bool getShowArrows ()
bool getShowAxes ()
bool getShowNames ()
float getUpdateRate ()
virtual void onInitialize ()
 Override this function to do subclass-specific initialization.
virtual void reset ()
 Called to tell the display to clear its state.
void setAllEnabled (bool enabled)
void setFrameEnabled (FrameInfo *frame, bool enabled)
void setFrameTimeout (float timeout)
void setScale (float scale)
void setShowArrows (bool show)
void setShowAxes (bool show)
void setShowNames (bool show)
void setUpdateRate (float rate)
 TFDisplay ()
virtual void update (float wall_dt, float ros_dt)
 Called periodically by the visualization panel.
virtual ~TFDisplay ()

Protected Types

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

Protected 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 ()

Protected Attributes

bool all_enabled_
BoolPropertyWPtr all_enabled_property_
Ogre::SceneNode * arrows_node_
Ogre::SceneNode * axes_node_
float frame_timeout_
FloatPropertyWPtr frame_timeout_property_
M_FrameInfo frames_
CategoryPropertyWPtr frames_category_
Ogre::SceneNode * names_node_
Ogre::SceneNode * root_node_
float scale_
FloatPropertyWPtr scale_property_
bool show_arrows_
BoolPropertyWPtr show_arrows_property_
bool show_axes_
BoolPropertyWPtr show_axes_property_
bool show_names_
BoolPropertyWPtr show_names_property_
CategoryPropertyWPtr tree_category_
float update_rate_
FloatPropertyWPtr update_rate_property_
float update_timer_

Detailed Description

Displays a visual representation of the TF hierarchy.

Definition at line 71 of file tf_display.h.


Member Typedef Documentation

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

Definition at line 127 of file tf_display.h.


Constructor & Destructor Documentation

Definition at line 191 of file tf_display.cpp.

Definition at line 204 of file tf_display.cpp.


Member Function Documentation

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

Definition at line 221 of file tf_display.cpp.

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

Definition at line 438 of file tf_display.cpp.

Called from setPropertyManager, gives the display a chance to create some properties immediately.

When this function is called, the property_manager_ member is valid and will stay valid

Reimplemented from rviz::Display.

Definition at line 672 of file tf_display.cpp.

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

Definition at line 652 of file tf_display.cpp.

Override to handle changes to fixed_frame_. This base class implementation does nothing.

Reimplemented from rviz::Display.

Definition at line 715 of file tf_display.cpp.

Definition at line 91 of file tf_display.h.

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

Definition at line 366 of file tf_display.cpp.

Definition at line 94 of file tf_display.h.

float rviz::TFDisplay::getScale ( ) [inline]

Definition at line 97 of file tf_display.h.

Definition at line 85 of file tf_display.h.

Definition at line 82 of file tf_display.h.

Definition at line 79 of file tf_display.h.

float rviz::TFDisplay::getUpdateRate ( ) [inline]

Definition at line 88 of file tf_display.h.

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

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

Implements rviz::Display.

Definition at line 260 of file tf_display.cpp.

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

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

Implements rviz::Display.

Definition at line 251 of file tf_display.cpp.

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

Override this function to do subclass-specific initialization.

This is called after vis_manager_ and scene_manager_ are set.

Reimplemented from rviz::Display.

Definition at line 212 of file tf_display.cpp.

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

Called to tell the display to clear its state.

Reimplemented from rviz::Display.

Definition at line 720 of file tf_display.cpp.

Definition at line 320 of file tf_display.cpp.

void rviz::TFDisplay::setFrameEnabled ( FrameInfo frame,
bool  enabled 
)

Definition at line 110 of file tf_display.cpp.

void rviz::TFDisplay::setFrameTimeout ( float  timeout)

Definition at line 336 of file tf_display.cpp.

void rviz::TFDisplay::setScale ( float  scale)

Definition at line 342 of file tf_display.cpp.

Definition at line 302 of file tf_display.cpp.

Definition at line 284 of file tf_display.cpp.

Definition at line 266 of file tf_display.cpp.

void rviz::TFDisplay::setUpdateRate ( float  rate)

Definition at line 348 of file tf_display.cpp.

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

Called periodically by the visualization panel.

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

Reimplemented from rviz::Display.

Definition at line 355 of file tf_display.cpp.

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

Definition at line 490 of file tf_display.cpp.

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

Definition at line 377 of file tf_display.cpp.


Member Data Documentation

Definition at line 137 of file tf_display.h.

BoolPropertyWPtr rviz::TFDisplay::all_enabled_property_ [protected]

Definition at line 146 of file tf_display.h.

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

Definition at line 124 of file tf_display.h.

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

Definition at line 125 of file tf_display.h.

Definition at line 136 of file tf_display.h.

FloatPropertyWPtr rviz::TFDisplay::frame_timeout_property_ [protected]

Definition at line 145 of file tf_display.h.

Definition at line 128 of file tf_display.h.

CategoryPropertyWPtr rviz::TFDisplay::frames_category_ [protected]

Definition at line 150 of file tf_display.h.

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

Definition at line 123 of file tf_display.h.

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

Definition at line 122 of file tf_display.h.

float rviz::TFDisplay::scale_ [protected]

Definition at line 139 of file tf_display.h.

FloatPropertyWPtr rviz::TFDisplay::scale_property_ [protected]

Definition at line 148 of file tf_display.h.

Definition at line 134 of file tf_display.h.

BoolPropertyWPtr rviz::TFDisplay::show_arrows_property_ [protected]

Definition at line 142 of file tf_display.h.

Definition at line 135 of file tf_display.h.

BoolPropertyWPtr rviz::TFDisplay::show_axes_property_ [protected]

Definition at line 143 of file tf_display.h.

Definition at line 133 of file tf_display.h.

BoolPropertyWPtr rviz::TFDisplay::show_names_property_ [protected]

Definition at line 141 of file tf_display.h.

CategoryPropertyWPtr rviz::TFDisplay::tree_category_ [protected]

Definition at line 151 of file tf_display.h.

float rviz::TFDisplay::update_rate_ [protected]

Definition at line 131 of file tf_display.h.

FloatPropertyWPtr rviz::TFDisplay::update_rate_property_ [protected]

Definition at line 144 of file tf_display.h.

float rviz::TFDisplay::update_timer_ [protected]

Definition at line 130 of file tf_display.h.


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


rviz
Author(s): Dave Hershberger, Josh Faust
autogenerated on Mon Jan 6 2014 11:54:34