pyvista.DataSetMapper#
- class DataSetMapper(*args, **kwargs)[source]#
Wrap vtkDataSetMapper.
- Parameters:
- dataset
pyvista.DataSet
,optional
Dataset to assign to this mapper.
- theme
pyvista.plotting.themes.Theme
,optional
Plot-specific theme.
- dataset
Examples
Create a mapper outside
pyvista.Plotter
and assign it to an actor.>>> import pyvista as pv >>> mesh = pv.Cube() >>> mapper = pv.DataSetMapper(dataset=mesh) >>> actor = pv.Actor(mapper=mapper) >>> actor.plot()
Methods
Attributes
read-write, Calls GetAbortExecute/SetAbortExecute
read-write, Calls GetAbortOutput/SetAbortOutput
read-write, Calls GetArrayAccessMode/SetArrayAccessMode
read-write, Calls GetArrayComponent/SetArrayComponent
read-write, Calls GetArrayId/SetArrayId
Return or set the array name or number and component to color by.
Return the bounds of this mapper.
Return the size of each axis of the object's bounding box.
Return the center of mapper.
read-only, Calls GetClassName
write-only, Calls SetClippingPlanes
Colormap assigned to this mapper.
read-only, Calls GetColorCoordinates
read-only, Calls GetColorMapColors
Return or set the color mode.
read-only, Calls GetColorTextureMap
read-write, Calls GetContainerAlgorithm/SetContainerAlgorithm
read-only, Calls GetDataSetInput
Return or set the dataset assigned to this mapper.
read-write, Calls GetDebug/SetDebug
write-only, Calls SetDefaultExecutivePrototype
read-only, Calls GetErrorCode
read-write, Calls GetExecutive/SetExecutive
read-write, Calls GetFieldDataTupleId/SetFieldDataTupleId
read-write, Calls GetGlobalWarningDisplay/SetGlobalWarningDisplay
read-write, Calls GetInformation/SetInformation
read-only, Calls GetInput
read-only, Calls GetInputAlgorithm
write-only, Calls SetInputArrayToProcess
read-only, Calls GetInputAsDataSet
write-only, Calls SetInputConnection
write-only, Calls SetInputData
write-only, Calls SetInputDataObject
read-only, Calls GetInputExecutive
read-only, Calls GetInputInformation
Return or set the interpolation of scalars before mapping.
read-write, Calls GetInterpolateScalarsBeforeMapping/SetInterpolateScalarsBeforeMapping
read-only, Calls GetIsInMemkind
read-only, Calls GetLength
Return or set the lookup table.
read-only, Calls GetMTime
write-only, Calls SetMemkindDirectory
write-only, Calls SetNoPriorTemporalAccessInformationKey
read-only, Calls GetNumberOfClippingPlanes
read-only, Calls GetNumberOfInputPorts
read-only, Calls GetObjectDescription
read-write, Calls GetObjectName/SetObjectName
read-only, Calls GetOutputPort
read-only, Calls GetPolyDataMapper
read-only, Calls GetProgress
read-write, Calls GetProgressObserver/SetProgressObserver
read-only, Calls GetProgressScale
read-only, Calls GetProgressShift
write-only, Calls SetProgressShiftScale
read-write, Calls GetProgressText/SetProgressText
read-write, Calls GetReferenceCount/SetReferenceCount
DataSetMapper.relative_coincident_topology_line_offset_parameters
write-only, Calls SetRelativeCoincidentTopologyLineOffsetParameters
DataSetMapper.relative_coincident_topology_point_offset_parameter
write-only, Calls SetRelativeCoincidentTopologyPointOffsetParameter
DataSetMapper.relative_coincident_topology_polygon_offset_parameters
write-only, Calls SetRelativeCoincidentTopologyPolygonOffsetParameters
read-write, Calls GetReleaseDataFlag/SetReleaseDataFlag
read-write, Calls GetRenderTime/SetRenderTime
Set or return the global flag to avoid z-buffer resolution.
read-write, Calls GetResolveCoincidentTopology/SetResolveCoincidentTopology
DataSetMapper.resolve_coincident_topology_line_offset_parameters
write-only, Calls SetResolveCoincidentTopologyLineOffsetParameters
DataSetMapper.resolve_coincident_topology_point_offset_parameter
write-only, Calls SetResolveCoincidentTopologyPointOffsetParameter
DataSetMapper.resolve_coincident_topology_polygon_offset_faces
read-write, Calls GetResolveCoincidentTopologyPolygonOffsetFaces/SetResolveCoincidentTopologyPolygonOffsetFaces
DataSetMapper.resolve_coincident_topology_polygon_offset_parameters
write-only, Calls SetResolveCoincidentTopologyPolygonOffsetParameters
read-write, Calls GetResolveCoincidentTopologyZShift/SetResolveCoincidentTopologyZShift
Return or set the scalar map mode.
read-write, Calls GetScalarMode/SetScalarMode
Return or set the scalar range.
Return or set the scalar visibility.
read-write, Calls GetSelection/SetSelection
read-write, Calls GetStatic/SetStatic
read-only, Calls GetSupportsSelection
read-only, Calls GetTimeToDraw
read-only, Calls GetTotalNumberOfInputConnections
read-only, Calls GetUpdateExtent
read-only, Calls GetUpdateGhostLevel
read-only, Calls GetUpdateNumberOfPieces
read-only, Calls GetUpdatePiece
read-write, Calls GetUseLookupTableScalarRange/SetUseLookupTableScalarRange
read-only, Calls GetUsingMemkind