Hi Yves,

Do you want to actually cut the tetrahedra that the polydata geometry
intersects? I don't know of anything that will do that exactly in VTK, but
you could approximate it by using the vtkImplicitPolyDataDistance class
with the vtkCutter to approximately cut the tetrahedra by the polydata.

If you DON'T want to cut the tetrahedra, you could write a plugin that
computes the distance field from each point in the tetrahedral mesh using
vtkImplicitPolyDataDistance, then thresholds the mesh to keep only
tetrahedra where at least some of the points have a negative signed
distance from the polydata.

I hope that helps,
Cory

On Tue, Apr 14, 2015 at 4:18 AM, Yves Rogez <[email protected]>
wrote:

> Hello,
>
> I would like to know if there is a mean with paraview (or VTK, I could
> write a plugin) to easily clip a tetrahedron based geometry and data (built
> with a delaunay3D filter) with a polydata geometry (typically a triangle
> mesh) ?
> The implicit sphere-based clipping could be an approximation but an
> explicit 3D function would be better for my application...
>
> Thanks,
>
> Yves
>
> _______________________________________________
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>



-- 
Cory Quammen
R&D Engineer
Kitware, Inc.
_______________________________________________
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to