Interface element representing an explicit frame. More...
#include <InterfaceFrame.hh>
Public Member Functions | |
InterfaceFrame (const std::string &_name, const std::string &_attachedTo, const gz::math::Pose3d &_pose) | |
Constructor. | |
const std::string & | AttachedTo () const |
Get the name of the coordinate frame to which this frame is attached. | |
const std::string & | Name () const |
Get the name of the frame. | |
const gz::math::Pose3d & | PoseInAttachedToFrame () const |
Get the pose of this frame relative to the attached-to frame. | |
Interface element representing an explicit frame.
sdf::SDF_VERSION_NAMESPACE::InterfaceFrame::InterfaceFrame | ( | const std::string & | _name, |
const std::string & | _attachedTo, | ||
const gz::math::Pose3d & | _pose | ||
) |
Constructor.
[in] | _name | The local name. |
[in] | _attachedTo | Name of the attached-to frame. This cannot be an empty string. If the frame is attached to the model frame, this must be "__model__" . The (implicit or explicit) frame must exist in the scope of this frame. |
[in] | _pose | The pose of the frame relative to the attached-to frame. |
const std::string & sdf::SDF_VERSION_NAMESPACE::InterfaceFrame::AttachedTo | ( | ) | const |
Get the name of the coordinate frame to which this frame is attached.
const std::string & sdf::SDF_VERSION_NAMESPACE::InterfaceFrame::Name | ( | ) | const |
Get the name of the frame.
const gz::math::Pose3d & sdf::SDF_VERSION_NAMESPACE::InterfaceFrame::PoseInAttachedToFrame | ( | ) | const |
Get the pose of this frame relative to the attached-to frame.