[vtkusers] Intersection of a plane and a mesh

David Doria daviddoria+vtk at gmail.com
Mon Dec 28 11:17:40 EST 2009


On Sun, Dec 27, 2009 at 5:43 AM, Karthik Krishnan
<karthik.krishnan at kitware.com> wrote:
> Use a vtkCutter with a plane as the implicit function. There are ample
> examples in the book and in VTK source tree.
>
> On 12/26/09, Zein Salah <zeinsalah at gmail.com> wrote:
>> Hello,
>>
>> is there an efficient way in VTK to computer the intersection of a mesh and
>> a cutting plane? The resulting contour might be represented as a vtk mesh.
>>
>> thanks,
>>
>> zein
>> _______________________________________________
>> 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
>>
>
>
> --
> _________________________________


This example cuts through a cube:
http://www.cmake.org/Wiki/VTK_Examples_vtkCutter

Simply replace the cube polydata with your mesh and you are done :)

Thanks,

David



More information about the vtkusers mailing list