Skip to main content

createVolumeActor

Callable

  • createVolumeActor(props: createVolumeActorInterface, element: HTMLDivElement, viewportId: string, suppressEvents?: boolean, useNativeDataType?: boolean): Promise<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.


    Parameters

    • props: createVolumeActorInterface

      createVolumeActorInterface

    • element: HTMLDivElement
    • viewportId: string
    • suppressEvents: boolean = false
    • useNativeDataType: boolean = false

    Returns Promise<VolumeActor>

    A promise that resolves to a VolumeActor.