How to rotate a volume use volume center?


when i change the slider bar value of [LR],[PA],[IS],the volume rotate by a centain point in 3d space but not the center of volume,how to make the rotate center to the center of the volume?

Rotation is about the origin, so you want to first translate the image so that (0,0,0) is the location in the image about which you want to center your rotations. You can do this by a separate transform that precedes the rotation, or you can go to the volume information (in the volumes module) and edit the origin.

I have written a simple module that can achieve this functionality. It allows for dragging and rotating models or volumes. The rotation center is the center point of the volume or model.

This is my git link:GitHub - joifish0/transformModel