#include <tf_link_updater.h>
Public Types | |
typedef boost::function< void(StatusLevel, const std::string &, const std::string &)> | StatusCallback |
Public Member Functions | |
virtual bool | getLinkTransforms (const std::string &link_name, Ogre::Vector3 &visual_position, Ogre::Quaternion &visual_orientation, Ogre::Vector3 &collision_position, Ogre::Quaternion &collision_orientation) const |
virtual void | setLinkStatus (StatusLevel level, const std::string &link_name, const std::string &text) const |
TFLinkUpdater (FrameManager *frame_manager, const StatusCallback &status_cb=StatusCallback(), const std::string &tf_prefix=std::string()) | |
Private Attributes | |
FrameManager * | frame_manager_ |
StatusCallback | status_callback_ |
std::string | tf_prefix_ |
Definition at line 48 of file tf_link_updater.h.
typedef boost::function<void(StatusLevel, const std::string&, const std::string&)> rviz::TFLinkUpdater::StatusCallback |
Definition at line 51 of file tf_link_updater.h.
rviz::TFLinkUpdater::TFLinkUpdater | ( | FrameManager * | frame_manager, |
const StatusCallback & | status_cb = StatusCallback() , |
||
const std::string & | tf_prefix = std::string() |
||
) |
Definition at line 41 of file tf_link_updater.cpp.
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 [virtual] |
Implements rviz::LinkUpdater.
Definition at line 48 of file tf_link_updater.cpp.
void rviz::TFLinkUpdater::setLinkStatus | ( | StatusLevel | level, |
const std::string & | link_name, | ||
const std::string & | text | ||
) | const [virtual] |
Reimplemented from rviz::LinkUpdater.
Definition at line 78 of file tf_link_updater.cpp.
FrameManager* rviz::TFLinkUpdater::frame_manager_ [private] |
Definition at line 60 of file tf_link_updater.h.
Definition at line 61 of file tf_link_updater.h.
std::string rviz::TFLinkUpdater::tf_prefix_ [private] |
Definition at line 62 of file tf_link_updater.h.