Function: convertMapperToNotSharedMapper()
convertMapperToNotSharedMapper(
sharedMapper
):vtkVolumeMapper
Converts a shared mapper to a non-shared mapper. Sometimes we need to detach a shared mapper and apply some changes to it, since otherwise, the changes will be applied to all the mappers that share the same data.
Parameters
• sharedMapper: vtkVolumeMapper
The shared mapper to convert.
Returns
vtkVolumeMapper
The converted volume mapper.
Defined in
packages/core/src/RenderingEngine/helpers/createVolumeMapper.ts:52