def METHOD_NAME(self):
    if self.Surface == None:
        self.PrintError('Error: No input surface.')
    if self.Centerlines == None:
        self.PrintError('Error: No input centerlines.')
    if self.ReferenceSystems == None:
        self.PrintError('Error: No input reference systems.')
    self.PrintLog('Computing boundary metric')
    boundaryMetricFilter = vtkvmtk.vtkvmtkPolyDataReferenceSystemBoundaryMetricFilter()
    boundaryMetricFilter.SetInputData(self.Surface)
    boundaryMetricFilter.SetBoundaryMetricArrayName(self.BoundaryMetricArrayName)
    boundaryMetricFilter.SetGroupIdsArrayName(self.GroupIdsArrayName)
    boundaryMetricFilter.SetCenterlines(self.Centerlines)
    boundaryMetricFilter.SetCenterlineAbscissasArrayName(self.AbscissasArrayName)
    boundaryMetricFilter.SetCenterlineRadiusArrayName(self.RadiusArrayName)
    boundaryMetricFilter.SetCenterlineGroupIdsArrayName(self.GroupIdsArrayName)
    boundaryMetricFilter.SetCenterlineTractIdsArrayName(self.TractIdsArrayName)
    boundaryMetricFilter.SetCenterlineIdsArrayName(self.CenterlineIdsArrayName)
    boundaryMetricFilter.SetReferenceSystems(self.ReferenceSystems)
    boundaryMetricFilter.SetReferenceSystemGroupIdsArrayName(self.GroupIdsArrayName)
    boundaryMetricFilter.Update()
    self.PrintLog('Computing harmonic mapping')
    harmonicMappingFilter = vtkvmtk.vtkvmtkPolyDataMultipleCylinderHarmonicMappingFilter()
    harmonicMappingFilter.SetInputConnection(boundaryMetricFilter.GetOutputPort())
    harmonicMappingFilter.SetHarmonicMappingArrayName(self.HarmonicMappingArrayName)
    harmonicMappingFilter.SetGroupIdsArrayName(self.GroupIdsArrayName)
    harmonicMappingFilter.Update()
    self.PrintLog('Stretching harmonic mapping')
    stretchFilter = vtkvmtk.vtkvmtkPolyDataStretchMappingFilter()
    stretchFilter.SetInputConnection(harmonicMappingFilter.GetOutputPort())
    stretchFilter.SetStretchedMappingArrayName(self.StretchedMappingArrayName)
    stretchFilter.SetHarmonicMappingArrayName(self.HarmonicMappingArrayName)
    stretchFilter.SetGroupIdsArrayName(self.GroupIdsArrayName)
    stretchFilter.SetMetricArrayName(self.AbscissaMetricArrayName)
    stretchFilter.SetBoundaryMetricArrayName(self.BoundaryMetricArrayName)
    stretchFilter.UseBoundaryMetricOn()
    stretchFilter.Update()
    self.Surface = stretchFilter.GetOutput()