PlotterWidget
#
- class ansys.tools.visualization_interface.backends.pyvista.widgets.widget.PlotterWidget(plotter: pyvista.Plotter)#
Bases:
abc.ABC
Provides an abstract class for plotter widgets.
- Parameters:
- plotter
Plotter
Plotter instance to add the widget to.
- plotter
Notes
These widgets are intended to be used with PyVista plotter objects. More specifically, the way in which this abstraction has been built ensures that these widgets can be easily integrated with the Visualization Interface Tool’s widgets.
Overview#
Import detail#
from ansys.tools.visualization_interface.backends.pyvista.widgets.widget import PlotterWidget
Property detail#
- property PlotterWidget.plotter: pyvista.Plotter#
Plotter object that the widget is assigned to.