[vtkusers] Convert vtkPolyData to vtkPolygon
David Doria
daviddoria at gmail.com
Fri Jul 22 15:33:24 EDT 2011
On Fri, Jul 22, 2011 at 11:21 AM, Jothy <jothybasu at gmail.com> wrote:
> Hi all,
>
> Is there any way to convert a vtkPolyData to a vtkPolygon?
>
> Thanks
>
> Jothy
This example creates a vtkPoints and then a vtkPolygon from those
points. You would do the same thing, but GetPoints() on the
vtkPolyData instead.
http://www.itk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Polygon
David
More information about the vtkusers
mailing list