pyvista.DataObjectFilters.ctp

pyvista.DataObjectFilters.ctp#

DataObjectFilters.ctp(
pass_cell_data: bool = False,
progress_bar: bool = False,
**kwargs,
)[source]#

Transform cell data into point data.

Point data are specified per node and cell data specified within cells. Optionally, the input point data can be passed through to the output.

This method is an alias for cell_data_to_point_data().

Parameters:
pass_cell_databool, default: False

If enabled, pass the input cell data through to the output.

progress_barbool, default: False

Display a progress bar to indicate progress.

**kwargsdict, optional

Deprecated keyword argument pass_cell_arrays.

Returns:
DataSet | MultiBlock

Dataset with the cell data transformed into point data. Return type matches input.