ImageData.points#
- property ImageData.points: NumpyArray[float][source]#
Build a copy of the implicitly defined points as a NumPy array.
- Returns:
numpy.ndarrayArray of points representing the image data.
Notes#
The points for a pyvista.ImageData cannot be set.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> grid = pv.ImageData(dimensions=(2, 2, 2))
>>> grid.points
array([[0., 0., 0.],
[1., 0., 0.],
[0., 1., 0.],
[1., 1., 0.],
[0., 0., 1.],
[1., 0., 1.],
[0., 1., 1.],
[1., 1., 1.]])
Used In#
Docstring Examples
DataSet.plot(1 use)DataSetFilters.contour(1 use)DataSetFilters.sample_over_circular_arc(1 use)DataSetFilters.sample_over_circular_arc_normal(1 use)MultiBlock.plot(1 use)6 more
PartitionedDataSet.plot(1 use)Plotter.add_volume(1 use)PointSet.plot(1 use)VolumeProperty.interpolation_type(1 use)cartesian_to_spherical(1 use)plot(1 use)
Gallery Examples