The vtkImageActor has no SetSliceNumber method, SetZSlice mis-documented
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
The vtkImageActor has a difficult-to-use interface. The only way to set which slice to view is by calling SetDisplayExtent().
The SetZSlice() method documentation says that it works for all orientations, but it fact it does not, it only works for XY-oriented slices.
This class really needs a SetSliceNumber() method, and a SetSliceOrientation() method too, to specify whether slices are XY, YZ, or XZ.
I think the best way to implement this is to add a SliceNumber ivar and a SliceOrientation ivar, and these ivars will be taken into account when the new ComputedDisplayExtent is calculated. For backwards compatibility, when SetDisplayExtent is set to reflect a single slice, the SliceNumber and SliceOrientation will have to be set accordingly.
Just my two cents.