code: def _multidisplay(
      self, obj: typing.Any, color_map: typing.List
  ) -> None:
      self.init(False)
      mapper = vtk.vtkCompositePolyDataMapper2()
      mapper.SetInputDataObject(obj)
      cdsa = vtk.vtkCompositeDataDisplayAttributes()
      mapper.SetCompositeDataDisplayAttributes(cdsa)
      # 上色
      color_map.insert(0, [0.0, 0.0, 0.0])
      for i in range(1, self.num_block + 1):
          r, g, b = color_map[i - 1]
          mapper.SetBlockColor(i, r / 255.0, g / 255.0, b / 255.0)
      actor = vtk.vtkActor()
      actor.SetMapper(mapper)
      actor.RotateX(180)  # 翻转一下才对
      # Enable user interface interactor.
      self.renderer.AddActor(actor)
      self.interactor.Start()
  
file_path: PaddleSeg/EISeg/eiseg/widget/vtk.py
imports: import typing
  import numpy
  from qtpy.QtWidgets import QWidget, QVBoxLayout
label_desc: Use image node_id 7 for calling the VTKWidget obj's underlying member method code with example usage: obj._multidisplay(obj, color_map) without return types