Function: createVolumeMapper()
createVolumeMapper(
imageData
,vtkOpenGLTexture
):vtkVolumeMapper
Given an imageData and a vtkOpenGLTexture, it creates a "shared" vtk volume mapper from which various volume actors can be created.
Parameters
• imageData: vtkImageData
the vtkImageData object that contains the data to render.
• vtkOpenGLTexture: vtkOpenGLTexture
The vtkOpenGLTexture that will be used to render the volume.
Returns
vtkVolumeMapper
The volume mapper.
Defined in
packages/core/src/RenderingEngine/helpers/createVolumeMapper.ts:16