ObjectManager
Methods
alwaysUpdateCamera
Always update the camera
applyDefaultAliases
Apply the default aliases
build
Build a vtkObject.
clearOneTimeUpdaters
Clear all one time updaters
clearTypeMapping
Clear all type mappings
excludeInstance
Register a new type to exclude
| Argument | Type | Required | Description |
|---|---|---|---|
type | string | Yes | The type to exclude |
propertyName | string | Yes | The property name to exclude |
propertyValue | unknown | Yes | The property value to exclude |
getSupportedTypes
Get a list of all supported types
Returns
| Type | Description |
|---|---|
| Array[string] |
setDefaultMapping
Set the default types mapping
| Argument | Type | Required | Description |
|---|---|---|---|
reset | boolean | No | Clear all existing type mappings, defaults to true |
setTypeMapping
Defines a new type handler with the specified builder and updater functions
| Argument | Type | Required | Description |
|---|---|---|---|
type | String | Yes | The type you wish to register |
buildFn | BuilderFunction | No | The builder function to associate with the type |
updateFn | UpdaterFunction | No | The updater function to associate with the type |
update
| Argument | Type | Required | Description |
|---|---|---|---|
type | String | Yes | The type to update |
instance | vtkObject | Yes | The specific instance |
props | IViewState | Yes | |
context | ISynchronizerContext | Yes |
updateRenderWindow
Update the associated render window