3D viewport orientation menu
In 3.13, the orientation menu of a volume3d viewport showed the Axial, Sagittal, and Coronal items. A click on an item changed the 3D viewport to a 2D MPR viewport.
In 3.14, a volume3d viewport shows a compass in the orientation menu. The compass has these controls:
- S, I, R, L, A, and P. A click moves the camera to that side of the patient. The distance and the focal point do not change.
- A spin control. The spin turns the camera about the patient superior axis.
The compass does not change the viewport to a 2D viewport. To get a 2D view, select a different layout, for example MPR. Other viewports keep the Axial, Sagittal, and Coronal menu.
New commands
The @ohif/extension-cornerstone commands module adds these commands:
setViewport3DViewDirection({ viewportId, direction }):directionis'S','I','R','L','A', or'P'.rotateViewport3DBy({ viewportId, angle }):angleis in degrees.setViewport3DSpin({ viewportId, speed }): each step ofspeedis 18 degrees per second.0stops the spin. A negative value reverses the direction.