from vtkmodules.vtkRenderingCore import vtkActor


class GhostActor(vtkActor):
    def make_ghost(self):
        self.GetProperty().LightingOff()
        offset = -66000
        mapper = self.GetMapper()
        mapper.SetResolveCoincidentTopologyToPolygonOffset()
        mapper.SetRelativeCoincidentTopologyLineOffsetParameters(0, offset)
        mapper.SetRelativeCoincidentTopologyPolygonOffsetParameters(0, offset)
        mapper.SetRelativeCoincidentTopologyPointOffsetParameter(offset)
