IMP  2.0.0
The Integrative Modeling Platform
IMP::algebra::FixedXYZ Class Reference

A simple class for returning XYZ Euler angles.

#include <IMP/algebra/Rotation3D.h>

+ Inheritance diagram for IMP::algebra::FixedXYZ:

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.

  • 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. More...
 

Detailed Description

Definition at line 456 of file Rotation3D.h.

Friends And Related Function Documentation

Rotation3D get_rotation_from_fixed_xyz ( double  xr,
double  yr,
double  zr 
)
related
Parameters
[in]xrRotation around the X axis in radians
[in]yrRotation around the Y axis in radians
[in]zrRotation 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 file: