ImageResliceMapper
Methods
extend
Method used to decorate a given object (publicAPI+model) with vtkWebGPUImageResliceMapper characteristics.
| Argument | Type | Required | Description |
|---|---|---|---|
publicAPI | Yes | object on which methods will be bounds (public) | |
model | Yes | object on which data structure will be bounds (protected) | |
initialValues | IWebGPUImageResliceMapperInitialValues | No | (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.
| Argument | Type | Required | Description |
|---|---|---|---|
initialValues | IWebGPUImageResliceMapperInitialValues | No | for pre-setting some of its content |
setScalarTextures
Replace the per input scalar texture cache.
| Argument | Type | Required | Description |
|---|---|---|---|
scalarTextures | Array[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.