<DIV id=RTEContent>I have two open surfaces in the form of vtkPolyData. I want to find the volume enclosed between them. Does anyone know how to do this ?</DIV>  <DIV>&nbsp;</DIV>  <DIV>For example, consider two open surfaces </DIV>  <DIV>&nbsp;</DIV>  <DIV>1. a hemisphere</DIV>  <DIV>&nbsp;</DIV>  <DIV>2. a square shaped plane sheet.</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV>Now if i place the hemispherical surface on the plane sheet with the plane sheet acting as a base for the hemispherical surface.</DIV>  <DIV>&nbsp;</DIV>  <DIV>Now we have a hemispherical volume enclosed between the two surfaces. </DIV>  <DIV>&nbsp;</DIV>  <DIV>The question is how can i find this volume in VTK ?</DIV>  <DIV>&nbsp;</DIV>  <DIV>I have an idea to do this in opengl:</DIV>  <DIV>&nbsp;</DIV>  <OL>  <LI>I will first render the plane sheet to an offscreen buffer. Then i will read the z-values&nbsp; or the in other words the depth values from the z-buffer.</LI>  <LI>I will then render the
 hemipsherical surface to the offscreen buffer and read the depth values again.</LI>  <LI>Then the difference between these two depth maps gives the volume enclosed between the two surfaces.</LI></OL>  <div>I did not find features in VTK to do this.....</div>  <div>&nbsp;</div>  <div>Does anyone know a better way to calculate the volume than this ?</div>  <div>&nbsp;</div>  <div>Please help !!!!!!</div>  <div>&nbsp;</div>  <div>Thanks in advance !!!!</div>  <div>&nbsp;</div>  <div>Regards,</div>  <div>&nbsp;</div>  <div>Deepak Roy</div>  <div>&nbsp;</div>  <div>&nbsp;</div>  <div>&nbsp;</div>  <div>&nbsp;</div>  <div>&nbsp;</div>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;</DIV><p>
                <hr size=1> <a href="http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a//farechase.yahoo.com/">Yahoo! FareChase - Search multiple travel sites in one click.</a>