Manipulating Multiple Stacks Using 3D-viewer

Hello! I am developing a plugin using java for ImageJ, and attempting to place multiple stacks relative to each other using 3D-viewer.

My question is: how would I go about setting the location and rotation of the stacks (assuming I know the target coordinates and rotation of each stack)? I have done some research, and I believe that I may be able to use 3D-viewer’s ContentTransformer class’ translate and rotate methods to do so? Any insight on subject would be appreciated.

I would be thankful for any general tips for manipulating stacks in 3D-viewer too, even non-java techniques.