createVolumeActor
Callable
Parameters
props: createVolumeActorInterface
createVolumeActorInterface
element: HTMLDivElement
viewportId: string
suppressEvents: boolean = false
useNativeDataType: boolean = false
Returns Promise<VolumeActor>
A promise that resolves to a VolumeActor.
Given a volumeId, it creates a vtk volume actor and returns it. If callback is provided, it will be called with the volume actor and the volumeId. If blendMode is provided, it will be set on the volume actor.