[vtkusers] vtkMarchingCubes number of triangles and vertices

Jothybasu Selvaraj jothybasu at gmail.com
Tue Jun 19 11:42:06 EDT 2012


I think you can do that by vtkmarchingCubes::GetOutput() which retunrn the
vtkPolyData with point,cells, etc...

Then you could find number of points, etc.. from them.


jothy

On Tue, Jun 19, 2012 at 4:26 PM, Ocean Spring <meancity at gmail.com> wrote:

> Dear All,
>
> a quick question
>
> when i am using vtkMarchingCubes to exact an isosurface from a volume, i
> would like also to know the number
> of triangles and vertices extracted by MC. is there any function to use to
> get the number of triangles and vertices of the surface?
>
> thank you
>
> regards
>
> OS
>
>
> --
> ---------
> www.vislab.cn
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>


-- 
Jothybasu Selvaraj
PhD Student
University of Liverpool
UK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120619/5e64a77a/attachment.htm>


More information about the vtkusers mailing list