# 4DFlow Pathline Streamline

**URL:** https://discourse.paraview.org/t/4dflow-pathline-streamline/13124
**Category:** ParaView Support
**Tags:** vtk
**Created:** [October 27, 2023, 11:26am UTC](https://discourse.paraview.org/t/4dflow-pathline-streamline/13124 "2023-10-27T11:26:43Z")
**Posts on this page:** 1
**Showing post:** 26

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [November 17, 2023, 10:30am UTC](https://discourse.paraview.org/t/4dflow-pathline-streamline/13124/26 "2023-11-17T10:30:42Z")

</div>

You can use the Polydatadistance trick for this I think.

> [@Slice/Clip with a surface](https://discourse.paraview.org/t/slice-clip-with-a-surface/9436):
>
> It is possible to slice and clip a volume with a surface by using a Phyton Programmable Filter. This relies on the [vtkImplicitPolyDataDistance](https://vtk.org/doc/nightly/html/classvtkImplicitPolyDataDistance.html#details), so the result is an approximation, not an actual boolean operation. Steps for clip: Open a volume, apply Open a surface, apply In the pipeline browser, click on the volume, then press Ctrl, then click on the surface Add a Programmable Filter Set the output type to vtkUnstructuredGrid Set the script to import paraview.modules.vtkPVVTKExtensionsFilte…

---

_[View the full topic](https://discourse.paraview.org/t/4dflow-pathline-streamline/13124)._
