If you surface is closed, you can use vtkMassProperties. It computes the volume via integration (thrice, just for accuracy)<br><br>--<br>karthik<br><br><div><span class="gmail_quote">On 3/10/08, <b class="gmail_sendername">Alam, Mohammed</b> <<a href="mailto:malam@med.wayne.edu">malam@med.wayne.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br> Hi All,<br> <br> I have a 3D VTK object file with CELLS and POINTS which is made from<br> segmenting DICOM images. How can I calculate the volume of such an<br> object? What information would I need (eg: voxel size, Pixel Spacing,<br>
slice spacing?)<br> <br> Best Regards<br> Alam<br> <br> <br> _______________________________________________<br> This is the private VTK discussion list.<br> Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br> <a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br> </blockquote></div><br>