pyvista.plotting.themes.Theme.volume_mapper#
- property Theme.volume_mapper: str[source]#
Return or set the default
volume_mapperparameter.Must be one of the following strings, which are mapped to the following VTK volume mappers.
'fixed_point': vtkFixedPointVolumeRayCastMapper'gpu': vtkGPUVolumeRayCastMapper'open_gl': vtkOpenGLGPUVolumeRayCastMapper'smart': vtkSmartVolumeMapper
Examples
Set default volume mapper globally to ‘gpu’.
>>> import pyvista as pv >>> pv.global_theme.volume_mapper = 'gpu'