pyvista.UnstructuredGridFilters

class UnstructuredGridFilters(*args, **kwargs)

An internal class to manage filters/algorithms for unstructured grid datasets.

Methods

UnstructuredGridFilters.cell_centers([...])

Generate points at the center of the cells in this dataset.

UnstructuredGridFilters.cell_data_to_point_data([...])

Transform cell data into point data.

UnstructuredGridFilters.clip([normal, ...])

Clip a dataset by a plane by specifying the origin and normal.

UnstructuredGridFilters.clip_box([bounds, ...])

Clip a dataset by a bounding box defined by the bounds.

UnstructuredGridFilters.clip_scalar([...])

Clip a dataset by a scalar.

UnstructuredGridFilters.clip_surface(surface)

Clip any mesh type using a pyvista.PolyData surface mesh.

UnstructuredGridFilters.compute_cell_quality([...])

Compute a function of (geometric) quality for each cell of a mesh.

UnstructuredGridFilters.compute_cell_sizes([...])

Compute sizes for 1D (length), 2D (area) and 3D (volume) cells.

UnstructuredGridFilters.compute_derivative([...])

Compute derivative-based quantities of point/cell scalar field.

UnstructuredGridFilters.compute_implicit_distance(surface)

Compute the implicit distance from the points to a surface.

UnstructuredGridFilters.connectivity([...])

Find and label connected bodies/volumes.

UnstructuredGridFilters.contour([...])

Contour an input self by an array.

UnstructuredGridFilters.ctp([...])

Transform cell data into point data.

UnstructuredGridFilters.decimate_boundary([...])

Return a decimated version of a triangulation of the boundary.

UnstructuredGridFilters.delaunay_2d([tol, ...])

Apply a delaunay 2D filter along the best fitting plane.

UnstructuredGridFilters.delaunay_3d([alpha, ...])

Construct a 3D Delaunay triangulation of the mesh.

UnstructuredGridFilters.elevation([...])

Generate scalar values on a dataset.

UnstructuredGridFilters.extract_all_edges([...])

Extract all the internal/external edges of the dataset as PolyData.

UnstructuredGridFilters.extract_cells(ind[, ...])

Return a subset of the grid.

UnstructuredGridFilters.extract_feature_edges([...])

Extract edges from the surface of the mesh.

UnstructuredGridFilters.extract_geometry([...])

Extract the outer surface of a volume or structured grid dataset.

UnstructuredGridFilters.extract_largest([...])

Extract largest connected set in mesh.

UnstructuredGridFilters.extract_points(ind)

Return a subset of the grid (with cells) that contains any of the given point indices.

UnstructuredGridFilters.extract_surface([...])

Extract surface mesh of the grid.

UnstructuredGridFilters.glyph([orient, ...])

Copy a geometric representation (called a glyph) to the input dataset.

UnstructuredGridFilters.interpolate(target)

Interpolate values onto this mesh from a given dataset.

UnstructuredGridFilters.merge([grid, ...])

Join one or many other grids to this grid.

UnstructuredGridFilters.outline([...])

Produce an outline of the full extent for the input dataset.

UnstructuredGridFilters.outline_corners([...])

Produce an outline of the corners for the input dataset.

UnstructuredGridFilters.plot_over_circular_arc(...)

Sample a dataset along a circular arc and plot it.

UnstructuredGridFilters.plot_over_circular_arc_normal(center)

Sample a dataset along a resolution circular arc defined by a normal and polar vector and plot it.

UnstructuredGridFilters.plot_over_line(...)

Sample a dataset along a high resolution line and plot.

UnstructuredGridFilters.point_data_to_cell_data([...])

Transform point data into cell data.

UnstructuredGridFilters.probe(points[, ...])

Sample data values at specified point locations.

UnstructuredGridFilters.ptc([...])

Transform point data into cell data.

UnstructuredGridFilters.reconstruct_surface([...])

Reconstruct a surface from the points in this dataset.

UnstructuredGridFilters.reflect(normal[, ...])

Reflect a dataset across a plane.

UnstructuredGridFilters.sample(target[, ...])

Resample array data from a passed mesh onto this mesh.

UnstructuredGridFilters.sample_over_circular_arc(...)

Sample a dataset over a circular arc.

UnstructuredGridFilters.sample_over_circular_arc_normal(center)

Sample a dataset over a circular arc defined by a normal and polar vector and plot it.

UnstructuredGridFilters.sample_over_line(...)

Sample a dataset onto a line.

UnstructuredGridFilters.select_enclosed_points(surface)

Mark points as to whether they are inside a closed surface.

UnstructuredGridFilters.shrink([...])

Shrink the individual faces of a mesh.

UnstructuredGridFilters.slice([normal, ...])

Slice a dataset by a plane at the specified origin and normal vector orientation.

UnstructuredGridFilters.slice_along_axis([...])

Create many slices of the input dataset along a specified axis.

UnstructuredGridFilters.slice_along_line(line)

Slice a dataset using a polyline/spline as the path.

UnstructuredGridFilters.slice_orthogonal([...])

Create three orthogonal slices through the dataset on the three cartesian planes.

UnstructuredGridFilters.split_bodies([...])

Find, label, and split connected bodies/volumes.

UnstructuredGridFilters.streamlines([...])

Integrate a vector field to generate streamlines.

UnstructuredGridFilters.streamlines_evenly_spaced_2D([...])

Generate evenly spaced streamlines on a 2D dataset.

UnstructuredGridFilters.streamlines_from_source(source)

Generate streamlines of vectors from the points of a source mesh.

UnstructuredGridFilters.surface_indices([...])

Return the surface indices of a grid.

UnstructuredGridFilters.texture_map_to_plane([...])

Texture map this dataset to a user defined plane.

UnstructuredGridFilters.texture_map_to_sphere([...])

Texture map this dataset to a user defined sphere.

UnstructuredGridFilters.threshold([value, ...])

Apply a vtkThreshold filter to the input dataset.

UnstructuredGridFilters.threshold_percent([...])

Threshold the dataset by a percentage of its range on the active scalars array.

UnstructuredGridFilters.transform(trans[, ...])

Transform this mesh with a 4x4 transform.

UnstructuredGridFilters.triangulate([...])

Return an all triangle mesh.

UnstructuredGridFilters.warp_by_scalar([...])

Warp the dataset's points by a point data scalars array's values.

UnstructuredGridFilters.warp_by_vector([...])

Warp the dataset's points by a point data vectors array's values.