CellPicker
Methods
computeSurfaceNormal
| Argument | Type | Required | Description |
|---|---|---|---|
data | Yes | ||
cell | vtkCell | Yes | |
weights | Array[Number] | Yes | |
normal | Array[Number] | Yes |
extend
Method use to decorate a given object (publicAPI+model) with vtkCellPicker 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 | ICellPickerInitialValues | No | (default: {}) |
getCellIJK
Get the structured coordinates of the cell at the PickPosition.
getCellIJKByReference
Get the structured coordinates of the cell at the PickPosition.
getCellId
Get the id of the picked cell.
getMapperNormal
getMapperNormalByReference
getOpacityThreshold
Get the opacity threshold for volume picking
getPCoords
Get the parametric coordinates of the picked cell.
getPCoordsByReference
initialize
newInstance
Method use to create a new instance of vtkCellPicker
| Argument | Type | Required | Description |
|---|---|---|---|
initialValues | ICellPickerInitialValues | No | for pre-setting some of its content |
pick
| Argument | Type | Required | Description |
|---|---|---|---|
selection | Yes | ||
renderer | vtkRenderer | Yes | The vtkRenderer instance. |
setOpacityThreshold
Get the opacity threshold for volume picking