pyvista.PolyDataFilters#
- class PolyDataFilters(*args, **kwargs)[source]#
 An internal class to manage filters/algorithms for polydata datasets.
Methods
PolyDataFilters.append_polydata(*meshes[, ...])Append one or more PolyData into this one.
PolyDataFilters.boolean_difference(other_mesh)Perform a boolean difference operation between two meshes.
PolyDataFilters.boolean_intersection(other_mesh)Perform a boolean intersection operation on two meshes.
PolyDataFilters.boolean_union(other_mesh[, ...])Perform a boolean union operation on two meshes.
PolyDataFilters.clean([point_merging, ...])Clean the mesh.
Clip a closed polydata surface with a plane.
PolyDataFilters.collision(other_mesh[, ...])Perform collision determination between two polyhedral surfaces.
Compute the arc length over the length of the probed line.
Compute point and/or cell normals for a mesh.
PolyDataFilters.contour_banded(n_contours[, ...])Generate filled contours.
PolyDataFilters.curvature([curv_type, ...])Return the pointwise curvature of a mesh.
PolyDataFilters.decimate(target_reduction[, ...])Reduce the number of triangles in a triangular mesh using vtkQuadricDecimation.
PolyDataFilters.decimate_polyline(reduction, *)Reduce the number of lines in a polyline mesh.
PolyDataFilters.decimate_pro(reduction[, ...])Reduce the number of triangles in a triangular mesh.
PolyDataFilters.delaunay_2d([tol, alpha, ...])Apply a 2D Delaunay filter along the best fitting plane.
PolyDataFilters.edge_mask(angle[, progress_bar])Return a mask of the points of a surface mesh with a surface angle greater than angle.
PolyDataFilters.extrude(vector[, capping, ...])Sweep polygonal data creating a "skirt" from free edges.
PolyDataFilters.extrude_rotate([resolution, ...])Sweep polygonal data creating "skirt" from free edges/lines, and lines from vertices.
PolyDataFilters.extrude_trim(direction, ...)Extrude polygonal data trimmed by a surface.
PolyDataFilters.fill_holes(hole_size[, ...])Fill holes in a
pyvista.PolyDataor vtkPolyData object.PolyDataFilters.flip_faces(*[, inplace, ...])Flip the orientation of the faces.
PolyDataFilters.flip_normal_vectors(*[, ...])Flip the direction of the mesh's point and cell normal vectors.
Flip normals of a triangular mesh by reversing the point ordering.
PolyDataFilters.geodesic(start_vertex, ...)Calculate the geodesic path between two vertices using Dijkstra's algorithm.
PolyDataFilters.geodesic_distance(...[, ...])Calculate the geodesic distance between two vertices using Dijkstra's algorithm.
PolyDataFilters.intersection(mesh[, ...])Compute the intersection between two meshes.
PolyDataFilters.merge(dataset[, ...])Merge this mesh with one or more datasets.
PolyDataFilters.multi_ray_trace(origins, ...)Perform multiple ray trace calculations.
Plot boundaries of a mesh.
PolyDataFilters.plot_curvature([curv_type])Plot the curvature.
PolyDataFilters.plot_normals([show_mesh, ...])Plot the point normals of a mesh.
Project points of this mesh to a plane.
PolyDataFilters.protein_ribbon([progress_bar])Generate protein ribbon.
PolyDataFilters.ray_trace(origin, end_point)Perform a single ray trace calculation.
Reconstruct a surface from the points in this dataset.
PolyDataFilters.remove_points(remove[, ...])Rebuild a mesh by removing points.
PolyDataFilters.remove_unused_points(*[, ...])Remove points which are not used by any cells.
PolyDataFilters.ribbon([width, scalars, ...])Create a ribbon of the lines in this dataset.
PolyDataFilters.ruled_surface(*[, ...])Create a ruled surface from a polyline.
PolyDataFilters.smooth([n_iter, ...])Adjust point coordinates using Laplacian smoothing.
PolyDataFilters.smooth_taubin([n_iter, ...])Smooth a PolyData DataSet with Taubin smoothing.
PolyDataFilters.strip([join, max_length, ...])Strip poly data cells.
PolyDataFilters.subdivide(nsub[, subfilter, ...])Increase the number of triangles in a single, connected triangular mesh.
Increase the number of triangles in a triangular mesh based on edge and/or area metrics.
PolyDataFilters.triangulate(*[, pass_verts, ...])Return an all triangle mesh.
Triangulate and fill all 2D contours to create polygons.
PolyDataFilters.tube([radius, scalars, ...])Generate a tube around each input line.
Attributes