[vtkusers] Display filled contour of a cut sphere

Cory Quammen cory.quammen at kitware.com
Mon May 4 11:03:25 EDT 2015


Yes, I have found problems with vtkDelaunay2D in the boolean operations
filter. I might have to try switching to vtkContourTriangulator.

- Cory

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

> Ideally, vtkDelaunay2D could be used to fill a contour, but it is
> numerically unstable and sometimes it segfaults...
>
>  - David
>
> On Mon, May 4, 2015 at 8:45 AM, Cory Quammen <cory.quammen at kitware.com>
> wrote:
>
>> 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.
>>>>
>>>
>


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


More information about the vtkusers mailing list