Skip to content

Volume ​

Introduction ​

The OpenGL backend view node for a vtkVolume.

Methods ​

buildPass ​

Builds myself: resolve the render window, renderer and context, then adopt the renderable's mapper as a child.

ArgumentTypeRequiredDescription
prepassYes

extend ​

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

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

getContext ​

getKeyMatrices ​

Recompute the model-to-world and normal matrices if the renderable moved.

newInstance ​

Method used to create a new instance of vtkOpenGLVolume.

ArgumentTypeRequiredDescription
initialValuesIOpenGLVolumeInitialValuesNofor pre-setting some of its content

queryPass ​

ArgumentTypeRequiredDescription
prepassYes
renderPassvtkRenderPassYes

setContext ​

ArgumentTypeRequiredDescription
contextYes

traverseVolumePass ​

ArgumentTypeRequiredDescription
renderPassvtkRenderPassYes

volumePass ​

Renders myself.

ArgumentTypeRequiredDescription
prepassYes