API Reference#
This section provides detailed documentation for the pyvista-wasm public API.
Plotting#
Main plotting interface for pyvista-wasm. |
Camera#
Represents a virtual camera in a 3D scene. |
Lighting#
Light class. |
Data#
Dict-like container for point data arrays. |
Mesh#
Base polygonal mesh class. |
|
Create an arrow mesh. |
|
Create a sphere mesh. |
|
Create a cube mesh. |
|
Create a cylinder mesh. |
|
Create a cone mesh. |
|
Create a plane mesh. |
|
Create a disc (annular ring) geometric primitive. |
|
Create a circle defined by a set of points in the XY plane. |
|
Create a line segment between two points. |
Text#
A text annotation actor for 3D rendering. |
|
Properties for text rendering. |
Texture#
Surface texture wrapping an image URL. |
Filters#
Clip the mesh with a plane. |
|
Generate contour lines at constant scalar values. |
|
Shrink the cells of a mesh towards their centroid. |
|
Generate texture coordinates by projecting points onto the XY plane. |
|
Generate a tube around a line polydata. |
Readers#
Reader for glTF (GL Transmission Format) files ( |
|
Reader for Wavefront OBJ files ( |
|
Reader for PLY (Polygon File Format) files ( |
|
Reader for legacy VTK PolyData files ( |
|
Reader for STL (STereoLithography) files ( |
Examples#
Cubemap texture holding six face image URLs. |
|
Download the Stanford Bunny dataset. |
|
Download the Lucy Angel dataset. |
|
Download the CAD model dataset. |
|
Download the damaged helmet glTF example. |
|
Download the masonry texture dataset. |
|
Download the skybox cube map dataset. |
|
Download the trumpet dataset. |