Skip to content

CellPicker

Methods

computeSurfaceNormal

ArgumentTypeRequiredDescription
dataYes
cellvtkCellYes
weightsArray[Number]Yes
normalArray[Number]Yes

extend

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

ArgumentTypeRequiredDescription
publicAPIYesobject on which methods will be bounds (public)
modelYesobject on which data structure will be bounds (protected)
initialValuesICellPickerInitialValuesNo(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

ArgumentTypeRequiredDescription
initialValuesICellPickerInitialValuesNofor pre-setting some of its content

pick

ArgumentTypeRequiredDescription
selectionYes
renderervtkRendererYesThe vtkRenderer instance.

setOpacityThreshold

Get the opacity threshold for volume picking