#include <rtcPose3D.h>
Public Member Functions | |
Rotation< T > | getRotation () const |
Transform< T > | getTransform () const |
Vec3< T > | getTranslation () const |
T | pitch () const |
Pose3D () | |
Pose3D (T x, T y, T z, T roll, T pitch, T yaw) | |
Pose3D (const Vec6< T > &pose) | |
Pose3D (const Transform< T > &transform) | |
Pose3D (const Rotation< T > &rotation, const Vec3< T > &translation) | |
bool | read (InputHandler &ih) |
T | roll () const |
void | set (const Pose3D &pose) |
void | set (T x, T y, T z, T roll, T pitch, T yaw) |
void | set (const Vec6< T > &pose) |
void | set (const Transform< T > &transform) |
void | set (const Rotation< T > &rotation, const Vec3< T > &translation) |
bool | write (OutputHandler &oh) const |
T | x () const |
T | y () const |
T | yaw () const |
T | z () const |
Public Attributes | |
Vec6< T > | p |
6 DoF Pose Class
Definition at line 34 of file rtcPose3D.h.
rtc::Pose3D< T >::Pose3D | ( | ) |
Ctor that does no initalization.
Definition at line 81 of file rtcPose3D.h.
rtc::Pose3D< T >::Pose3D | ( | T | _x, |
T | _y, | ||
T | _z, | ||
T | _roll, | ||
T | _pitch, | ||
T | _yaw | ||
) |
Ctor that initializes all elements from a scalars.
Definition at line 90 of file rtcPose3D.h.
rtc::Pose3D< T >::Pose3D | ( | const Vec6< T > & | v | ) |
Ctor that initialized from vector
v | is the vector to duplicate |
Definition at line 99 of file rtcPose3D.h.
rtc::Pose3D< T >::Pose3D | ( | const Transform< T > & | t | ) |
Ctor that initialized from transform matrix
t | is the transform matrix |
Definition at line 108 of file rtcPose3D.h.
rtc::Pose3D< T >::Pose3D | ( | const Rotation< T > & | rotation, |
const Vec3< T > & | translation | ||
) |
Ctor that initialized from rotation and translation
rotation | is the rotation matrix |
translation | is the translation vector |
Definition at line 118 of file rtcPose3D.h.
Rotation< T > rtc::Pose3D< T >::getRotation | ( | ) | const |
Returns the rotation.
Definition at line 233 of file rtcPose3D.h.
Transform< T > rtc::Pose3D< T >::getTransform | ( | ) | const |
Returns a transform.
Definition at line 241 of file rtcPose3D.h.
Vec3< T > rtc::Pose3D< T >::getTranslation | ( | ) | const |
Returns the translations.
Definition at line 225 of file rtcPose3D.h.
T rtc::Pose3D< T >::pitch | ( | ) | const |
Returns the pitch value.
Definition at line 209 of file rtcPose3D.h.
bool rtc::Pose3D< T >::read | ( | InputHandler & | ih | ) | [inline] |
Restores state from a binary stream.
Definition at line 256 of file rtcPose3D.h.
T rtc::Pose3D< T >::roll | ( | ) | const |
Returns the roll value.
Definition at line 201 of file rtcPose3D.h.
void rtc::Pose3D< T >::set | ( | const Pose3D< T > & | p | ) |
Set this pose equal to passed pose
p | the pose to replicate |
Definition at line 137 of file rtcPose3D.h.
void rtc::Pose3D< T >::set | ( | T | _x, |
T | _y, | ||
T | _z, | ||
T | _roll, | ||
T | _pitch, | ||
T | _yaw | ||
) |
Set all elements at once.
Definition at line 128 of file rtcPose3D.h.
void rtc::Pose3D< T >::set | ( | const Vec6< T > & | v | ) |
Set this pose equal to passed vector
v | the vector to replicate |
Definition at line 146 of file rtcPose3D.h.
void rtc::Pose3D< T >::set | ( | const Transform< T > & | t | ) |
Set this pose equal to passed transform
t | the transform matrix |
Definition at line 155 of file rtcPose3D.h.
void rtc::Pose3D< T >::set | ( | const Rotation< T > & | rotation, |
const Vec3< T > & | translation | ||
) |
Set this pose equal to passed transform
rotation | the rotation matrix |
translation | the translation vector |
Definition at line 167 of file rtcPose3D.h.
bool rtc::Pose3D< T >::write | ( | OutputHandler & | oh | ) | const [inline] |
Writes state to a binary stream.
Definition at line 249 of file rtcPose3D.h.
T rtc::Pose3D< T >::x | ( | ) | const |
Returns the x value.
Definition at line 177 of file rtcPose3D.h.
T rtc::Pose3D< T >::y | ( | ) | const |
Returns the y value.
Definition at line 185 of file rtcPose3D.h.
T rtc::Pose3D< T >::yaw | ( | ) | const |
Returns the yaw value.
Definition at line 217 of file rtcPose3D.h.
T rtc::Pose3D< T >::z | ( | ) | const |
Returns the z value.
Definition at line 193 of file rtcPose3D.h.
Vec6<T> rtc::Pose3D< T >::p |
Definition at line 66 of file rtcPose3D.h.