Problem with Z buffer

Hi

I worked with Coin3D which is built on OpenGL. I want to do the mapping between my lighting area and my camera to define which object will be see.

Therefore I must use the Z-buffer with my source light and my camera. So How can I get the Z-buffer values?

Thanks in advance for your help

W