[vtkusers] How to extract area of (triangle) Cells?

David Doria daviddoria+vtk at gmail.com
Thu Dec 17 09:09:03 EST 2009


On Thu, Dec 17, 2009 at 2:32 AM, Bryn Lloyd <blloyd at vision.ee.ethz.ch> wrote:
> Another way to compute the area is via vtkMeshQuality.
>
> First pass the mesh through this filter, compute the area for all triangles
> (SetTriangleQualityMeasureToArea()), and the obtain the values from the
> vtkCellData in the output.
>
> Cheers
> Bryn

Bryn,

I tried that:
http://www.vtk.org/Wiki/VTK/Examples/Mesh_Quality

But the values in the "Quality" array are all 0. Any thoughts?

Thanks,

David



More information about the vtkusers mailing list