Skip to content

ScalarBarActor ​

Introduction ​

The OpenGL 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 vtkOpenGLScalarBarActor characteristics.

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

newInstance ​

Method used to create a new instance of vtkOpenGLScalarBarActor.

ArgumentTypeRequiredDescription
initialValuesIOpenGLScalarBarActorInitialValuesNofor 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