[vtkusers] displaying simple polygons

David Doria daviddoria+vtk at gmail.com
Wed Oct 28 14:35:01 EDT 2009


On Wed, Oct 28, 2009 at 9:02 AM, Xavi Almolda <xavi.almolda at gmail.com> wrote:
> Hello,
> I am developing an application with vtk that shows different results in the
> form of a mesh with values at the nodes or elements. The problem is that I
> need to draw some simple polygons on top of the results.
> I need to draw some simple polygons that represent spatial features, like
> the fetaures from a GIS layer. Each polygon is defined as a set of
> coordinates ( only x and y coordinates ).
> What is the best solution for doing this with vtk?
> Thank you,
> Xavi

Is this what you're looking for?

http://www.itk.org/Wiki/Polygon

Thanks,

David



More information about the vtkusers mailing list