# How to display the delaunay triangulation line for marching cubes?

**URL:** https://discourse.vtk.org/t/how-to-display-the-delaunay-triangulation-line-for-marching-cubes/2307
**Category:** Support
**Created:** [December 18, 2019, 8:43am UTC](https://discourse.vtk.org/t/how-to-display-the-delaunay-triangulation-line-for-marching-cubes/2307 "2019-12-18T08:43:21Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![zhang-qiang-github](https://discourse.vtk.org/user_avatar/discourse.vtk.org/zhang-qiang-github/32/2519_2.png) [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)
#### Post date: [December 18, 2019, 8:43am UTC](https://discourse.vtk.org/t/how-to-display-the-delaunay-triangulation-line-for-marching-cubes/2307/1 "2019-12-18T08:43:21Z")

</div>

The isosurface obtained by marching cubes is actually a vtkPolyData. And it consist of many lines. How can I display those line? I only need to display lines (the first picture) nor the rendering (the second picture).

![p1](https://discourse.vtk.org/uploads/default/original/2X/5/58a8791d6df0225d3506b6227fae0d1fb3db7c1f.png)

![p2](https://discourse.vtk.org/uploads/default/original/2X/5/5e55ef09b8633b7653e75701bf24fe2ffddae2b3.png)

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.vtk.org/user_avatar/discourse.vtk.org/cory.quammen/32/6751_2.png) [@cory.quammen](https://discourse.vtk.org/u/cory.quammen)
#### Post date: [December 18, 2019, 7:06pm UTC](https://discourse.vtk.org/t/how-to-display-the-delaunay-triangulation-line-for-marching-cubes/2307/2 "2019-12-18T19:06:08Z")

</div>

Here is an example that shows all the edges in the marching cubes output:

[https://lorensen.github.io/VTKExamples/site/Cxx/Visualization/Wireframe/](https://lorensen.github.io/VTKExamples/site/Cxx/Visualization/Wireframe/)

---

<div class="post-metadata">

### Author: ![zhang-qiang-github](https://discourse.vtk.org/user_avatar/discourse.vtk.org/zhang-qiang-github/32/2519_2.png) [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)
#### Post date: [December 19, 2019, 12:12am UTC](https://discourse.vtk.org/t/how-to-display-the-delaunay-triangulation-line-for-marching-cubes/2307/3 "2019-12-19T00:12:19Z")

</div>

Thank you for your kindly answer.
