[vtkusers] Volume 3-D Contours

Alyassin, Abdalmajeid M (Research) alyassin at crd.ge.com
Wed Dec 10 10:18:42 EST 2003


Patrick,

The volume should be very close to summing up the cells giving that the 3D
surface is closed. Caveat, the vtkMassProperties class takes in triangulated
polygones (you could use vtkTriangleFilter the ploydata...)

good luck...
Majeid

GE Global Research Center
_____________________________________________
Abdalmajeid M. Alyassin, Ph.D.
Imaging Technologies
1 Research Circle, KW219
Niskayuna, NY 12309




-----Original Message-----
From: Patrick Lowry [mailto:plowry at scotia-group.com]
Sent: Tuesday, December 09, 2003 5:16 PM
To: vtkusers at vtk.org
Subject: [vtkusers] Volume 3-D Contours


Greetings All:

I am looking for guidance on interpreting the vtkMassProperties-Volume of 
poly data generated with vtkContourFilter.  The volume returned by 
vtkMassProperties does not appear to relate to the volume estimated by 
summing the volume of the cells circumscribed by the same 3-D contour, with 
the former being much greater.  Should the volume not be in the cubic units 
(x*y*z) of those defining the vtkContourFilter poly data?

I would like to think that vtkMassProperties-Volume of a close 3-D contour 
generated by vtkContourFilter would be in the real world volumetric units 
of the input data.  Is this how it should work and I am just doing 
something wrong or am I expecting too much.

Any help would be appreciated.

Patrick Lowry
The Scotia Group

_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers



More information about the vtkusers mailing list