# Rotate all three cursors synchronously for vtkResliceImageViewer

**URL:** https://discourse.vtk.org/t/rotate-all-three-cursors-synchronously-for-vtkresliceimageviewer/3648
**Category:** Support
**Created:** [June 25, 2020, 2:05pm UTC](https://discourse.vtk.org/t/rotate-all-three-cursors-synchronously-for-vtkresliceimageviewer/3648 "2020-06-25T14:05:30Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![NewProggie](https://discourse.vtk.org/user_avatar/discourse.vtk.org/newproggie/32/739_2.png) [@NewProggie](https://discourse.vtk.org/u/NewProggie)
#### Post date: [June 25, 2020, 2:05pm UTC](https://discourse.vtk.org/t/rotate-all-three-cursors-synchronously-for-vtkresliceimageviewer/3648/1 "2020-06-25T14:05:30Z")

</div>

I am using three different [vtkResliceImageViewer](https://vtk.org/doc/nightly/html/classvtkResliceImageViewer.html) based viewers for axial, coronal and sagittal views for medical images and like to synchronously rotate all _three_ cursors (or rather planes). I found [vtkImageOrthoPlanes](https://vtk.org/doc/nightly/html/classvtkImageOrthoPlanes.html) which is doing the right thing for vtkImagePlaneWidget, but cannot be applied for vtkResliceCursor.

As far as I can see this is currently implemented only for _two_ planes [1]. Is there an easy way to use the resulting angle from the rotation of the two planes and apply it to the orthogonal one?  
Thanks in advance for any help or hints.

[1] [https://github.com/Kitware/VTK/blob/master/Interaction/Widgets/vtkResliceCursorLineRepresentation.cxx#L245](https://github.com/Kitware/VTK/blob/master/Interaction/Widgets/vtkResliceCursorLineRepresentation.cxx#L245)
