[vtkusers] Volume measurement
Jennifer Hare (CICC/HPC) <jen>
jen at ARL.MIL
Fri Jun 30 10:32:47 EDT 2000
I posted this awhile ago and never received a response...
Could someone please explain the difference between the following methods
in vtkMassProperties:
GetVolume
GetVolumeX
GetVolumeY
GetVolumeZ
I used GetVolume for a sphere and it returned the volume of that sphere.
I used GetVolume for a rectangular block, but it did not return the correct
volume of that block. I then used GetVolumeZ for the rectangular block and
it did return the correct volume of that block. Does the method for finding
the volume depend on the data? And if so, what are the dependencies? I need
to find something (or need to write something) that will find the volume of
any closed isosurface.
Thanks,
Jen
------------------------------------------------------------------------------
Jennifer J. Hare US Army Research Laboratory
Email: jen at arl.mil Computational and Information Sciences Directorate
Phone: 410.278.9149 High Performance Computing Division
Fax: 410.278.9199 Scientific Visualization Team
------------------------------------------------------------------------------
On Fri, 30 Jun 2000, Will Schroeder wrote:
> 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
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> vtkusers mailing list
> vtkusers at public.kitware.com
> http://public.kitware.com/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list