[vtkusers] volume and surface area

Charl P. Botha cpbotha at cpbotha.net
Mon Oct 31 09:25:02 EST 2005


On 10/31/05, Frnard Cimary <frnard80 at yahoo.com> wrote:
> Thanks Charl, I already checked that. Can you provide
> me with a simple example on how to use
> vtkMassProperties ? I couldn't understand the .tcl
> example avilable.

That's left as an exercise for the reader.  In short, you connect a
vtkPolyData to the vtkMassProperties input, and then you call the
various documented methods such as 	GetSurfaceArea() to get the
relevant parameters.

Good luck,
Charl

--
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/



More information about the vtkusers mailing list