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.
| Argument | Type | Required | Description |
|---|---|---|---|
publicAPI | Yes | object on which methods will be bounds (public) | |
model | Yes | object on which data structure will be bounds (protected) | |
initialValues | ISphereHandleRepresentationInitialValues | No | (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.