gluLookAt(675.0, 345.0, -1287.557, 675.0, 345.0, 1, 0, -1, 0) and pitch,yaw,roll

how can i get these three componets through this function call?

you can use

GLfloat matrix[16]; 
glGetFloatv (GL_MODELVIEW_MATRIX, matrix);

to fetch the matrix created via gluLookAt
and then extra the pitch, yaw, roll from this (search the web if you don’t know how to do this)