[vtkusers] displaying simple polygons
Xavi Almolda
xavi.almolda at gmail.com
Mon Nov 2 12:18:02 EST 2009
Problem solved using tkFeatureEdges.
Thank you very much.
Xavi
On Mon, Nov 2, 2009 at 6:03 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:
> vtkFeatureEdges will do it.
> BoundaryEdgesOn()
> FeatureEdgesOff()
> ManifoldEdgesOff()
> NonManifoldEdgesOff()
>
>
>
> On Mon, Nov 2, 2009 at 11:58 AM, David Doria <daviddoria+vtk at gmail.com<daviddoria%2Bvtk at gmail.com>>
> wrote:
> > On Mon, Nov 2, 2009 at 9:10 AM, Xavi Almolda <xavi.almolda at gmail.com>
> wrote:
> >> Thanks for your answer,
> >> Yes, I have already read the information on this page.
> >> The problem I have is that I need to tesselate the non-convex polygons.
> I am
> >> using a vtkTriangleFilter and it works fine, but I need to display the
> edge
> >> of the original polygon, and after the tesselation I have a lot of
> triangles
> >> each with its edges. Do I need to create another vtkCellArray with a
> >> vtkPolyline cell? Is there another way to get and display the edge of
> the
> >> resulting set of triangles?
> >> Thank you,
> >> Xavi
> >>
> >
> > Lets try to simplify the problem. Basically you have a triangle mesh
> > (can you provide one so we can play with it) and you want to highlight
> > the boundary edges? Is this correct?
> >
> > Thanks,
> >
> > David
> > _______________________________________________
> > 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
> >
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091102/3bddd8cd/attachment.htm>
More information about the vtkusers
mailing list