Skip to content

ImageResliceMapper ​

Methods ​

extend ​

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

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

getScalarTextures ​

Get the per input scalar texture cache. Entries beyond the current number of inputs are cleared to null.

newInstance ​

Method used to create a new instance of vtkWebGPUImageResliceMapper.

ArgumentTypeRequiredDescription
initialValuesIWebGPUImageResliceMapperInitialValuesNofor pre-setting some of its content

setScalarTextures ​

Replace the per input scalar texture cache.

ArgumentTypeRequiredDescription
scalarTexturesArray[IWebGPUResliceScalarTexture]No(default: [])

updateGeometryBuffers ​

Upload the reslice geometry as the index and vertex buffers of this mapper, adding vertex normals when the renderable asks for a slab.

updateResliceGeometry ​

Rebuild the polydata the image is resliced onto, either the slice plane cut through the image outline or the renderable's own slice polydata.