Extract Points

This example will demonstrate how to extract the points and PointData of any input data set that has valid PointData into a vtkPolyData object.

This example demos PVGeo.filters.ExtractPoints

# sphinx_gallery_thumbnail_number = 2
from pyvista import examples
from PVGeo.filters import ExtractPoints

Have some input data source with valid PointData

data = examples.load_globe()
data.plot()
../../_images/sphx_glr_extract-points_001.png

Apply the filter:

polyData = ExtractPoints().apply(data)
polyData.plot()
../../_images/sphx_glr_extract-points_002.png

Total running time of the script: ( 0 minutes 0.784 seconds)

Gallery generated by Sphinx-Gallery