If you are indeed generating the convex hull, your result is entirely composed of tetrahedra. Iterate through all the cells and use the method vtkTetra::ComputeVolume to sum them up.<br><br>You should have only tets, unless you have alpha != 0, (in which case, you won't have the convex hull anyway)<br>
<br><br><div class="gmail_quote">On Sun, Jan 9, 2011 at 4:23 PM, Xiaopeng Yang <span dir="ltr"><<a href="mailto:yxp233@postech.ac.kr">yxp233@postech.ac.kr</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal">Dear friends,</p><p class="MsoNormal"> </p><p class="MsoNormal">Do you know how to calculate the volume of a 3D convex hull generated by vtkDelaunay3D?</p>
<p class="MsoNormal"> </p><p class="MsoNormal">Any idea would be appreciated!</p><p class="MsoNormal"> </p><p class="MsoNormal">Best,</p><p class="MsoNormal">Xiaopeng</p></div></div><br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br>