If you are using pure OpenGL I think what you want to do is pushmatrix->translate to where your object is->rotate->draw->popmatrix.
Are you trying to get coordinates of an object or of the mouse? The object should know its own coordinates (if its drawing its own vertexes), the mouse you could get window coords and offset by the view offset.