rotating a scene and calculating the angle

Im working with a vixed viewpoint and do rotate whole scenes. Now I´ve got to know the x,y and z angle of this rotation in respect to my old viewpoint. Im pretty sure I´ve got to use the modelview matrix, but the correct use escapes me :wink: