# Vtk code location

**URL:** <https://discourse.slicer.org/t/vtk-code-location/25936>\
**Category:** Support\
**Created:** [October 27, 2022, 3:36pm UTC](https://discourse.slicer.org/t/vtk-code-location/25936 "2022-10-27T15:36:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bserrano](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/bserrano/32/17034_2.png) [@bserrano](https://discourse.slicer.org/u/bserrano)\
**Post date:** [October 27, 2022, 3:36pm UTC](https://discourse.slicer.org/t/vtk-code-location/25936/1 "2022-10-27T15:36:39Z")

</div>

Hi,

I’m struggling to find the code for slicer.vtkImageSlicePaint().  
Does anyone know where I can find it?

Many thanks,

Belén

---

<div class="post-metadata">

**Author:** ![Sunderlandkyl](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sunderlandkyl/32/79987_2.png) [@Sunderlandkyl](https://discourse.slicer.org/u/Sunderlandkyl)\
**Post date:** [October 27, 2022, 3:55pm UTC](https://discourse.slicer.org/t/vtk-code-location/25936/2 "2022-10-27T15:55:58Z")

</div>

vtkImageSlicePaint was removed from 3D Slicer with the Editor module in this commit:

> <https://github.com/Slicer/Slicer/commit/39283db420baf502fa99865c9d5d58d0e5295a6e>
>
> Remove Editor module to reduce maintenance workload and simplify user choice.
> Ed…itor module has been deprecated for several years, Segment Editor offers more and improved feature set.
> 
> Also removed templates and vtkITK classes that are not used in Slicer core anymore.

Here is the code from before it was removed:

> <https://github.com/Slicer/Slicer/blob/8245aa59d114e47fc9884c4baa5d66bf900329ff/Modules/Scripted/EditorLib/Logic/vtkImageSlicePaint.cxx>
