#include <state_transforms.h>
Public Member Functions | |
virtual bool | canTransform (const std::string &from_frame) const |
Check whether data can be transformed from a particular frame. | |
virtual const Eigen::Affine3d & | getTransform (const std::string &from_frame) const |
Get transform for from_frame (w.r.t target frame) | |
StateTransforms (const std::string &target_frame, const RobotStateConstPtr &state) | |
Protected Attributes | |
RobotStateConstPtr | state_ |
Definition at line 47 of file state_transforms.h.
robot_state::StateTransforms::StateTransforms | ( | const std::string & | target_frame, |
const RobotStateConstPtr & | state | ||
) |
Definition at line 40 of file state_transforms.cpp.
bool robot_state::StateTransforms::canTransform | ( | const std::string & | from_frame | ) | const [virtual] |
Check whether data can be transformed from a particular frame.
Reimplemented from robot_state::Transforms.
Definition at line 49 of file state_transforms.cpp.
const Eigen::Affine3d & robot_state::StateTransforms::getTransform | ( | const std::string & | from_frame | ) | const [virtual] |
Get transform for from_frame (w.r.t target frame)
from_frame | The string id of the frame for which the transform is being computed |
Reimplemented from robot_state::Transforms.
Definition at line 56 of file state_transforms.cpp.
Definition at line 57 of file state_transforms.h.