pyvista.PolyDataFilters

Contents

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.

PolyDataFilters.clip_closed_surface([...])

Clip a closed polydata surface with a plane.

PolyDataFilters.collision(other_mesh[, ...])

Perform collision determination between two polyhedral surfaces.

PolyDataFilters.compute_arc_length([...])

Compute the arc length over the length of the probed line.

PolyDataFilters.compute_normals([...])

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_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 that has 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 and 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.PolyData or vtk.vtkPolyData object.

PolyDataFilters.flip_normals()

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.

PolyDataFilters.plot_boundaries([...])

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.

PolyDataFilters.project_points_to_plane([...])

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.

PolyDataFilters.reconstruct_surface([...])

Reconstruct a surface from the points in this dataset.

PolyDataFilters.remove_points(remove[, ...])

Rebuild a mesh by removing points.

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.

PolyDataFilters.subdivide_adaptive([...])

Increase the number of triangles in a triangular mesh based on edge and/or area metrics.

PolyDataFilters.triangulate([inplace, ...])

Return an all triangle mesh.

PolyDataFilters.triangulate_contours([...])

Triangulate and fill all 2D contours to create polygons.

PolyDataFilters.tube([radius, scalars, ...])

Generate a tube around each input line.

PolyDataFilters.voxelize_binary_mask(*[, ...])

Voxelize PolyData as a binary ImageData mask.