Skip to content

ScalarBarActor ​

Introduction ​

The WebGPU backend view node for a vtkScalarBarActor.

Methods ​

buildPass ​

Builds myself: bind the scalar bar helper to the renderable and adopt the bar and text actors it owns as children.

ArgumentTypeRequiredDescription
prepassYes

extend ​

Method used to decorate a given object (publicAPI+model) with vtkWebGPUScalarBarActor characteristics.

ArgumentTypeRequiredDescription
publicAPIYesobject on which methods will be bounds (public)
modelYesobject on which data structure will be bounds (protected)
initialValuesIWebGPUScalarBarActorInitialValuesNo(default: {})

newInstance ​

Method used to create a new instance of vtkWebGPUScalarBarActor.

ArgumentTypeRequiredDescription
initialValuesIWebGPUScalarBarActorInitialValuesNofor pre-setting some of its content

opaquePass ​

Renders myself: hand the viewport size, the active camera and the render window to the scalar bar helper.

ArgumentTypeRequiredDescription
prepassYes
renderPassvtkRenderPassYes