Skip to content

ImageSlice ​

Introduction ​

The WebGPU backend view node for a vtkImageSlice.

Methods ​

buildPass ​

Builds myself: resolve the renderer and render window, claim a prop id and adopt the renderable's mapper as a child.

ArgumentTypeRequiredDescription
prepassYes

extend ​

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

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

getBufferShift ​

The translation applied to the vertex buffers of this slice to keep them near the origin. Recomputes the key matrices if needed.

ArgumentTypeRequiredDescription
wgpuRenvtkWebGPURendererYes

getKeyMatrices ​

Recompute the key matrices if the renderable or the stabilized center moved.

ArgumentTypeRequiredDescription
wgpuRenvtkWebGPURendererYes

getKeyMatricesTime ​

The time stamp guarding the cached key matrices.

getPropID ​

The identifier used by hardware selection to recognize this prop.

newInstance ​

Method used to create a new instance of vtkWebGPUImageSlice.

ArgumentTypeRequiredDescription
initialValuesIWebGPUImageSliceInitialValuesNofor pre-setting some of its content

queryPass ​

ArgumentTypeRequiredDescription
prepassYes
renderPassvtkRenderPassYes

traverseOpaquePass ​

ArgumentTypeRequiredDescription
renderPassvtkRenderPassYes

traverseOpaqueZBufferPass ​

ArgumentTypeRequiredDescription
renderPassvtkRenderPassYes

traverseTranslucentPass ​

ArgumentTypeRequiredDescription
renderPassvtkRenderPassYes

traverseZBufferPass ​

ArgumentTypeRequiredDescription
renderPassvtkRenderPassYes