Skip to content

InteractorStyleMPRSlice ​

Introduction ​

Manipulator style for multi-planar reformat: rotate, pan and zoom manipulators plus a scroll manipulator bound to the slice position along the camera direction of projection.

Methods ​

getSlice ​

Gets the current slice position, measured along the slice normal.

getSliceNormal ​

Gets the slice normal, which is the camera direction of projection.

getSliceRange ​

Gets the [min, max] slice positions spanned by the volume mapper.

getVolumeMapper ​

Gets the mapper whose bounds define the slice range.

setSlice ​

Moves the camera to the given slice position, clamped to the slice range.

ArgumentTypeRequiredDescription
sliceYesthe slice position

setSliceNormal ​

Points the camera along the given world-space normal and frames the volume mapper bounds.

ArgumentTypeRequiredDescription
normalYesthe slice normal components

setVolumeMapper ​

Sets the mapper whose bounds define the slice range, and reorients the camera along the current slice normal.