Methods
getCaptureZValues
Gets whether to capture Z values.
getFieldAssociation
Gets the field association.
getSourceDataAsync
Get the picking source data.
| Argument | Type | Required | Description |
|---|---|---|---|
renderer |
vtkRenderer | Yes | |
fx1 |
number | Yes | top left x coord |
fy1 |
number | Yes | top left y coord |
fx2 |
number | Yes | bottom right x coord |
fy2 |
number | Yes | bottom right y coord |
selectAsync
Generates a selection.
| Argument | Type | Required | Description |
|---|---|---|---|
renderer |
vtkRenderer | Yes | |
fx1 |
number | Yes | top left x coord |
fy1 |
number | Yes | top left y coord |
fx2 |
number | Yes | bottom right x coord |
fy2 |
number | Yes | bottom right y coord |
setCaptureZValues
Sets whether to capture Z values.
| Argument | Type | Required | Description |
|---|---|---|---|
capture |
boolean | Yes |
setFieldAssociation
Sets the field association.
| Argument | Type | Required | Description |
|---|---|---|---|
assoc |
FieldAssociations | Yes |
Source
import { FieldAssociations } from '../../../Common/DataModel/DataSet/Constants'; |
import macro from 'vtk.js/Sources/macros'; |