Skip to content

LineHandleRepresentation ​

Introduction ​

vtkLineHandleRepresentation renders a cylinder per state, optionally infinite and optionally split in two halves separated by holeWidth.

Methods ​

extend ​

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

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

getGlyphResolution ​

Number of sides of the cylinder used as glyph.

getHoleWidth ​

Width of the gap left at the origin of each line. The line is split in two halves pushed away from the origin by half this width. When scaleInPixels is on, the width is expressed in pixels.

getInfiniteLine ​

When true, the lines are scaled up so that they look infinite.

setDisplayCallback ​

Set a callback called with the display coordinates of the active states, or with no argument when no state is active.

setGlyphResolution ​

Sets the resolution on the model and on the cylinder glyph. Returns the result of each chained setter.