DeformationRenderer
DeformationRenderer
Configure and write deformation movies from a result set.
Attributes
Methods:
deform_by
Choose the vector response and visual deformation scale.
color_by
color_by(field: str, *, location: str = 'point', reduction: Optional[Union[str, int]] = None, **options: Any) -> 'DeformationRenderer'
Color by a transient response or an existing static mesh array.
style_mesh
Set options forwarded to pyvista.Plotter.add_mesh.
set_view
set_view(camera_position: Any = None, *, parallel_projection: bool = False, zoom: Optional[float] = None, background: Any = None) -> 'DeformationRenderer'
Configure the shared camera and background.
write
write(filename: Union[str, Path], *, stride: int = 1, frame_rate: int = 30, quality: int = 5, progress: bool = True, window_size: tuple[int, int] = (960, 544)) -> Path
Render the configured result sequence to an MP4 file.