<div>Hi,</div><div>I am trying to find the depth at each pixel in the rendered window.</div><div>I have used '<a class="el" href="http://vtk.org/doc/nightly/html/classvtkRenderWindow.html#ade6ec79f06dc182164962b88ca1d646e" style="color: rgb(61, 87, 140); font-weight: bold; text-decoration: none; font-size: 14px; background-color: rgb(249, 250, 252); ">GetZbufferData</a><span class="Apple-style-span" style="font-size: 14px; background-color: rgb(249, 250, 252); "> </span>' function of 'vtkRenderWindow' class.</div>
<div>Now I wish to convert this data into real depth for each pixel of the rendered window.</div><div>I am not sure what is the formula for VTK to convert Zbuffer into actual depth.</div><div><br></div><div>Please suggest if any of you have idea regarding that.</div>
<div><br></div><div>I will really appreciate your help.</div><div><br></div><div>Regards,<br>Atul</div><div><br></div><div><br></div><div><br></div><div><br></div>