[vtkusers] How to compute volume of cell

David Thompson david.thompson at kitware.com
Tue May 21 14:00:50 EDT 2013


Hi Alex,

> Does vtk provides an easy way of computing the volume of a vtkCell3D.  I have a vtkStructuredGrid (made of hexahedron) and I would like to retrieve the volume of any cell within that grid.  How would I proceed?

The vtkMeshQuality filter computes the volume of hexahedra and tetrahedra using the Verdict library (which is packaged with the VTK source code). The Verdict library contains methods for computing the volumes of other cell types.

	David




More information about the vtkusers mailing list