[vtkusers] Volume measurement

Will Schroeder will.schroeder at kitware.com
Fri Jun 30 10:19:11 EDT 2000


Hi Andre-

The class vtk/contrib/vtkMassProperties.h does this. Look in contrib/examplesTcl/MassProperties.tcl for an example.
Note: the surface must be closed (and manifold) for this to work.

Will

At 10:56 AM 6/30/00 -0300, Andre Domingos A. Souza wrote:
>Dear VTK Users,
>
>I would like to calculate the volume of polygonal model created using
>vtkMarchingCubes. Could someone please post a Tcl script?
>
>Thank you,
>
>Andre





More information about the vtkusers mailing list