# Image cursor

**URL:** https://discourse.vtk.org/t/image-cursor/5295
**Category:** Support
**Created:** [March 2, 2021, 6:19am UTC](https://discourse.vtk.org/t/image-cursor/5295 "2021-03-02T06:19:14Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Jothybasu\_Selvaraj](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jothybasu_selvaraj/32/695_2.png) [@Jothybasu\_Selvaraj](https://discourse.vtk.org/u/Jothybasu_Selvaraj)
#### Post date: [March 2, 2021, 6:19am UTC](https://discourse.vtk.org/t/image-cursor/5295/1 "2021-03-02T06:19:14Z")

</div>

Hello,

I want to create a cursor like the one shown in the image

 ![Untitled](https://discourse.vtk.org/uploads/default/original/2X/a/a1a613dc6920c1e861bfbe00dd6f633eb96fbc11.jpeg)

Which class is this exactly, there are numerous cursors in vtk. BTW, I am not using vtkImaegViewer2D, I have my own renderer and I use vtkImaegReslice.

Thanks,  
Jothy

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [March 2, 2021, 2:06pm UTC](https://discourse.vtk.org/t/image-cursor/5295/2 "2021-03-02T14:06:56Z")

</div>

You are very lucky with the timing. @dporter is putting together a lightweight MPR viewer based on VTK and 3D Slicer. You might help him in his work or just use and customize the viewer that he develops.

---

<div class="post-metadata">

### Author: ![Jothybasu\_Selvaraj](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jothybasu_selvaraj/32/695_2.png) [@Jothybasu\_Selvaraj](https://discourse.vtk.org/u/Jothybasu_Selvaraj)
#### Post date: [March 2, 2021, 8:51pm UTC](https://discourse.vtk.org/t/image-cursor/5295/3 "2021-03-02T20:51:49Z")

</div>

Thanks Andras. @dporter where is your MPR Viewer repo?

I too have a MPR viewer that can display RT objects as well. BTW which class should I use to display movable cursor? i too use SlicerRT but for some work.

Cheers,  
Jothy

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [March 2, 2021, 10:41pm UTC](https://discourse.vtk.org/t/image-cursor/5295/4 "2021-03-02T22:41:33Z")

</div>

The repository is here: [https://github.com/KitwareMedical/SlicerQReads/](https://github.com/KitwareMedical/SlicerQReads/)

> [@Jothybasu\_Selvaraj](#):
>
> BTW which class should I use to display movable cursor?

Slicer uses displayable managers and custom VTK widgets (we tried to use standard VTK widgets for many years but they are just too complex, too slow, hard to initialize them and keep in sync between multiple views, etc.). Crosshair is displayed using vtkMRMLCrosshairDisplayableManager class. Somebody is currently working on adding a custom widget for it, so it may get some significant improvements in the near future. Slice intersections are displayed by vtkMRMLModelSliceDisplayableManager.

---

<div class="post-metadata">

### Author: ![Jothybasu\_Selvaraj](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jothybasu_selvaraj/32/695_2.png) [@Jothybasu\_Selvaraj](https://discourse.vtk.org/u/Jothybasu_Selvaraj)
#### Post date: [March 3, 2021, 3:38am UTC](https://discourse.vtk.org/t/image-cursor/5295/5 "2021-03-03T03:38:42Z")

</div>

OK, thanks. Just building SlicerQReads
