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 ()
 Called from within setFixedFrame, notifying child classes that the fixed frame has changed.
bool getAllEnabled ()
float getFrameTimeout ()
bool getShowArrows ()
bool getShowAxes ()
bool getShowNames ()
float getUpdateRate ()
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 setShowArrows (bool show)
void setShowAxes (bool show)
void setShowNames (bool show)
void setUpdateRate (float rate)
virtual void targetFrameChanged ()
 Called from within setTargetFrame, notifying child classes that the target frame has changed.
 TFDisplay (const std::string &name, VisualizationManager *manager)
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)
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_
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 123 of file tf_display.h.


Constructor & Destructor Documentation

rviz::TFDisplay::TFDisplay ( const std::string &  name,
VisualizationManager manager 
)

Definition at line 191 of file tf_display.cpp.

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

Definition at line 208 of file tf_display.cpp.


Member Function Documentation

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

Definition at line 216 of file tf_display.cpp.

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

Definition at line 424 of file tf_display.cpp.

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

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

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

Reimplemented from rviz::Display.

Definition at line 655 of file tf_display.cpp.

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

Definition at line 638 of file tf_display.cpp.

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

Called from within setFixedFrame, notifying child classes that the fixed frame has changed.

Implements rviz::Display.

Definition at line 100 of file tf_display.h.

bool rviz::TFDisplay::getAllEnabled (  )  [inline]

Definition at line 89 of file tf_display.h.

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

Definition at line 352 of file tf_display.cpp.

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

Definition at line 92 of file tf_display.h.

bool rviz::TFDisplay::getShowArrows (  )  [inline]

Definition at line 83 of file tf_display.h.

bool rviz::TFDisplay::getShowAxes (  )  [inline]

Definition at line 80 of file tf_display.h.

bool rviz::TFDisplay::getShowNames (  )  [inline]

Definition at line 77 of file tf_display.h.

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

Definition at line 86 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 252 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 243 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 700 of file tf_display.cpp.

void rviz::TFDisplay::setAllEnabled ( bool  enabled  ) 

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

void rviz::TFDisplay::setShowArrows ( bool  show  ) 

Definition at line 294 of file tf_display.cpp.

void rviz::TFDisplay::setShowAxes ( bool  show  ) 

Definition at line 276 of file tf_display.cpp.

void rviz::TFDisplay::setShowNames ( bool  show  ) 

Definition at line 258 of file tf_display.cpp.

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

Definition at line 334 of file tf_display.cpp.

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

Called from within setTargetFrame, notifying child classes that the target frame has changed.

Implements rviz::Display.

Definition at line 695 of file tf_display.cpp.

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

Called periodically by the visualization panel.

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

Reimplemented from rviz::Display.

Definition at line 341 of file tf_display.cpp.

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

Definition at line 471 of file tf_display.cpp.

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

Definition at line 363 of file tf_display.cpp.


Member Data Documentation

Definition at line 133 of file tf_display.h.

BoolPropertyWPtr rviz::TFDisplay::all_enabled_property_ [protected]

Definition at line 140 of file tf_display.h.

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

Definition at line 120 of file tf_display.h.

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

Definition at line 121 of file tf_display.h.

Definition at line 132 of file tf_display.h.

FloatPropertyWPtr rviz::TFDisplay::frame_timeout_property_ [protected]

Definition at line 139 of file tf_display.h.

Definition at line 124 of file tf_display.h.

CategoryPropertyWPtr rviz::TFDisplay::frames_category_ [protected]

Definition at line 142 of file tf_display.h.

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

Definition at line 119 of file tf_display.h.

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

Definition at line 118 of file tf_display.h.

Definition at line 130 of file tf_display.h.

BoolPropertyWPtr rviz::TFDisplay::show_arrows_property_ [protected]

Definition at line 136 of file tf_display.h.

bool rviz::TFDisplay::show_axes_ [protected]

Definition at line 131 of file tf_display.h.

BoolPropertyWPtr rviz::TFDisplay::show_axes_property_ [protected]

Definition at line 137 of file tf_display.h.

bool rviz::TFDisplay::show_names_ [protected]

Definition at line 129 of file tf_display.h.

BoolPropertyWPtr rviz::TFDisplay::show_names_property_ [protected]

Definition at line 135 of file tf_display.h.

CategoryPropertyWPtr rviz::TFDisplay::tree_category_ [protected]

Definition at line 143 of file tf_display.h.

float rviz::TFDisplay::update_rate_ [protected]

Definition at line 127 of file tf_display.h.

FloatPropertyWPtr rviz::TFDisplay::update_rate_property_ [protected]

Definition at line 138 of file tf_display.h.

float rviz::TFDisplay::update_timer_ [protected]

Definition at line 126 of file tf_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): Josh Faust
autogenerated on Fri Jan 11 09:36:35 2013