Hi,

You are talking about rotations using Euler angles. There are matrices that work for a rotation around a specific axis. You can take the product of each of these matrices and then you have your final rotational matrix.

Generally all you need is the angle at which you rotate around each axis. Are there any translations?

Check out this page for a nice description

Euler Angles -- from Wolfram MathWorld