pyvista.CompositePolyDataMapper

pyvista.CompositePolyDataMapper#

class CompositePolyDataMapper(*args, **kwargs)[source]#

Composite PolyData mapper.

Parameters:
datasetpyvista.MultiBlock, optional

Multiblock dataset.

themepyvista.plotting.themes.Theme, optional

Plot-specific theme.

color_missing_with_nanbool, optional

Color any missing values with the nan_color. This is useful when not all blocks of the composite dataset have the specified scalars.

interpolate_before_mapbool, optional

Enabling makes for a smoother scalars display. Default is True. When False, OpenGL will interpolate the mapped colors which can result is showing colors that are not present in the color map.

Methods

CompositePolyDataMapper.set_scalars(...)

Set the scalars of the mapper.

CompositePolyDataMapper.set_unique_colors([...])

Set each block of the dataset to a unique color.

Attributes

CompositePolyDataMapper.block_attr

Return the block attributes.

CompositePolyDataMapper.color_missing_with_nan

Color missing arrays with the NaN color.

CompositePolyDataMapper.dataset

Return the composite dataset assigned to this mapper.