SourceProxy
Methods
extend
Decorates a given publicAPI + model with vtkSourceProxy characteristics.
| Argument | Type | Required | Description |
|---|---|---|---|
publicAPI | Yes | ||
model | Yes | ||
initialValues | object | No |
getUpdate
Returns true when the algorithm has been modified more recently than the dataset it produced. Requires both an algorithm and a dataset to be set.
invokeDatasetChange
Invoke the DatasetChange event with the given payload.
| Argument | Type | Required | Description |
|---|---|---|---|
args | Yes | The event payload |
onDatasetChange
Register a callback to be invoked when the DatasetChange event occurs.
| Argument | Type | Required | Description |
|---|---|---|---|
cb | EventHandler | Yes | The callback to register |
priority | Number | No | Priority of this subscription |