# visualize axial,coronal and sagittal slices using "imageSlicing.cxx'' example

**URL:** https://discourse.vtk.org/t/visualize-axial-coronal-and-sagittal-slices-using-imageslicing-cxx-example/534
**Category:** Support
**Created:** [March 19, 2019, 5:08pm UTC](https://discourse.vtk.org/t/visualize-axial-coronal-and-sagittal-slices-using-imageslicing-cxx-example/534 "2019-03-19T17:08:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Marco\_Festugato](https://discourse.vtk.org/user_avatar/discourse.vtk.org/marco_festugato/32/327_2.png) [@Marco\_Festugato](https://discourse.vtk.org/u/Marco_Festugato)
#### Post date: [March 19, 2019, 5:08pm UTC](https://discourse.vtk.org/t/visualize-axial-coronal-and-sagittal-slices-using-imageslicing-cxx-example/534/1 "2019-03-19T17:08:19Z")

</div>

Hi guys, I’m very new to VTK. What i want to do is use the ‘imageSlicing’ example and adapt it at my needs:  
I have to do what the example does (cut a 3D volume in slices), but also i have to show the 3 different slices in a window and be able to ‘‘scroll’’ and display the different ‘‘depths’’ of the volume for the 3 slices at the same time.  
I’ve tried adapting the code to my needs, but what i always get are 2 static images and 1 that im able to ‘scroll’ with the mouse motion…but only 1! Do u know how could i change this code/ what i have to do?  
Thanks in advance!
