IMP
2.0.1
The Integrative Modeling Platform
|
A simple class for returning XYZ Euler angles.
#include <IMP/algebra/Rotation3D.h>
Public Member Functions | |
FixedXYZ (double x, double y, double z) | |
double | get_x () const |
double | get_y () const |
double | get_z () const |
void | show (std::ostream &out=std::cout) const |
Euler Angles | |
There are many conventions for how to define Euler angles, based on choices of which of the x,y,z axis to use in what order and whether the rotation axis is in the body frame (and hence affected by previous rotations) or in in a fixed frame. See http://en.wikipedia.org/wiki/Conversion_between_quaternions_and_Euler_angles for a general description.
| |
Rotation3D | get_rotation_from_fixed_xyz (double xr, double yr, double zr) |
Initialize a rotation in x-y-z order from three angles. More... | |
Definition at line 456 of file Rotation3D.h.
|
related |
[in] | xr | Rotation around the X axis in radians |
[in] | yr | Rotation around the Y axis in radians |
[in] | zr | Rotation around the Z axis in radians |