Skip to content

RectangleWidget ​

Introduction ​

vtkRectangleWidget places a rectangle from two points. Modifier keys switch between corner-to-corner and center-to-corner placement and constrain the ratio to a square.

Methods ​

getRepresentationsForViewType ​

The representation builders the widget uses in the given view type.

getTextWorldMargin ​

The margin, in world units, between the text and the shape.