Skip to main content

Function: createVOISynchronizer()

createVOISynchronizer(synchronizerName, options): Synchronizer

A helper that creates a new Synchronizer which listens to the VOI_MODIFIED rendering event and calls the voiSyncCallback.

Parameters​

• synchronizerName: string

The name of the synchronizer.

• options: VOISynchronizerOptions

The options for the synchronizer. By default the voi synchronizer will also sync the invert state of the volume, but this can be disabled by setting syncInvertState to false.

Returns​

Synchronizer

A new Synchronizer instance.

Defined in​

tools/src/synchronizers/synchronizers/createVOISynchronizer.ts:23