How to display the direction of the slices?

Hey I’m using ResliceCursorWidget to display an MPR viewer like in the example in the website:

I need to display the directions (Right- Left- Below -Above- Posterior, Anterior ) in each View of the 3 views, Like this example:

This does not exist as of now.
You might want to create a 2D actor and render text similarly to how it is done in vtkCubeAxes).
Alternatively you could implement it simply in HTML.
Hth,
J.

So is there a way to know to know directions from the VTI file? or from the Actor?
Thank you for your answer

You can get the information from the Camera (getPosition(), getFocalPoint() and getViewUp() should be all you need).

Thank you for your answer,