Skip to content

PolyLineRepresentation ​

Introduction ​

vtkPolyLineRepresentation renders the poly line going through the origins of the widget states as a tube. When scaleInPixels is on, the tube radius is scaled to keep a constant size in display coordinates, and it is enlarged while rendering the picking buffer.

Methods ​

extend ​

Method use to decorate a given object (publicAPI+model) with vtkPolyLineRepresentation characteristics.

ArgumentTypeRequiredDescription
publicAPIYesobject on which methods will be bounds (public)
modelYesobject on which data structure will be bounds (protected)
initialValuesIPolyLineRepresentationInitialValuesNo(default: {})

requestData ​

Builds the poly line from the origins of the input states, dropping invalid and coincident points, then updates the tube radius.