We would like have a 3D cursor in the 3D view, similar to the new widget that was recently merged in VTK.
This widget replaces the mouse cursor by a 3D point representation that is projected on the surface when an actor is hovered.
This feature is useful in a stereo environment, or when using haptic devices, to better visualize the position of the cursor in the 3D scene.
We noticed that the current crosshair implementation in 3DSlicer offers a similar functionality, but the following requirements are missing:
- The 2D mouse cursor should be hidden and replaced by the crosshair
- The crosshair position should be updated on mouse move events without pressing the shift key
- The crosshair position should be updated smoothly using a hardware picker (as opposed to the current volume picker)
We are not sure what is the best path forward to make this functionality available in 3DSlicer.
Should we update the current crosshair implementation to add a new mode that fulfills the requirements above?
Or is it preferred to integrate the vtk3DCursorWidget directly?