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.

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.

Inherited Attributes#

_BaseMapper.array_name

Return or set the array name or number and component to color by.

_BaseMapper.bounds

Return the bounds of this mapper.

_BoundsSizeMixin.bounds_size

Return the size of each axis of the object’s bounding box.

_BaseMapper.center

Return the center of mapper.

_BaseMapper.color_mode

Return or set the color mode.

_BaseMapper.interpolate_before_map

Return or set the interpolation of scalars before mapping.

_BaseMapper.lookup_table

Return or set the lookup table.

_BaseMapper.scalar_map_mode

Return or set the scalar map mode.

_BaseMapper.scalar_range

Return or set the scalar range.

_BaseMapper.scalar_visibility

Return or set the scalar visibility.

_BaseMapper.static

Return or set whether the mapper treats its input as static.

Methods#

CompositePolyDataMapper.set_scalars(...)

Set the scalars of the mapper.

CompositePolyDataMapper.set_unique_colors([...])

Set each block of the dataset to a unique color.

Inherited Methods#

_BaseMapper.copy

Create a copy of this mapper.

_BaseMapper.update

Update this mapper.