pyvista.DataObjectFilters#
- class DataObjectFilters(*args, **kwargs)[source]#
A set of common filters that can be applied to any DataSet or MultiBlock.
Methods
DataObjectFilters.cell_centers([vertex, ...])Generate points at the center of the cells in this dataset.
Transform cell data into point data.
Compute a function of (geometric) quality for each cell of a mesh.
DataObjectFilters.clip([normal, origin, ...])Clip a dataset by a plane by specifying the origin and normal.
DataObjectFilters.clip_box([bounds, invert, ...])Clip a dataset by a bounding box defined by the bounds.
Compute sizes for 0D (vertex count), 1D (length), 2D (area) and 3D (volume) cells.
DataObjectFilters.ctp([pass_cell_data, ...])Transform cell data into point data.
DataObjectFilters.elevation([low_point, ...])Generate scalar values on a dataset.
Extract all the internal/external edges of the dataset as PolyData.
DataObjectFilters.flip_normal(normal[, ...])Flip mesh about the normal.
DataObjectFilters.flip_x([point, ...])Flip mesh about the x-axis.
DataObjectFilters.flip_y([point, ...])Flip mesh about the y-axis.
DataObjectFilters.flip_z([point, ...])Flip mesh about the z-axis.
Transform point data into cell data.
DataObjectFilters.ptc([pass_point_data, ...])Transform point data into cell data.
DataObjectFilters.reflect(normal[, point, ...])Reflect a dataset across a plane.
DataObjectFilters.resize(*[, bounds, ...])Resize the dataset's bounds.
DataObjectFilters.rotate(rotation[, point, ...])Rotate mesh about a point with a rotation matrix or
Rotationobject.DataObjectFilters.rotate_vector(vector, angle)Rotate mesh about a vector.
DataObjectFilters.rotate_x(angle[, point, ...])Rotate mesh about the x-axis.
DataObjectFilters.rotate_y(angle[, point, ...])Rotate mesh about the y-axis.
DataObjectFilters.rotate_z(angle[, point, ...])Rotate mesh about the z-axis.
DataObjectFilters.sample(target[, ...])Resample array data from a passed mesh onto this mesh.
DataObjectFilters.scale(xyz[, ...])Scale the mesh.
DataObjectFilters.slice([normal, origin, ...])Slice a dataset by a plane at the specified origin and normal vector orientation.
DataObjectFilters.slice_along_axis([n, ...])Create many slices of the input dataset along a specified axis.
DataObjectFilters.slice_along_line(line[, ...])Slice a dataset using a polyline/spline as the path.
DataObjectFilters.slice_implicit(...[, ...])Slice a dataset by a VTK implicit function.
DataObjectFilters.slice_orthogonal([x, y, ...])Create three orthogonal slices through the dataset on the three cartesian planes.
DataObjectFilters.transform(trans[, ...])Transform this mesh with a 4x4 transform.
DataObjectFilters.translate(xyz[, ...])Translate the mesh.
DataObjectFilters.triangulate([inplace, ...])Return an all triangle mesh.
Attributes