# Intersection between a mesh and a volume

**URL:** https://discourse.vtk.org/t/intersection-between-a-mesh-and-a-volume/3120
**Category:** Support
**Created:** [April 21, 2020, 4:29pm UTC](https://discourse.vtk.org/t/intersection-between-a-mesh-and-a-volume/3120 "2020-04-21T16:29:18Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![hannah](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/h/f04885/32.png) [@hannah](https://discourse.vtk.org/u/hannah)
#### Post date: [April 21, 2020, 4:29pm UTC](https://discourse.vtk.org/t/intersection-between-a-mesh-and-a-volume/3120/1 "2020-04-21T16:29:18Z")

</div>

Hello,  
I want to know if there is any solution to find the intersection between a mesh and a volume and colour the intersected area by using VTK?  
I am almost new with VTK, and any help could be helpful.  
Thanks

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [April 21, 2020, 5:19pm UTC](https://discourse.vtk.org/t/intersection-between-a-mesh-and-a-volume/3120/2 "2020-04-21T17:19:01Z")

</div>

Yes, it is very doable, see a complete example here: [https://lorensen.github.io/VTKExamples/site/Python/PolyData/PolyDataToImageDataStencil/](https://lorensen.github.io/VTKExamples/site/Python/PolyData/PolyDataToImageDataStencil/)

---

<div class="post-metadata">

### Author: ![hannah](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/h/f04885/32.png) [@hannah](https://discourse.vtk.org/u/hannah)
#### Post date: [April 21, 2020, 7:01pm UTC](https://discourse.vtk.org/t/intersection-between-a-mesh-and-a-volume/3120/3 "2020-04-21T19:01:18Z")

</div>

Thank you for your reply. I will check it out.
