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.Plotterand 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 |
|
read-write, calls GetClippingPlanes/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 GetNumberOfInputArraySpecifications |
|
read-only, calls GetNumberOfInputPorts |
|
read-only, calls GetNumberOfOutputPorts |
|
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 |
|
|
write-only, calls SetRelativeCoincidentTopologyLineOffsetParameters |
|
write-only, calls SetRelativeCoincidentTopologyPointOffsetParameter |
|
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 |
|
|
write-only, calls SetResolveCoincidentTopologyLineOffsetParameters |
|
write-only, calls SetResolveCoincidentTopologyPointOffsetParameter |
|
read-write, calls GetResolveCoincidentTopologyPolygonOffsetFaces/SetResolveCoincidentTopologyPolygonOffsetFaces |
|
write-only, calls SetResolveCoincidentTopologyPolygonOffsetParameters |
write-only, calls SetResolveCoincidentTopologyToOff |
|
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 |