Display 2D vtkImageData/vtkImageActor with data not in X/Y axes

I used Transparency example to test the display of vtkImageData with vtkImageActor.

If I put data in X and Y (like in the example), I can see the yellow rectangular.

If I put data in X and Z, I don’t see anything.

I put camera in a diagonal to be sure to see the rotated rectangular.

Please find enclosed my code. At line 24, if you #define XY, you will be able to see the image. If you #undef XY (data will be in XZ), no rectangle is displayed.

main.cpp (2.9 KB)

Did I missed something ?

Thanks for your help,

It seems to be partially supported