Skip to content

ArrowHandleRepresentation ​

Introduction ​

vtkArrowHandleRepresentation renders one glyph per handle state, the glyph geometry being rebuilt whenever the shape mixin of the states changes. Depending on the shape, the glyph is oriented along orientation and/or rotated to face the camera.

Methods ​

extend ​

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

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

getOrientation ​

Direction the glyph is oriented along, for the shapes that are orientable.

getViewMatrix ​

View matrix used to orient the glyph towards the camera.

is2DShape ​

True when the current shape is a flat shape.

isOrientableShape ​

True when the current shape can be oriented along orientation.

setDisplayCallback ​

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