IMP logo

IMP::algebra::FixedXYZ Class Reference


Detailed Description

A simple class for returning XYZ Euler angles.

Public Member Functions

 FixedXYZ (double x, double y, double z)
double get_x () const
double get_y () const
double get_z () const

Related Functions

(Note that these are not member functions.)

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_xyz (double xr, double yr, double zr)
 Initialize a rotation in x-y-z order from three angles.

Friends And Related Function Documentation

Rotation3D get_rotation_from_fixed_xyz ( double  xr,
double  yr,
double  zr 
) [related]

Initialize a rotation in x-y-z order from three angles.

Parameters:
[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
Note:
The three rotations are represented in the original (fixed) coordinate frame.


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

Generated on Mon Mar 8 23:08:47 2010 for IMP by doxygen 1.5.8