Utilities

Utilities#

PyVista includes several functions to simplify creating basic geometric objects, interfacing with VTK objects, and converting to and from other libraries.

Geometry

Geometric objects and geometric sources.

Geometry
Parametric Objects

Surfaces parametrised by a set of independent variables.

Parametric Objects
Mesh Operations

Build meshes from points or other datasets, fit points, and sample implicit functions.

Mesh Operations
Image

Image sources and image comparison.

Image
Transformations

The Transform class, rotation and translation helpers, and spherical coordinates.

Transformations
Arrays

Access dataset arrays and convert between NumPy and VTK arrays.

Arrays
Conversions

Wrap VTK objects and convert to and from meshio and trimesh.

Conversions
Colors

The Color class, colormap lookup, and the named colors and colormaps.

Colors
Errors and Warnings

Exception and warning classes, and handling of VTK errors.

Errors and Warnings
Environment

Version information, environment reports, and runtime controls.

Environment