[vtkusers] clip surface, fill hole
Bill Lorensen
bill.lorensen at gmail.com
Wed Jun 4 20:33:45 EDT 2008
Bryn,
Look at
VTK/Graphics/Testing/Tcl/capCow.tcl
an oldie but goodie,
Bill
On Wed, Jun 4, 2008 at 12:20 PM, Bryn Lloyd <blloyd at vision.ee.ethz.ch> wrote:
> Bryn Lloyd wrote:
>>
>> Dear users,
>>
>>
>> I would like to clip a triangle surface, e.g. using a plane. Is there a
>> filter that will fill the resulting hole with triangles? I.e. the resulting
>> surface mesh should remain closed.
>>
>> I could not find one. Does anybody have any hints/suggestions?
>>
>> What about using the vtkCutter, doing Delaunay2D on the output (if there
>> is only one connected curve/line) and merging the patch with the clipped
>> surface?
>
>
> Well, that obviously only works if the curve around the hole is convex . In
> my example it is not, so I need a better solution.
> Another assumption behind the proposed algorithm is that vtkCutter and
> vtkClipPolyData deliver the same cut interface (edges and points). Not sure
> if that is true.
>
>
>
> --Bryn
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list