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::ostream & writeBinary(std::ostream &s) const
Binary output operator.
std::istream & read(std::istream &s)
Input operator.
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)
double distance(const Pose6D &other) const
Translational distance.
Vector3 transform(const Vector3 &v) const
Transformation of a vector.
Pose6D & operator=(const Pose6D &other)
bool operator!=(const Pose6D &other) const
Vector3 toEuler() const
Conversion to Euler angles.
double transLength() const
Translational length.
std::istream & readBinary(std::istream &s)
Binary input operator.
Pose6D operator*(const Pose6D &p) const
Concatenation.
std::ostream & write(std::ostream &s) const
Output operator.
const Vector3 & trans() const
Translational component.
Pose6D inv() const
Inversion.
const Pose6D & operator*=(const Pose6D &p)
In place concatenation.
This class represents a tree-dimensional pose of an object.
Vector3 & trans()
Translational component.
bool operator==(const Pose6D &other) const
This class represents a three-dimensional vector.
Quaternion & rot()
Rotational component.
Pose6D & inv_IP()
Inversion.
This class represents a Quaternion.
const Quaternion & rot() const
Rotational component.