How to display the direction of the slices?

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.