Public Member Functions | Public Attributes | List of all members
tf::StampedTransform Class Reference

The Stamped Transform datatype used by tf. More...

#include <transform_datatypes.h>

Inheritance diagram for tf::StampedTransform:
Inheritance graph
[legend]

Public Member Functions

void setData (const tf::Transform &input)
 Set the inherited Traonsform data. More...
 
 StampedTransform (const tf::Transform &input, const ros::Time &timestamp, const std::string &frame_id, const std::string &child_frame_id)
 
 StampedTransform ()
 Default constructor only to be used for preallocation. More...
 
- 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 Matrix3x3getBasis ()
 Return the basis matrix for the rotation. More...
 
TFSIMD_FORCE_INLINE const Matrix3x3getBasis () const
 Return the basis matrix for the rotation. More...
 
void getOpenGLMatrix (tfScalar *m) const
 Fill an array representation. More...
 
TFSIMD_FORCE_INLINE Vector3getOrigin ()
 Return the origin vector translation. More...
 
TFSIMD_FORCE_INLINE const Vector3getOrigin () 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 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...
 
Transformoperator*= (const Transform &t)
 Multiply this Transform by another(this = this * another) More...
 
TFSIMD_FORCE_INLINE Transformoperator= (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 Quaternion &q, const Vector3 &c=Vector3(tfScalar(0), tfScalar(0), tfScalar(0)))
 Constructor from Quaternion (optional Vector3 ) 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 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 TransformgetIdentity ()
 Return an identity transform. More...
 

Detailed Description

The Stamped Transform datatype used by tf.

Definition at line 81 of file transform_datatypes.h.

Constructor & Destructor Documentation

tf::StampedTransform::StampedTransform ( const tf::Transform input,
const ros::Time timestamp,
const std::string &  frame_id,
const std::string &  child_frame_id 
)
inline

Definition at line 87 of file transform_datatypes.h.

tf::StampedTransform::StampedTransform ( )
inline

Default constructor only to be used for preallocation.

Definition at line 91 of file transform_datatypes.h.

Member Function Documentation

void tf::StampedTransform::setData ( const tf::Transform input)
inline

Set the inherited Traonsform data.

Definition at line 94 of file transform_datatypes.h.

Member Data Documentation

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.


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


tf
Author(s): Tully Foote, Eitan Marder-Eppstein, Wim Meeussen
autogenerated on Mon Jun 10 2019 12:25:26