class_docstr: Internal wrapper to sync trame view with Plotter.
  
  Parameters
  ----------
  plotter : pyvista.Plotter
      Target Plotter instance to view.
  server : trame.Server, optional
      Current Server for Trame Application.
  suppress_rendering : bool, default=False
      Whether to suppress rendering on the Plotter.
class_docstr_tok: ["Internal","wrapper","to","sync","trame","view","with","Plotter",".","Parameters","--","--","--","--","--","plotter",":","pyvista.Plotter","Target","Plotter","instance","to","view",".","server",":","trame.Server",",","optional","Current","Server","for","Trame","Application",".","suppress_rendering",":","bool",",","default=False","Whether","to","suppress","rendering","on","the","Plotter","."]
docstr: Initialize Viewer.
docstr_tok: ["Initialize","Viewer","."]
code: def __init__(self, plotter, server=None, suppress_rendering=False):
      """Initialize Viewer."""
      self._html_views = set()
  
      if server is None:
          server = get_server()
      self.server = server
      self.plotter = plotter
      self.plotter.suppress_rendering = suppress_rendering
  
      # State variable names
      self.SHOW_UI = f"{plotter._id_name}_show_ui"
      self.GRID = f"{plotter._id_name}_grid_visibility"
      self.OUTLINE = f"{plotter._id_name}_outline_visibility"
      self.EDGES = f"{plotter._id_name}_edge_visibility"
      self.AXIS = f"{plotter._id_name}_axis_visiblity"
      self.SERVER_RENDERING = f"{plotter._id_name}_use_server_rendering"
      self.VALID_UI_MODES = [
          "trame",
          "client",
          "server",
      ]
      server.state[self.SHOW_UI] = True
      server.state[self.GRID] = False
      server.state[self.OUTLINE] = False
      server.state[self.EDGES] = False
      server.state[self.AXIS] = False
  
imports: import io
  from trame.app import get_server
  from trame_client.ui.core import AbstractLayout
  import pyvista
label_desc: Use image node_id 1 to create a new BaseViewer object  with example: obj = BaseViewer(plotter, server, suppress_rendering)