DataObjectFilters

DataObjectFilters#

class DataObjectFilters(*args, **kwargs)[source]#

A set of common filters that can be applied to any DataSet or MultiBlock.

Methods#

DataObjectFilters.cell_centers(-> MultiBlock)

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

DataObjectFilters.cell_data_to_point_data(*)

Transform cell data into point data.

DataObjectFilters.cell_quality([...])

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

DataObjectFilters.cell_validator(*[, ...])

Check the validity of each cell in this dataset.

DataObjectFilters.clip(...)

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

DataObjectFilters.clip_box(...)

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

DataObjectFilters.clip_slab(...)

Clip a dataset by a slab of finite thickness around a plane.

DataObjectFilters.compute_cell_sizes(*[, ...])

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

DataObjectFilters.convex_hull(*[, ...])

Compute the convex hull from this mesh's points.

DataObjectFilters.ctp(*[, pass_cell_data, ...])

Transform cell data into point data.

DataObjectFilters.elevation(*[, low_point, ...])

Generate scalar values on a dataset.

DataObjectFilters.extract_all_edges(...)

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

DataObjectFilters.extract_surface(*, ...)

Extract surface geometry of the mesh 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.

DataObjectFilters.point_data_to_cell_data(*)

Transform point data into cell data.

DataObjectFilters.ptc(*[, pass_point_data, ...])

Transform point data into cell data.

DataObjectFilters.reflect(normal, *[, ...])

Reflect a dataset across a plane.

DataObjectFilters.resample_to_image(*[, ...])

Resample this mesh's arrays onto a uniform grid.

DataObjectFilters.resize(*[, bounds, ...])

Resize the dataset's bounds.

DataObjectFilters.rotate(rotation, *[, ...])

Rotate mesh about a point with a rotation matrix or Rotation object.

DataObjectFilters.rotate_vector(vector, angle, *)

Rotate mesh about a vector.

DataObjectFilters.rotate_x(angle, *[, ...])

Rotate mesh about the x-axis.

DataObjectFilters.rotate_y(angle, *[, ...])

Rotate mesh about the y-axis.

DataObjectFilters.rotate_z(angle, *[, ...])

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(-> MultiBlock)

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(-> MultiBlock)

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

DataObjectFilters.slice_implicit(-> MultiBlock)

Slice a dataset by a VTK implicit function.

DataObjectFilters.slice_orthogonal(*[, x, ...])

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(-> MultiBlock)

Return an all triangle mesh.

DataObjectFilters.validate_mesh([...])

Validate this mesh's array data, points, and cells.