AbstractPicker
Introduction
vtkAbstractPicker is an abstract superclass that defines a minimal API for its concrete subclasses. The minimum functionality of a picker is to return the x-y-z global coordinate position of a pick (the pick itself is defined in display coordinates).
The API to this class is to invoke the Pick() method with a selection point (in display coordinates - pixels) and a renderer. Then get the resulting pick position in global coordinates with the GetPickPosition() method.
See Also
Methods
addPickList
| Argument | Type | Required | Description |
|---|---|---|---|
prop | vtkProp3D | Yes |
deletePickList
| Argument | Type | Required | Description |
|---|---|---|---|
prop | vtkProp3D | Yes |
extend
Method used to decorate a given object (publicAPI+model) with vtkAbstractPicker 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 | IAbstractPickerInitialValues | No | (default: {}) |
getPickFromList
getPickList
getPickPosition
Get the picked position
getPickPositionByReference
Get the picked position
getRenderer
getSelectionPoint
getSelectionPointByReference
initialize
initializePickList
Set pickList to empty array.
setPickFromList
| Argument | Type | Required | Description |
|---|---|---|---|
pickFromList | Boolean | Yes |
setPickList
| Argument | Type | Required | Description |
|---|---|---|---|
pickList | Array[vtkProp3D] | Yes |