Skip to content

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

ArgumentTypeRequiredDescription
typestringYesThe type to exclude
propertyNamestringYesThe property name to exclude
propertyValueunknownYesThe property value to exclude

genericUpdater ​

Generic updater function which applies the state properties, dependencies, calls and arrays to the given instance.

getSupportedTypes ​

Get a list of all supported types

Returns ​

TypeDescription
Array[string]

oneTimeGenericUpdater ​

Updater function which applies the generic update process only once per state id.

setDefaultMapping ​

Set the default types mapping

ArgumentTypeRequiredDescription
resetbooleanNoClear all existing type mappings, defaults to true

setTypeMapping ​

Defines a new type handler with the specified builder and updater functions

ArgumentTypeRequiredDescription
typeStringYesThe type you wish to register
buildFnBuilderFunctionNoThe builder function to associate with the type
updateFnUpdaterFunctionNoThe updater function to associate with the type

update ​

ArgumentTypeRequiredDescription
typeStringYesThe type to update
instancevtkObjectYesThe specific instance
propsIViewStateYes
contextISynchronizerContextYes

updateRenderWindow ​

Update the associated render window