Public Types | Public Member Functions | Private Attributes | List of all members
rviz::TFLinkUpdater Class Reference

#include <tf_link_updater.h>

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

Public Types

typedef boost::function< void(StatusLevel, const std::string &, const std::string &)> StatusCallback
 

Public Member Functions

bool getLinkTransforms (const std::string &link_name, Ogre::Vector3 &visual_position, Ogre::Quaternion &visual_orientation, Ogre::Vector3 &collision_position, Ogre::Quaternion &collision_orientation) const override
 
void setLinkStatus (StatusLevel level, const std::string &link_name, const std::string &text) const override
 
 TFLinkUpdater (FrameManager *frame_manager, const StatusCallback &status_cb=StatusCallback(), const std::string &tf_prefix=std::string())
 

Private Attributes

FrameManagerframe_manager_
 
StatusCallback status_callback_
 
std::string tf_prefix_
 

Detailed Description

Definition at line 47 of file tf_link_updater.h.

Member Typedef Documentation

◆ StatusCallback

typedef boost::function<void(StatusLevel, const std::string&, const std::string&)> rviz::TFLinkUpdater::StatusCallback

Definition at line 50 of file tf_link_updater.h.

Constructor & Destructor Documentation

◆ TFLinkUpdater()

rviz::TFLinkUpdater::TFLinkUpdater ( FrameManager frame_manager,
const StatusCallback status_cb = StatusCallback(),
const std::string &  tf_prefix = std::string() 
)

Definition at line 39 of file tf_link_updater.cpp.

Member Function Documentation

◆ getLinkTransforms()

bool rviz::TFLinkUpdater::getLinkTransforms ( const std::string &  link_name,
Ogre::Vector3 &  visual_position,
Ogre::Quaternion &  visual_orientation,
Ogre::Vector3 &  collision_position,
Ogre::Quaternion &  collision_orientation 
) const
overridevirtual

Implements rviz::LinkUpdater.

Definition at line 46 of file tf_link_updater.cpp.

◆ setLinkStatus()

void rviz::TFLinkUpdater::setLinkStatus ( StatusLevel  level,
const std::string &  link_name,
const std::string &  text 
) const
overridevirtual

Reimplemented from rviz::LinkUpdater.

Definition at line 75 of file tf_link_updater.cpp.

Member Data Documentation

◆ frame_manager_

FrameManager* rviz::TFLinkUpdater::frame_manager_
private

Definition at line 65 of file tf_link_updater.h.

◆ status_callback_

StatusCallback rviz::TFLinkUpdater::status_callback_
private

Definition at line 66 of file tf_link_updater.h.

◆ tf_prefix_

std::string rviz::TFLinkUpdater::tf_prefix_
private

Definition at line 67 of file tf_link_updater.h.


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


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall
autogenerated on Fri Dec 13 2024 03:31:04