Skip to content

ResliceCursorWidget

Methods

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)

getRepresentationsForViewType

ArgumentTypeRequiredDescription
viewTypeViewTypesYes

setInfiniteLine

Defines the length of the line The scaling of each line representation always define the dimensions of the circle / elipse (X and Y axes) The unit of this scaling is either in world coordinates or in pixels depending in scaleInPixels When the line is finite, this scaling on the Z axis also defines the length of the line When the line is infinite, the scaling on the Z axis is automatically huge

ArgumentTypeRequiredDescription
infiniteLineYes