Go to the documentation of this file.
34 #ifndef OCTOMATH_POSE6D_H
35 #define OCTOMATH_POSE6D_H
176 std::ostream&
write(std::ostream &s)
const;
182 std::istream&
read(std::istream &s);
float & x()
Definition: Pose6D.h:102
~Pose6D()
Definition: Pose6D.cpp:55
double yaw() const
Definition: Pose6D.h:111
const float & x() const
Definition: Pose6D.h:105
const Pose6D & operator*=(const Pose6D &p)
In place concatenation.
Definition: Pose6D.cpp:97
Vector3 translation
Definition: Pose6D.h:197
bool operator==(const Pose6D &other) const
Definition: Pose6D.cpp:115
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)
Definition: Pose6D.cpp:152
Vector3 toEuler() const
Conversion to Euler angles.
Definition: Quaternion.cpp:124
const Quaternion & rot() const
Rotational component.
Definition: Pose6D.h:99
float & z()
Definition: Pose6D.h:104
const float & y() const
Definition: Pose6D.h:106
Pose6D operator*(const Pose6D &p) const
Concatenation.
Definition: Pose6D.cpp:91
float & y()
Definition: Pose6D.h:103
This class represents a three-dimensional vector.
Definition: Vector3.h:50
const Vector3 & trans() const
Translational component.
Definition: Pose6D.h:94
double pitch() const
Definition: Pose6D.h:110
Vector3 transform(const Vector3 &v) const
Transformation of a vector.
Definition: Pose6D.cpp:85
Quaternion rotation
Definition: Pose6D.h:198
std::ostream & writeBinary(std::ostream &s) const
Binary output operator.
Definition: Pose6D.cpp:146
std::istream & readBinary(std::istream &s)
Binary input operator.
Definition: Pose6D.cpp:139
const float & z() const
Definition: Pose6D.h:107
Pose6D()
Definition: Pose6D.cpp:39
std::ostream & write(std::ostream &s) const
Output operator.
Definition: Pose6D.cpp:131
Quaternion & rot()
Rotational component.
Definition: Pose6D.h:88
Pose6D & inv_IP()
Inversion.
Definition: Pose6D.cpp:78
double roll() const
Definition: Pose6D.h:109
bool operator!=(const Pose6D &other) const
Definition: Pose6D.cpp:120
This class represents a tree-dimensional pose of an object.
Definition: Pose6D.h:49
Pose6D & operator=(const Pose6D &other)
Definition: Pose6D.cpp:63
double distance(const Pose6D &other) const
Translational distance.
Definition: Pose6D.cpp:103
std::istream & read(std::istream &s)
Input operator.
Definition: Pose6D.cpp:124
This class represents a Quaternion.
Definition: Quaternion.h:56
Pose6D inv() const
Inversion.
Definition: Pose6D.cpp:70
double transLength() const
Translational length.
Definition: Pose6D.cpp:110
Vector3 & trans()
Translational component.
Definition: Pose6D.h:82