# Visualize Cutplane Edges

**URL:** https://discourse.vtk.org/t/visualize-cutplane-edges/9121
**Category:** Support
**Created:** [August 9, 2022, 2:40pm UTC](https://discourse.vtk.org/t/visualize-cutplane-edges/9121 "2022-08-09T14:40:26Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Jan](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/j/ce7236/32.png) [@Jan](https://discourse.vtk.org/u/Jan)
#### Post date: [August 9, 2022, 2:40pm UTC](https://discourse.vtk.org/t/visualize-cutplane-edges/9121/1 "2022-08-09T14:40:26Z")

</div>

Hello everyone,

I am currently finetuning the visualization of a vector field cut plane. What I try to accomplish is the visualization of the cut plane’s edges and only the edges. So far, I tried to visualize the cut plane via a PolyDataMapper for which I set the EdgeVisibility to on. This results in the full plane being displayed:

 ![CutplaneDirect](https://discourse.vtk.org/uploads/default/original/2X/2/2ff012ba18dbffe3017180b38d30081d7fd15a6d.png)

I figured an OutlineFilter might solve the issue but if the cut plane has an orientation with more than one component != 0, the outline shows not the frame of the plane but a surrounding box (white wires in the figure):

 ![OutlineCutplane](https://discourse.vtk.org/uploads/default/original/2X/e/e3deb589e4a3cc27407246d0fca9b17cd45f2d58.png)

I thought of using a PlaneSource but it can only be defined via an origin and additional points, or an orientation. So, I see no possibility to give it constrains that restrict it to the inner of the cut object.  
Thus, I ask you kind people for help, since I got no clue how to continue from here on.

---

<div class="post-metadata">

### Author: ![will.schroeder](https://discourse.vtk.org/user_avatar/discourse.vtk.org/will.schroeder/32/233_2.png) [@will.schroeder](https://discourse.vtk.org/u/will.schroeder)
#### Post date: [August 9, 2022, 3:02pm UTC](https://discourse.vtk.org/t/visualize-cutplane-edges/9121/2 "2022-08-09T15:02:17Z")

</div>

One option is to pass the cut plane poly data through a vtkFeatureEdges. Show only the “boundary edges” of the cut plane (and of course use a mapper and actor to display the boundary edges).

---

<div class="post-metadata">

### Author: ![Jan](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/j/ce7236/32.png) [@Jan](https://discourse.vtk.org/u/Jan)
#### Post date: [August 10, 2022, 5:39pm UTC](https://discourse.vtk.org/t/visualize-cutplane-edges/9121/3 "2022-08-10T17:39:24Z")

</div>

Works like a charm.  
Thanks alot.
