The contribution to VTK presented in this article is an extension to vtk::vtkDiscreteMarchingCubes to also create vtk::vtkPointData scalars containing the value of the adjacent voxel. These can be used to remove regions of the marching-cubes 1 mesh depending on the local neighborhood. The extension is based on the code of vtkDiscreteMarchingCubes of VTK-6.3.0 and is available on GitLab https://gitlab.kitware.com/vtk/vtk/merge_requests/889 (and GitHub https://github.com/Kitware/VTK/pull/18).