# Smoothing vtkPolyData

**URL:** <https://discourse.slicer.org/t/smoothing-vtkpolydata/18969>\
**Category:** Support\
**Created:** [July 29, 2021, 12:38pm UTC](https://discourse.slicer.org/t/smoothing-vtkpolydata/18969 "2021-07-29T12:38:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![manuela\_lizarazu](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/manuela_lizarazu/32/11435_2.png) [@manuela\_lizarazu](https://discourse.slicer.org/u/manuela_lizarazu)\
**Post date:** [July 29, 2021, 12:38pm UTC](https://discourse.slicer.org/t/smoothing-vtkpolydata/18969/1 "2021-07-29T12:38:49Z")

</div>

Hi I am trying to smooth a vtkPolyData surface mesh. I do not have the smoothing brush because is not a segmentation. I can see the data under the models module. Do you how this can be achieved?

Thanks!!!

---

<div class="post-metadata">

**Author:** ![smrolfe](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/smrolfe/32/3659_2.png) [@smrolfe](https://discourse.slicer.org/u/smrolfe)\
**Post date:** [July 29, 2021, 4:34pm UTC](https://discourse.slicer.org/t/smoothing-vtkpolydata/18969/2 "2021-07-29T16:34:20Z")

</div>

For models you can use the smoothing filter in the Surface Toolbox module.

---

<div class="post-metadata">

**Author:** ![lalamax3d](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lalamax3d/32/69164_2.png) [@lalamax3d](https://discourse.slicer.org/u/lalamax3d)\
**Post date:** [January 29, 2024, 1:58pm UTC](https://discourse.slicer.org/t/smoothing-vtkpolydata/18969/3 "2024-01-29T13:58:06Z")

</div>

thanks,  
is there a way to use brush to apply selective smoothing and not on whole mesh.  
just like, volume segmentation has smooth brush…Q. can we use it on mesh object.

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [January 30, 2024, 6:23pm UTC](https://discourse.slicer.org/t/smoothing-vtkpolydata/18969/4 "2024-01-30T18:23:19Z")

</div>

I’m not aware of such feature aready implemented. I could imagine allowing editing closed surface representation in Segment Editor (and only enabling very select set of tools, which are prepared for this case), then make the smoothing brush do this in the area of the brush. As a starter idea I’d try smoothing the polydata, and merge the original and the output considering the area of the brush. But all this would take considerable development time, especially that currently we simply don’t allow any editing on closed surface representation from Segment Editor. Not sure if anyone else has a better idea.
