pyvista.ImageData.z#

property ImageData.z: NumpyArray[float][source]#

Return all the Z points.

Examples

>>> import pyvista as pv
>>> grid = pv.ImageData(dimensions=(2, 2, 2))
>>> grid.z
array([0., 0., 0., 0., 1., 1., 1., 1.])