code: def showSegmentation(
          segmentation,
          voxelsize_mm=np.ones([3, 1]),
          degrad=4,
          label=1,
          smoothing=True
          ):
      
      labels = []
  
      segmentation = segmentation[::degrad, ::degrad, ::degrad]
  
      # import pdb; pdb.set_trace()
      mesh_data = seg2fem.gen_mesh_from_voxels_mc(segmentation, voxelsize_mm*degrad)
      if smoothing:
          mesh_data.coors = seg2fem.smooth_mesh(mesh_data)
      else:
          mesh_data = seg2fem.gen_mesh_from_voxels_mc(segmentation, voxelsize_mm * 1.0e-2)
          # mesh_data.coors +=
      vtk_file = "mesh_geom.vtk"
      mesh_data.write(vtk_file)
      QApplication(sys.argv)
      view = viewer.QVTKViewer(vtk_file)
      view.exec_()
  
      return labels
docs: Funkce vrací trojrozměrné porobné jako data['segmentation']
      v data['slab'] je popsáno, co která hodnota znamená