Skip to content

SplineContextRepresentation ​

Introduction ​

vtkSplineContextRepresentation renders the spline going through the origins of the widget states, as a filled area and/or as a border line.

Methods ​

extend ​

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

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

getFill ​

Whether the area enclosed by the spline is triangulated and rendered.

getMapper ​

No mapper is stored on the model: each internal pipeline owns its own.

getOutputBorder ​

Whether the spline itself is rendered as a line.

getRepresentationStates ​

Only the visible states carrying an origin are kept.

requestData ​

Samples the spline defined by the origins of the input states, using the spline parameters carried by the input widget state.