IMP  2.0.1
The Integrative Modeling Platform
IMP::algebra::FixedZYZ Class Reference

A simple class for returning ZYZ Euler angles.

#include <IMP/algebra/Rotation3D.h>

+ Inheritance diagram for IMP::algebra::FixedZYZ:

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. More...
 
FixedZYZ get_fixed_zyz_from_rotation (const Rotation3D &r)
 The inverse of rotation_from_fixed_zyz() More...
 

Detailed Description

Definition at line 406 of file Rotation3D.h.

Friends And Related Function Documentation

FixedZYZ get_fixed_zyz_from_rotation ( const Rotation3D r)
related
See Also
rotation_from_fixed_zyz()
Rotation3D get_rotation_from_fixed_zyz ( double  Rot,
double  Tilt,
double  Psi 
)
related
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: