volume_mapper#
- property MapdlTheme.volume_mapper: str#
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': :vtk:`vtkFixedPointVolumeRayCastMapper`'gpu': :vtk:`vtkGPUVolumeRayCastMapper`'open_gl': :vtk:`vtkOpenGLGPUVolumeRayCastMapper`'smart': :vtk:`vtkSmartVolumeMapper`
Examples
Set default volume mapper globally to ‘gpu’.
>>> import pyvista as pv >>> pv.global_theme.volume_mapper = 'gpu'