34 #ifndef OCTOMATH_POSE6D_H 35 #define OCTOMATH_POSE6D_H 174 std::ostream&
write(std::ostream &s)
const;
180 std::istream&
read(std::istream &s);
std::istream & read(std::istream &s)
Input operator.
Vector3 transform(const Vector3 &v) const
Transformation of a vector.
std::ostream & operator<<(std::ostream &s, const Pose6D &p)
user friendly output in format (x y z, u x y z) which is (translation, rotation)
const Vector3 & trans() const
Translational component.
Pose6D & operator=(const Pose6D &other)
std::istream & readBinary(std::istream &s)
Binary input operator.
bool operator==(const Pose6D &other) const
double transLength() const
Translational length.
const Pose6D & operator*=(const Pose6D &p)
In place concatenation.
const Quaternion & rot() const
Rotational component.
bool operator!=(const Pose6D &other) const
This class represents a tree-dimensional pose of an object.
Vector3 & trans()
Translational component.
This class represents a three-dimensional vector.
Vector3 toEuler() const
Conversion to Euler angles.
std::ostream & write(std::ostream &s) const
Output operator.
std::ostream & writeBinary(std::ostream &s) const
Binary output operator.
double distance(const Pose6D &other) const
Translational distance.
Pose6D operator*(const Pose6D &p) const
Concatenation.
Quaternion & rot()
Rotational component.
Pose6D & inv_IP()
Inversion.
Pose6D inv() const
Inversion.
This class represents a Quaternion.