Skip to content

ResliceCursorWidget ​

Methods ​

getActiveViewType ​

The view type currently being interacted with, if any.

getCenter ​

The world-space point the three planes intersect at.

getCenterHandle ​

The handle sitting at the intersection of the three planes.

getDisplayScaleParams ​

The display scale params of the first representation of each reslice view type. A view type with no representation, or whose representation predates the display-scale API, maps to undefined.

getImage ​

The image the widget reslices.

getPlaneExtremities ​

Return an array of the first and the last possible points of the plane along its normal.

ArgumentTypeRequiredDescription
viewTypeViewTypesYes

Returns ​

TypeDescription
Array<Vector3>two Vector3 arrays (first and last points)

getPlanes ​

The orientation of each reslice plane, keyed by view type.

getRepresentationsForViewType ​

ArgumentTypeRequiredDescription
viewTypeViewTypesYes

getScrollingMethod ​

Which mouse button scrolls through the slices.