Skip to content

SphereHandleRepresentation ​

Introduction ​

vtkSphereHandleRepresentation renders the default sphere glyph of vtkGlyphRepresentation per handle state, and can report the display coordinates of the active handles through a callback.

Methods ​

extend ​

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

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

getGlyphResolution ​

Phi resolution of the sphere glyph.

setDisplayCallback ​

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

setGlyphResolution ​

Sets both the phi and theta resolution of the sphere glyph.