DataSetFilters#
- class DataSetFilters(*args, **kwargs)[source]#
A set of common filters that can be applied to any vtkDataSet.
Inherited Attributes#
Return the size of each axis of the object’s bounding box. |
Methods#
|
Align a dataset to another. |
|
Align a dataset to the x-y-z axes. |
|
Return a bounding box for this dataset. |
|
Clip a dataset by a scalar. |
|
Clip any mesh type using a |
|
Add RGB(A) scalars to labeled data. |
Compute metrics on the boundary faces of a mesh. |
|
|
Compute derivative-based quantities of point/cell scalar field. |
Compute the implicit distance from the points to a surface. |
|
|
Find and label connected regions. |
|
Contour an input self by an array. |
Return a decimated version of a triangulation of the boundary. |
|
|
Construct a 3D Delaunay triangulation of the mesh. |
|
Push each individual cell away from the center of the dataset. |
|
Return a subset of the grid. |
|
Extract cells of a specified type. |
Extract edges from the surface of the mesh. |
|
|
Extract the outer surface of a volume or structured grid dataset. |
|
Extract largest connected set in mesh. |
|
Return a subset of the grid (with cells) that contains any of the given point indices. |
|
Return a subset of the mesh based on the values of point or cell data. |
|
Splat points into a volume using a Gaussian distribution. |
|
Copy a geometric representation (called a glyph) to the input dataset. |
|
Integrate point and cell data. |
|
Interpolate values onto this mesh from a given dataset. |
|
Join one or many other grids to this grid. |
|
Merge duplicate points in this mesh. |
Return an oriented bounding box (OBB) for this dataset. |
|
|
Produce an outline of the full extent for the input dataset. |
|
Produce an outline of the corners for the input dataset. |
|
Renumber labeled data such that labels are contiguous. |
|
Break down input dataset into a requested number of partitions. |
|
Sample a dataset along a circular arc and plot it. |
Sample a dataset along a circular arc defined by a normal and polar vector and plot it. |
|
|
Sample a dataset along a high resolution line and plot. |
|
Remove cells whose scalar values are NaN. |
Sample a dataset over a circular arc. |
|
Sample a dataset over a circular arc defined by a normal and polar vector and plot it. |
|
|
Sample a dataset onto a line. |
Sample a dataset onto a multiple lines. |
|
Mark points as to whether they are inside a closed surface. |
|
|
Mark points from this mesh as inside or outside relative to a closed surface. |
Return a copy of the dataset with separated cells with no shared points. |
|
|
Shrink the individual faces of a mesh. |
|
Sort labeled data by number of points or cells. |
|
Find, label, and split connected bodies/volumes. |
|
Split mesh into separate sub-meshes using point or cell data. |
|
Integrate a vector field to generate streamlines. |
Generate evenly spaced streamlines on a 2D dataset. |
|
Generate streamlines of vectors from the points of a source mesh. |
|
|
Return the surface indices of a grid. |
|
Tessellate a mesh. |
Texture map this dataset to a user defined plane. |
|
Texture map this dataset to a user defined sphere. |
|
|
Apply a vtkThreshold filter to the input dataset. |
|
Threshold the dataset by a percentage of its range on the active scalars array. |
|
Voxelize mesh to UnstructuredGrid. |
|
Voxelize mesh as a binary |
|
Voxelize mesh to create a RectilinearGrid voxel volume. |
|
Warp the dataset's points by a point data scalars array's values. |
|
Warp the dataset's points by a point data vectors array's values. |
Filters#
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. |
|
Check the validity of each cell in this dataset. |
|
Clip a dataset by a plane by specifying the origin and normal. |
|
Clip a dataset by a bounding box defined by the bounds. |
|
Clip a dataset by a slab of finite thickness around a plane. |
|
Compute sizes for 0D (vertex count), 1D (length), 2D (area) and 3D (volume) cells. |
|
Compute the convex hull from this mesh’s points. |
|
Transform cell data into point data. |
|
Generate scalar values on a dataset. |
|
Extract all the internal/external edges of the dataset as PolyData. |
|
Extract surface geometry of the mesh as |
|
Flip mesh about the normal. |
|
Flip mesh about the x-axis. |
|
Flip mesh about the y-axis. |
|
Flip mesh about the z-axis. |
|
Transform point data into cell data. |
|
Transform point data into cell data. |
|
Reflect a dataset across a plane. |
|
Resize the dataset’s bounds. |
|
Rotate mesh about a point with a rotation matrix or |
|
Rotate mesh about a vector. |
|
Rotate mesh about the x-axis. |
|
Rotate mesh about the y-axis. |
|
Rotate mesh about the z-axis. |
|
Resample array data from a passed mesh onto this mesh. |
|
Scale the mesh. |
|
Slice a dataset by a plane at the specified origin and normal vector orientation. |
|
Create many slices of the input dataset along a specified axis. |
|
Slice a dataset using a polyline/spline as the path. |
|
Slice a dataset by a VTK implicit function. |
|
Create three orthogonal slices through the dataset on the three Cartesian planes. |
|
Transform this mesh with a 4x4 transform. |
|
Translate the mesh. |
|
Return an all triangle mesh. |
|
Validate this mesh’s array data, points, and cells. |