The Stamped Transform datatype used by tf. More...
#include <transform_datatypes.h>
Public Member Functions | |
void | setData (const tf::Transform &input) |
Set the inherited Transform data. More... | |
StampedTransform () | |
Default constructor only to be used for preallocation. More... | |
StampedTransform (const tf::Transform &input, const ros::Time ×tamp, const std::string &frame_id, const std::string &child_frame_id) | |
Public Member Functions inherited from tf::Transform | |
void | deSerialize (const struct TransformData &dataIn) |
void | deSerializeDouble (const struct TransformDoubleData &dataIn) |
void | deSerializeFloat (const struct TransformFloatData &dataIn) |
TFSIMD_FORCE_INLINE Matrix3x3 & | getBasis () |
Return the basis matrix for the rotation. More... | |
const TFSIMD_FORCE_INLINE Matrix3x3 & | getBasis () const |
Return the basis matrix for the rotation. More... | |
void | getOpenGLMatrix (tfScalar *m) const |
Fill an array representation. More... | |
TFSIMD_FORCE_INLINE Vector3 & | getOrigin () |
Return the origin vector translation. More... | |
const TFSIMD_FORCE_INLINE Vector3 & | getOrigin () const |
Return the origin vector translation. More... | |
Quaternion | getRotation () const |
Return a quaternion representing the rotation. More... | |
Transform | inverse () const |
Return the inverse of this transform. More... | |
Transform | inverseTimes (const Transform &t) const |
Return the inverse of this transform times the other transform. More... | |
TFSIMD_FORCE_INLINE Vector3 | invXform (const Vector3 &inVec) const |
TFSIMD_FORCE_INLINE void | mult (const Transform &t1, const Transform &t2) |
Set the current transform as the value of the product of two transforms. More... | |
TFSIMD_FORCE_INLINE Vector3 | operator() (const Vector3 &x) const |
Return the transform of the vector. More... | |
TFSIMD_FORCE_INLINE Quaternion | operator* (const Quaternion &q) const |
Return the transform of the Quaternion. More... | |
Transform | operator* (const Transform &t) const |
Return the product of this transform and the other. More... | |
TFSIMD_FORCE_INLINE Vector3 | operator* (const Vector3 &x) const |
Return the transform of the vector. More... | |
Transform & | operator*= (const Transform &t) |
Multiply this Transform by another(this = this * another) More... | |
TFSIMD_FORCE_INLINE Transform & | operator= (const Transform &other) |
Assignment Operator. More... | |
void | serialize (struct TransformData &dataOut) const |
void | serializeFloat (struct TransformFloatData &dataOut) const |
TFSIMD_FORCE_INLINE void | setBasis (const Matrix3x3 &basis) |
Set the rotational element by Matrix3x3. More... | |
void | setFromOpenGLMatrix (const tfScalar *m) |
Set from an array. More... | |
void | setIdentity () |
Set this transformation to the identity. More... | |
TFSIMD_FORCE_INLINE void | setOrigin (const Vector3 &origin) |
Set the translational element. More... | |
TFSIMD_FORCE_INLINE void | setRotation (const Quaternion &q) |
Set the rotational element by Quaternion. More... | |
Transform () | |
No initialization constructor. More... | |
TFSIMD_FORCE_INLINE | Transform (const Matrix3x3 &b, const Vector3 &c=Vector3(tfScalar(0), tfScalar(0), tfScalar(0))) |
Constructor from Matrix3x3 (optional Vector3) More... | |
TFSIMD_FORCE_INLINE | Transform (const Quaternion &q, const Vector3 &c=Vector3(tfScalar(0), tfScalar(0), tfScalar(0))) |
Constructor from Quaternion (optional Vector3 ) More... | |
TFSIMD_FORCE_INLINE | Transform (const Transform &other) |
Copy constructor. More... | |
Public Attributes | |
std::string | child_frame_id_ |
The frame_id of the coordinate frame this transform defines. More... | |
std::string | frame_id_ |
The frame_id of the coordinate frame in which this transform is defined. More... | |
ros::Time | stamp_ |
The timestamp associated with this transform. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from tf::Transform | |
static const Transform & | getIdentity () |
Return an identity transform. More... | |
The Stamped Transform datatype used by tf.
Definition at line 81 of file transform_datatypes.h.
|
inline |
Definition at line 87 of file transform_datatypes.h.
|
inline |
Default constructor only to be used for preallocation.
Definition at line 91 of file transform_datatypes.h.
|
inline |
Set the inherited Transform data.
Definition at line 94 of file transform_datatypes.h.
std::string tf::StampedTransform::child_frame_id_ |
The frame_id of the coordinate frame this transform defines.
Definition at line 86 of file transform_datatypes.h.
std::string tf::StampedTransform::frame_id_ |
The frame_id of the coordinate frame in which this transform is defined.
Definition at line 85 of file transform_datatypes.h.
ros::Time tf::StampedTransform::stamp_ |
The timestamp associated with this transform.
Definition at line 84 of file transform_datatypes.h.