[vtkusers] Fill in 2D vtkPolyData
Jonathan Morra
jonmorra at gmail.com
Tue Apr 10 11:33:26 EDT 2012
I will try out the Delaunay filter. As for your filter, I pulled from the
v5.10.0-rc1 branch at the end of March. I'm using other libraries (gdcm)
that won't work with VTK6 so I can't pull from master. I can't seem to
find your filter on my branch, where can I find your filter?
On Tue, Apr 10, 2012 at 8:27 AM, David Gobbi <david.gobbi at gmail.com> wrote:
> Hi Jonathan,
>
> VTK can convert polylines to polygons via a constrained Delaunay
> algorithm, using the vtkDelaunay2D filter. You should be able to find
> an example on the wiki.
>
> Also, if you are familiar with git, you can try out my
> vtkContourToPolygonFilter, it works with VTK 5.10:
>
> http://review.source.kitware.com/#/c/3785/
>
> - David
>
>
> On Tue, Apr 10, 2012 at 9:11 AM, Jonathan Morra <jonmorra at gmail.com>
> wrote:
> > If it makes any difference, my vtkPolyData is composed only of lines.
> >
> >
> > On Mon, Apr 9, 2012 at 7:59 PM, Jonathan Morra <jonmorra at gmail.com>
> wrote:
> >>
> >> I have a 2D vtkPolyData that is an outline. I want to draw the inside
> of
> >> the contour with a specified opacity. How do I go about doing this?
> >>
> >> Thanks
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120410/a5cbf323/attachment.htm>
More information about the vtkusers
mailing list