IMP logo
Public Member Functions
IMP::algebra::FixedZYZ Class Reference

Detailed Description

A simple class for returning ZYZ Euler angles.

List of all members.

Public Member Functions

 FixedZYZ (double rot, double tilt, double psi)
double get_psi () const
double get_rot () const
double get_tilt () 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.

  • All Euler angles are specified in radians.
  • The names are all rotation_from_{fixed/body}_abc() where abc is the ordering of x,y,z.
Rotation3D get_rotation_from_fixed_zyz (double Rot, double Tilt, double Psi)
 Generate a rotation object from Euler Angles.
FixedZYZ get_fixed_zyz_from_rotation (const Rotation3D &r)
 The inverse of rotation_from_fixed_zyz()

Additional Inherited Members


Friends And Related Function Documentation

FixedZYZ get_fixed_zyz_from_rotation ( const Rotation3D r)
related

The inverse of rotation_from_fixed_zyz()

See also:
rotation_from_fixed_zyz()
Rotation3D get_rotation_from_fixed_zyz ( double  Rot,
double  Tilt,
double  Psi 
)
related

Generate a rotation object from Euler Angles.

Note:
The first rotation is by an angle about the z-axis. The second rotation is by an angle about the new y-axis. The third rotation is by an angle about the new z-axis.
Parameters:
[in]RotFirst Euler angle (radians) defining the rotation (Z axis)
[in]TiltSecond Euler angle (radians) defining the rotation (Y axis)
[in]PsiThird Euler angle (radians) defining the rotation (Z axis)

The documentation for this class was generated from the following file:

Generated on Tue May 22 2012 23:33:25 for IMP by doxygen 1.8.1