[vtkusers] number of triangels of an isosurface

Jeff Lee jeff at cdnorthamerica.com
Thu May 22 06:38:32 EDT 2003


IsoFilter->GetOutput()->GetNumberOfCells() should do the trick. 

Steffen Oeltze wrote:

> Dear VTK-users,
>
> I have programmed a small application which uses the 
> vtkMarchingContourFilter. Its output
> is passed to a vtkPolyDataMapper. Now, I would like to know how many 
> triangles my
> resulting isosurface consists of. I'm sure there is a way to figure 
> that out. Is there anybody
> who can help me ?
>
> Thanks a lot in advance,
> Regards,
> Steffen
>
> _______________________________________________
> This is the private VTK discussion list. Please keep messages 
> on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>




More information about the vtkusers mailing list