# Hide portions of geometry using the vtkImageViewer2

**URL:** https://discourse.vtk.org/t/hide-portions-of-geometry-using-the-vtkimageviewer2/7709
**Category:** Support
**Created:** [January 24, 2022, 3:20pm UTC](https://discourse.vtk.org/t/hide-portions-of-geometry-using-the-vtkimageviewer2/7709 "2022-01-24T15:20:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![no2497](https://discourse.vtk.org/user_avatar/discourse.vtk.org/no2497/32/3226_2.png) [@no2497](https://discourse.vtk.org/u/no2497)
#### Post date: [January 24, 2022, 3:20pm UTC](https://discourse.vtk.org/t/hide-portions-of-geometry-using-the-vtkimageviewer2/7709/1 "2022-01-24T15:20:40Z")

</div>

Hi,

in the vtkImageViewer2 Class Reference ([https://vtk.org/doc/nightly/html/classvtkImageViewer2.html#details](https://vtk.org/doc/nightly/html/classvtkImageViewer2.html#details)) it is reported that “Any portions of your geometry that are in front of the displayed slice will be visible; any portions of your geometry that are behind the displayed slice will be obscured.”

Is there a way to avoid this behavior making every portion of the geometry visible, even when it is behind the displayed slice?

Thanks in advance.
