def METHOD_NAME(self):
    if not self.Surface:
        self.PrintError('Error: No input surface.')
    if not self.Centerlines:
        self.PrintError('Error: No input centerlines.')
    if self.Interactive and not self.vmtkRenderer:
        self.vmtkRenderer = vmtkrenderer.vmtkRenderer()
        self.vmtkRenderer.Initialize()
        self.OwnRenderer = 1
    if self.Interactive:
        self.vmtkRenderer.RegisterScript(self)
        viewer = vmtkcenterlineviewer.vmtkCenterlineViewer()
        viewer.Centerlines = self.Centerlines
        viewer.CellDataArrayName = self.GroupIdsArrayName
        viewer.vmtkRenderer = self.vmtkRenderer
        viewer.InputText = self.InputText
        viewer.OutputText = self.OutputText
        viewer.PrintError = self.PrintError
        viewer.PringLog = self.PrintLog
        viewer.Display = 0
        viewer.METHOD_NAME()
        groupIdsString = self.InputText("Please input groupIds to clip:\n",self.GroupIdsValidator)
        self.GroupIds = [int(groupId) for groupId in groupIdsString.split()]
    clipper = vtkvmtk.vtkvmtkPolyDataCenterlineGroupsClipper()
    clipper.SetInputData(self.Surface)
    clipper.SetCenterlines(self.Centerlines)
    clipper.SetCenterlineGroupIdsArrayName(self.GroupIdsArrayName)
    clipper.SetGroupIdsArrayName(self.GroupIdsArrayName)
    clipper.SetCenterlineRadiusArrayName(self.RadiusArrayName)
    clipper.SetBlankingArrayName(self.BlankingArrayName)
    clipper.SetCutoffRadiusFactor(self.CutoffRadiusFactor)
    clipper.SetClipValue(self.ClipValue)
    clipper.SetUseRadiusInformation(self.UseRadiusInformation)
    if self.GroupIds:
        groupIds = vtk.vtkIdList()
        for groupId in self.GroupIds:
            groupIds.InsertNextId(groupId)
        clipper.SetCenterlineGroupIds(groupIds)
        clipper.ClipAllCenterlineGroupIdsOff()
    else:
        clipper.ClipAllCenterlineGroupIdsOn()
    if not self.InsideOut:
        clipper.GenerateClippedOutputOff()
    else:
        clipper.GenerateClippedOutputOn()
    clipper.Update()
    if not self.InsideOut:
        self.Surface = clipper.GetOutput()
    else:
        self.Surface = clipper.GetClippedOutput()
    if self.OwnRenderer:
        self.vmtkRenderer.Deallocate()