org.ros.rosjava_geometry
Class Transform
java.lang.Object
org.ros.rosjava_geometry.Transform
public class Transform
- extends java.lang.Object
A transformation in terms of translation and rotation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Transform
public Transform(Vector3 translation,
Quaternion rotation)
multiply
public Transform multiply(Transform other)
invert
public Transform invert()
transformVector
public Vector3 transformVector(Vector3 vector)
transformQuaternion
public Quaternion transformQuaternion(Quaternion quaternion)
toTransformMessage
public geometry_msgs.Transform toTransformMessage(geometry_msgs.Transform result)
toTransformStampedMessage
public geometry_msgs.TransformStamped toTransformStampedMessage(GraphName frame,
GraphName childFrame,
Time stamp,
geometry_msgs.TransformStamped result)
toPoseMessage
public geometry_msgs.Pose toPoseMessage(geometry_msgs.Pose result)
toPoseStampedMessage
public geometry_msgs.PoseStamped toPoseStampedMessage(GraphName frame,
Time stamp,
geometry_msgs.PoseStamped result)
getTranslation
public Vector3 getTranslation()
setTranslation
public void setTranslation(Vector3 translation)
getRotation
public Quaternion getRotation()
setRotation
public void setRotation(Quaternion rotation)
newFromTransformMessage
public static Transform newFromTransformMessage(geometry_msgs.Transform message)
newFromPoseMessage
public static Transform newFromPoseMessage(geometry_msgs.Pose message)
newIdentityTransform
public static Transform newIdentityTransform()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object