[vtkusers] Display filled contour of a cut sphere

Cory Quammen cory.quammen at kitware.com
Mon May 4 10:45:39 EDT 2015


Ah ha! I was just thinking there should be a filter in VTK that does this,
having manually triangulated contours in the past by creating a vtkPolyData
with a single polygon cell defined by the contour. I'll have to try this
out.

Cory

On Mon, May 4, 2015 at 10:41 AM, David Gobbi <david.gobbi at gmail.com> wrote:

> Hi Hortense,
>
> The vtkTriangleFilter can only triangulate existing faces, it cannot
> create new faces from a contour. I think that the filter you need is
> vtkContourTriangulator.
> http://www.vtk.org/doc/nightly/html/classvtkContourTriangulator.html
>
>  - David
>
>
> On Mon, May 4, 2015 at 8:09 AM, Hortense KIRISLI <
> hortense.kirisli at aquilab.com> wrote:
>
>>  Hi all,
>>
>>
>>
>> Here is what I would like to do:
>>
>> I have a sphere that I cut with a plane. I succeeded to display the
>> intersection of the sphere with the plane as a contour, but do not succeed
>> to display it filled.
>>
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>


-- 
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150504/406b18e0/attachment.html>


More information about the vtkusers mailing list