code: def set_mapper(self):
      if self.file_type == "mesh":
          self.mapper.SetInputConnection(self.reader.GetOutputPort())
          self.mapper.SetScalarVisibility(3)
      else:
          points = vtk.vtkPoints()
          vertices = vtk.vtkCellArray()
          polydata = vtk.vtkPolyData()
          for index, vertex in enumerate(self.vertex):
              points.InsertPoint(index, vertex[0], vertex[1], vertex[2])
              vertices.InsertNextCell(1)
              vertices.InsertCellPoint(index)
          polydata.SetPoints(points)
          polydata.SetVerts(vertices)
          self.mapper.SetInputData(polydata)
  
imports: import vtk
  import json
  import numpy
  import argparse
  import sys
  import subprocess
  from plyfile import PlyData
label_desc: Use image node_id 5 for calling the Render obj's underlying member method code with example usage: obj.set_mapper() without return types