TrameVisualizer#

class ansys.tools.visualization_interface.backends.pyvista.trame_local.TrameVisualizer#

Defines the trame layout view.

Overview#

set_scene

Set the trame layout view and the mesh to show through the PyVista plotter.

show

Start the trame server and show the mesh.

Import detail#

from ansys.tools.visualization_interface.backends.pyvista.trame_local import TrameVisualizer

Attribute detail#

TrameVisualizer.server#

Method detail#

TrameVisualizer.set_scene(plotter)#

Set the trame layout view and the mesh to show through the PyVista plotter.

Parameters:
plotterPlotter

PyVista plotter with the rendered mesh.

TrameVisualizer.show()#

Start the trame server and show the mesh.